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

EMD module giving error #29

Open
Poulami-Sarkar opened this issue Dec 6, 2022 · 1 comment
Open

EMD module giving error #29

Poulami-Sarkar opened this issue Dec 6, 2022 · 1 comment

Comments

@Poulami-Sarkar
Copy link

Poulami-Sarkar commented Dec 6, 2022

When I run the inference script with the following command , python3 test.py --gpu 0 --workdir ./ --model sparenet --weights SpareNet.pth --test_mode defaul
I get this error:

emd.forward( AttributeError: module 'emd' has no attribute 'forward' (torchenv) sarkar@devcube:~/Github/SpareNet$

My environment is as follows:
CUDA Version: 11.6
Python 3.8.10
PyTorch 1.13.0+cu116

@AlphaPav
Copy link
Contributor

Thanks for the question! Did you install the cuda packages? sh setup_env.sh

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