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

Create visualizer11.py #698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create visualizer11.py #698

wants to merge 1 commit into from

Conversation

AshuKV
Copy link

@AshuKV AshuKV commented Jul 12, 2019

How to remove imresize error from the repository in google colab?

@m-montenegro
Copy link

Having trouble implementing this.
I went into test.py and called visualizer11 instead of visualizer but when running I get:

Traceback (most recent call last):
File "test.py", line 33, in
from util.visualizer11 import save_images
File "/Users/Magol02/pytorch-CycleGAN-and-pix2pix/util/visualizer11.py", line 167
import sys.path.join(self.img_dir, 'epoch%.3d_%s.png' % (epoch, label))
^
SyntaxError: invalid syntax

@@ -0,0 +1,232 @@
import numpy as np

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import numpy as np
import numpy as np

@@ -0,0 +1,232 @@
import numpy as np
import os

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

util/visualizer11.py

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

Successfully merging this pull request may close these issues.

None yet

3 participants