Skip to content

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.

3 participants