Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running style.py #270

Open
YvesBB opened this issue Apr 6, 2021 · 2 comments
Open

error running style.py #270

YvesBB opened this issue Apr 6, 2021 · 2 comments

Comments

@YvesBB
Copy link

YvesBB commented Apr 6, 2021

I' m getting an error when i want to train with style.py , it runs perfectly if i evaluate a style transfer with evaluate.py

python style.py --style images/emoticon.jpg --checkpoint-dir checkpoint/ --content-weight 1.5e1 --checkpoint-iterations 1000 --batch-size 20

CUDA Version: 11.2
Python 3.9.4
Tensorflow 2.5.0-rc0
GeForce gtx 1060

pb.txt

@keremkurtulus
Copy link

keremkurtulus commented Apr 15, 2021

I fixed it with #10 (comment)

@mmethot
Copy link

mmethot commented Jan 24, 2022

I had to specify a smaller batch-size. I removed the --batch-size command line option entirely from my command to let it take the default, which is 4 and which worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants