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

How to use this? #3

Open
Ianmcmill opened this issue Jul 4, 2018 · 1 comment
Open

How to use this? #3

Ianmcmill opened this issue Jul 4, 2018 · 1 comment

Comments

@Ianmcmill
Copy link

Hey I am very interested in GANs and how they can create images and videos.
However I am totally not a coder. I know how to install packages with apt-get and pip, get most dependencies installed but that's about it.
It would be really cool if you could include some more instruction on how to use your code. Especially creating the short videos from still images.
I have a virtualenv with py 2.7 and tensorflow 1.2.1 but this it does not work.
When running improved_video_gan_future.py I get this

~/improved-video-gan/model$ python improved_video_gan_future.py 
Traceback (most recent call last):
  File "improved_video_gan_future.py", line 6, in <module>
    from utils.layers import conv2d, conv3d_transpose, dis_block, linear
ImportError: No module named layers

This is my pip list

~/improved-video-gan/model$ pip list
Package           Version  
----------------- ---------
absl-py           0.2.2    
astor             0.6.2    
backports.weakref 1.0rc1   
Bashutils         0.0.4    
bleach            1.5.0    
enum34            1.1.6    
funcsigs          1.0.2    
futures           3.2.0    
gast              0.2.0    
grpcio            1.13.0   
html5lib          0.9999999
layers            0.1.5    
Markdown          2.6.11   
mock              2.0.0    
numpy             1.14.5   
pbr               4.0.4    
Pillow            5.2.0    
pip               10.0.1   
pkg-resources     0.0.0    
protobuf          3.6.0    
PyYAML            3.12     
setuptools        39.2.0   
six               1.11.0   
tensorflow        1.2.1    
termcolor         1.1.0    
utils             0.9.0    
Werkzeug          0.14.1   
wheel             0.31.1   
@bernhard2202
Copy link
Owner

Hi, the code you cannot find is in this repository - not in any pip package. The module 'layer' is in the file utils/layer.py. Are you sure you checked out the complete repository incl. all init.py files? Are you sure you call the main file from the root folder of the repository? Did you rename any folders?

See also https://stackoverflow.com/questions/8953844/import-module-from-subfolder

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

2 participants