Supercharge your creativity with state of the art image synthesis.
You'll need to install the pretrained generator model for the COCO dataset into
checkpoints/coco_pretrained/. Instructions for this can be found on the
Make sure you need to install all the Python requirements using
pip3 install -r requirements.txt. Once you do this, you should be able to run the server using
python3 server.py. It will run it on
0.0.0.0on port 80. Unfortunately these are hardcoded into the server and right now you cannot pass CLI arguments to the server to specify the port and host, as the PyTorch stuff also reads from the command line (will fix this soon).
- [ ] Change how we run the model, make it easier to use (don't use their options object)
- [ ] Make a seperate frontend server and a backend server (for scaling)
- [ ] Try to containerize at least the bacckend components
Subscribe to Python Awesome
Get the latest posts delivered right to your inbox