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,I have a problem like this, how should I solve it?
Traceback (most recent call last): File "/data/FastFlowNet-main/demo.py", line 45, in output = model(input_t).data File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl return forward_call(*args, **kwargs) File "/data/FastFlowNet-main/models/FastFlowNet.py", line 134, in forward cv6 = torch.index_select(self.corr(f16, f26), dim=1, index=self.index.to(f16).long()) File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl return forward_call(*args, **kwargs) TypeError: forward() missing 1 required positional argument: 'input2'
The text was updated successfully, but these errors were encountered:
Try to add @staticmethod like this: https://github.com/NVIDIA/flownet2-pytorch/blob/master/networks/correlation_package/correlation.py
@staticmethod
Sorry, something went wrong.
No branches or pull requests
Hi,I have a problem like this, how should I solve it?
Traceback (most recent call last):
File "/data/FastFlowNet-main/demo.py", line 45, in
output = model(input_t).data
File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/data/FastFlowNet-main/models/FastFlowNet.py", line 134, in forward
cv6 = torch.index_select(self.corr(f16, f26), dim=1, index=self.index.to(f16).long())
File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/root/anaconda3/envs/FastFlowNet/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
TypeError: forward() missing 1 required positional argument: 'input2'
The text was updated successfully, but these errors were encountered: