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

The pytorch implementation cannot use gpu to train #11

Closed
Jackory opened this issue Mar 9, 2021 · 1 comment
Closed

The pytorch implementation cannot use gpu to train #11

Jackory opened this issue Mar 9, 2021 · 1 comment

Comments

@Jackory
Copy link

Jackory commented Mar 9, 2021

I want to train it on GPU. But I see the code can only train on CPU as default. So I change the parameter: use_gpu=True as follows.
image
But then, I got this error:
image
So how can I fix this bug? Thank you very much

@cts198859
Copy link
Owner

'gpu' version is not supported as SUMO may cause problems.

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