A generate.py bug for loading trained model
YYZ1021 opened this issue · 1 comments
YYZ1021 commented
Hi,
When I generate images by using my model, I found it will output nothing.
I have debugded the code and I found that you didn't pass the option 'network' into the 'main' function.
Line 285 in acad8da
And the 'main' function will search the model checkpoint in the 'outdir' path.
Line 298 in acad8da
Now I put the model checkpoint into the 'outdir' folder, and it works.
However, it may be confused. Please check it, thank you.
Newbeeer commented
Thanks for spotting this. I will add this feature tomorrow.