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

数据 #7

Open
songwenhao123 opened this issue Mar 6, 2023 · 3 comments
Open

数据 #7

songwenhao123 opened this issue Mar 6, 2023 · 3 comments

Comments

@songwenhao123
Copy link

你好,可以提供给我您训练和测试的数据吗,十分感谢

@zhysora
Copy link
Owner

zhysora commented Apr 4, 2023

数据可以参考使用这个repo:https://github.com/zhysora/PSGan-Family

@songwenhao123
Copy link
Author

好的谢谢,感谢您的回复

@songwenhao123
Copy link
Author

我想请问一下,我使用这个数据集可以顺利运行您的这个项目,运行其他项目时会报错
raceback (most recent call last):
File "train.py", line 157, in
imgf = net(ms, pan)
File "/home/wenhao/installs/conda/envs/ucgan/lib/python3.6/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/wenhao/Remot/PAN_Sharp_INN_Transformer/models/GPPNN.py", line 315, in forward
panf,mHRf = self.conv_process(pan,mHR)
File "/home/wenhao/installs/conda/envs/ucgan/lib/python3.6/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/wenhao/Remot/PAN_Sharp_INN_Transformer/models/GPPNN.py", line 283, in forward
return self.convpan(pan),self.convms(ms)
File "/home/wenhao/installs/conda/envs/ucgan/lib/python3.6/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/wenhao/installs/conda/envs/ucgan/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 423, in forward
return self._conv_forward(input, self.weight)
File "/home/wenhao/installs/conda/envs/ucgan/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 420, in _conv_forward
self.padding, self.dilation, self.groups)
RuntimeError: Input type (torch.cuda.ShortTensor) and weight type (torch.cuda.FloatTensor) should be the same
您知道如何解决吗

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