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

Kindly specify dependencies #1

Open
MFarooqAit opened this issue Jul 24, 2020 · 0 comments
Open

Kindly specify dependencies #1

MFarooqAit opened this issue Jul 24, 2020 · 0 comments

Comments

@MFarooqAit
Copy link

Dear author,
During running the testing code with "python run --model upsample4x.pth --target_image lr.jpg"
i am facing the following error. Kindly help to fix this issue and also specify the dependencies.

File "run.py", line 192, in
upsampled = model(image)
File "/home2/st118370/anaconda3/envs/pytorch-py31/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home2/st118370/models/SuperResolution-master/model.py", line 146, in forward
h = F.relu(self.b2(self.c1(x)))
File "/home2/st118370/anaconda3/envs/pytorch-py31/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home2/st118370/anaconda3/envs/pytorch-py31/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 331, in forward
if self.padding_mode == 'circular':
File "/home2/st118370/anaconda3/envs/pytorch-py31/lib/python3.7/site-packages/torch/nn/modules/module.py", line 539, in getattr
type(self).name, name))
AttributeError: 'Conv2d' object has no attribute 'padding_mode'

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

1 participant