GitXplorerGitXplorer
y

im2txt-inference

public
4 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
9f2c09cec080631040805228cf5ab2d1a3573965

Merge pull request #7 from yhwang/add-note-4-im2txt-src

yyhwang committed 7 years ago
Unverified
f454b0ad451b7fad43875c228f7d1f097d616266

The source code of im2txt

yyhwang committed 7 years ago
Verified
ff01c933793ecefeca64449298865afe58b3fd6b

Merge pull request #6 from yhwang/refine-image-func

yyhwang committed 7 years ago
Unverified
5e5a6bacbf44c2bed0dd94edfd3e71b265d7e7cb

Refine the image() function

yyhwang committed 7 years ago
Verified
e66fb2c243de367795c8d8f17247c263f5438f23

Merge pull request #5 from yhwang/fixtypo2

ttedhtchang committed 7 years ago
Unverified
dcd5b0168f1035cb5990794d7a8ca8887410b29e

Fix a typo in readme

cchinhuang007 committed 7 years ago

README

The README file for this repository.

Python Flask for Show and Tell Inference Mode

This application runs the show and tell pretained model and serves the inference requests.

Run the app locally

  1. Install Python
  2. cd into this project's root directory
  3. Run pip install -r requirements.txt to install the app's dependencies
  4. Run python concat_chkp.py to concatenate the checkpoint chunks
  5. Run python app.py
  6. Access the running app in a browser at http://localhost:5000
  7. The default ID/Passwd is admin/time4fun

Run the app in IBM Cloud

  1. Log into IBM Cloud
  2. Create a Python Flask app with a unique app name and a unique host name
  3. Go to your workstation, Install Python
  4. cd into this project's root directory
  5. Run pip install -r requirements.txt to install the app's dependencies
  6. Run python concat_chkp.py to concatenate the checkpoint chunks
  7. Update manifest.yml with your app name and host name
  8. Upload the app to IBM Cloud, as described in https://console.bluemix.net/docs/starters/upload_app.html
  9. Access the running app in a browser at https://yourhostname.mybluemix.net/
  10. The default ID/Passwd is admin/time4fun

The source code of 'Show and Tell' model

The original source code of 'Show and Tell' model is from here. The only modification is to change the folder into a Python module.