crowsonkb / style-transfer-pytorch

Neural style transfer in PyTorch.
MIT License
475 stars 113 forks source link

style_transfer.py runs with no output #2

Closed Catalyzzt closed 3 years ago

Catalyzzt commented 3 years ago

style_transfer.py is running with no output and no error messages. I'm pretty sure it's set up incorrectly. Below are screenshots of my folders: image image main_images, output_images, and style_images are user-created folders. Running the command does nothing: image (this is python style_transfer.py [main] [style]) I have tried using the --web interface with localhost:8080 but nothing appears.

crowsonkb commented 3 years ago

Try running:

pip install -e F:\style-transfer-pytorch-master

and then running style_transfer instead of python style_transfer.py. style_transfer.py does not have a main method and this will not do anything.

Hope this helps :)

Catalyzzt commented 3 years ago

Thanks so much for the response! Worked like a charm!