Closed williamzrj closed 4 years ago
Hi. There's no --content_dir
argument in the repo. Did you mean to ask for the path of the content image?
yes
First, please change line 9 from
STYLE_TRANSFORM_PATH = "transforms/udnie_aggressive.pth"
to
STYLE_TRANSFORM_PATH = "transforms/udnie.pth"
or to any style that you want and is available in the transforms folder
Then, uncomment line 135 and run the script by python stylize.py
The script will ask for the content image path while it is running. As an example, you may type images/tokyo2.jpg
I don't know where to put the address (--content_dir )