Skip to content
RunwayML port of places365
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
categories_places365.txt
requirements.txt
resnet18_places365.pth.tar
runway.yml
runway_model.py

README.md

Places365

This is the repo for Places365 port into RunwayML

Testing the Model

pip install -r requirements.txt

python runway_model.py

You should see an output similar to this, indicating your model is running.

Setting up model...
Starting model server at http://0.0.0.0:8000...

You can test your model once its running by POSTing a caption argument to the the /generate command.

curl -X POST -H "Content-Type: application/json" -d '{"image" : "'"$( base64 ./fjords.jpg)"'"}' http://localhost:8000/classify

You should receive a JSON object back, containing a cryptic base64 encoded URI string that represents a red image:

{"label": "bedroom"}
You can’t perform that action at this time.