This application runs the show and tell pretained model and serves the inference requests.
- Install Python
- cd into this project's root directory
- Run
pip install -r requirements.txt
to install the app's dependencies - Run
python concat_chkp.py
to concatenate the checkpoint chunks - Run
python app.py
- Access the running app in a browser at http://localhost:5000
- The default ID/Passwd is admin/time4fun
- Log into IBM Cloud
- Create a Python Flask app with a unique app name and a unique host name
- Go to your workstation, Install Python
- cd into this project's root directory
- Run
pip install -r requirements.txt
to install the app's dependencies - Run
python concat_chkp.py
to concatenate the checkpoint chunks - Update
manifest.yml
with your app name and host name - Upload the app to IBM Cloud, as described in https://console.bluemix.net/docs/starters/upload_app.html
- Access the running app in a browser at https://yourhostname.mybluemix.net/
- The default ID/Passwd is admin/time4fun
The original source code of 'Show and Tell' model is from here. The only modification is to change the folder into a Python module.