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

How to replace the DMC operating device? #289

Open
Walhalla-Summary opened this issue May 23, 2023 · 5 comments
Open

How to replace the DMC operating device? #289

Walhalla-Summary opened this issue May 23, 2023 · 5 comments

Comments

@Walhalla-Summary
Copy link

I have replaced the DMC running device with CUDA, and the network output is all 0. The output of this action is more like a random selection action. May I ask how to avoid the DMC network output result being 0 when I use CUDA training

@Walhalla-Summary
Copy link
Author

tensor([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.], device='cuda:0', grad_fn=)

@Walhalla-Summary
Copy link
Author

@aetheryang

@daochenzha
Copy link
Member

@Walhalla-Summary That is weird. How did you change it to CUDA?

@Walhalla-Summary
Copy link
Author

That's not the point. When I use cuda training, all the predicted outputs of the neural network are 0 instead of floating point numbers, which makes me feel strange. Is there any way to solve this problem @daochenzha

@daochenzha
Copy link
Member

@Walhalla-Summary How did you change it to CUDA training? More contexts are needed to reproduce the error

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