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

Issues with installation #5

Closed
pgg1610 opened this issue Feb 6, 2019 · 2 comments
Closed

Issues with installation #5

pgg1610 opened this issue Feb 6, 2019 · 2 comments

Comments

@pgg1610
Copy link

pgg1610 commented Feb 6, 2019

Hey I am having issues installing cgcnn on my terminal. Following the steps as mentioned in the README I am unable to run the python main.py files.

One problem is regarding pytorch:
File "main.py", line 213
input_var = (Variable(input[0].cuda(async=True)),
^
SyntaxError: invalid syntax

While redoing this in a different python env, I cannot install cgcnn module from anywhere. The error I get
ModuleNotFoundError: No module named 'cgcnn'

How exactly should I go about this? Thanks!

@ardunn
Copy link

ardunn commented Feb 10, 2019

@pgg1610 I added a PR #4 which addresses this but the repo maintainers haven't responded yet!

@RushikeshRathod
Copy link

@pgg1610 I faced the same error while installing cgcnn. replace 'async' in main.py and predict.py with 'non_blocking' to resolve SyntaxError.

@pgg1610 pgg1610 closed this as completed Mar 21, 2020
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

3 participants