ProGamerGov / neural-style-pt

PyTorch implementation of neural style transfer algorithm
MIT License
838 stars 175 forks source link

Can't use commands. #58

Closed Testin1234 closed 4 years ago

Testin1234 commented 4 years ago

C:\Users\USER\Desktop\AI Workspace\DeepDream\neural-style-pt-master>-style_image C:\Users\USER\Desktop\AI Workspace\DeepDream\neural-style-pt-master.golden_gate.jpg '-style_image' is not recognized as an internal or external command, operable program or batch file. Am I using this wrong, or is it broken?

ProGamerGov commented 4 years ago

It's not broken. The error message says that you are trying to use -style_image as the name of the script. You need to specify the script and optionally the interpreter with: python neural_style.py -style_image or neural_style.py -style_image.

Testin1234 commented 4 years ago

Is there a way that I can change the style without it re-generating an image?

ProGamerGov commented 4 years ago

@Testin1234 You have to run neural-style-pt again with a different style image, if you want to change the style image.