Closed beraybentesen closed 7 years ago
I have the same error
Add init.py in vgg19 folder, try it again.
Can't solve this
Really, are you sure you download the latest file and init.py is in vgg19 folder?
I had this problem yesterday and I cloned the repository again today and tried your example code. It is running now. So I think init.py fixed the problem.
Closed it since init.py seems like solving the problem. Maybe Import a file from a subdirectory? could help solving this.
Yes,fixed the problem by init.py
File "deep_photostyle.py", line 4, in
from photo_style import stylize
File "/home/nvidia/Desktop/Deep-Style-Transfer/deep-photo-styletransfer-tf/photo_style.py", line 6, in
from vgg19.vgg import Vgg19
ImportError: No module named vgg19.vgg