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

main.py error #84

Open
leexa90 opened this issue Dec 26, 2018 · 1 comment
Open

main.py error #84

leexa90 opened this issue Dec 26, 2018 · 1 comment

Comments

@leexa90
Copy link

leexa90 commented Dec 26, 2018

I ran the command and got the following error

python main.py 64 64

Is there any reason why it throws up an error?

Traceback (most recent call last):
File "main.py", line 73, in
launch_training(**d_params)
File "main.py", line 8, in launch_training
train.train(**kwargs)
File "/media/leexa/97ba6a6b-3f4d-4528-84ca-50200ba4594f/Projects/DeepLearningImplementations/pix2pix/src/model/train.py", line 72, in train
do_plot)
File "/media/leexa/97ba6a6b-3f4d-4528-84ca-50200ba4594f/Projects/DeepLearningImplementations/pix2pix/src/model/models.py", line 310, in load
model = generator_unet_upsampling(img_dim, bn_mode, model_name=model_name)
File "/media/leexa/97ba6a6b-3f4d-4528-84ca-50200ba4594f/Projects/DeepLearningImplementations/pix2pix/src/model/models.py", line 121, in generator_unet_upsampling
list_decoder = [up_conv_block_unet(list_encoder[-1], list_encoder[-2],
IndexError: list index out of range

@hayelomt
Copy link

hayelomt commented Feb 1, 2019

You can run it with tensorflow backend, it'll fix the issue
python main.py 64 64 --backend tensorflow

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