We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hi, My python config is py = 3.6 , Tensorflow = 1.12 I tried running th code as it is on my machine and got a runtime error,
File "main.py", line 16, in main scan = SCAN(sess, cfg) TypeError: init() takes 2 positional arguments but 3 were given
I've also tried py=3.4 and tensorflow=1.10 it gives the same error. Can you please help me out?
The text was updated successfully, but these errors were encountered:
For what it's worth:
In SCAN.py, replace
class SCAN(object): def __init__(self, cfg): self.cfg = cfg self.img_encoder = VAE.Encoder() self.img_decoder = VAE.Decoder() self.sym_encoder = MLP.Encoder() self.sym_decoder = MLP.Decoder()
by
class SCAN(object): def __init__(self, sess, cfg): self.sess = sess self.cfg = cfg self.img_encoder = VAE.Encoder(cfg) self.img_decoder = VAE.Decoder(cfg) self.sym_encoder = MLP.Encoder(cfg) self.sym_decoder = MLP.Decoder(cfg)
Sorry, something went wrong.
No branches or pull requests
hi,
My python config is py = 3.6 , Tensorflow = 1.12
I tried running th code as it is on my machine and got a runtime error,
I've also tried py=3.4 and tensorflow=1.10 it gives the same error.
Can you please help me out?
The text was updated successfully, but these errors were encountered: