CLIPstyler icon indicating copy to clipboard operation
CLIPstyler copied to clipboard

NameError: name 'net' is not defined

Open xunings opened this issue 2 years ago • 1 comments

Hi, I got the following error while testing the fast style transfer model,

Traceback (most recent call last):
  File "test_fast.py", line 76, in <module>
    network = net.Net(vgg, decoder)
NameError: name 'net' is not define

Seems that net.Net should be fast_stylenet.Net in https://github.com/cyclomon/CLIPstyler/blob/c8ba7a088b566d40dea3771bc298c08189123eca/test_fast.py#L76

There seems to be another typo that --content_path should be changed to --content_dir in README for train_fast.py

https://github.com/cyclomon/CLIPstyler/blob/main/README.md#fast-style-transfer

xunings avatar Jul 19 '22 11:07 xunings

Thank you! I corrected the typos.

cyclomon avatar Jul 19 '22 14:07 cyclomon