You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this may be helpful if someone can't use CUDA like me.
I have pytorch-cpu and torchvision-cpu. Everything was working until I tried to render the trained networks. Python gave an error: "Error in Python: <class 'AssertionError'>: Torch not compiled with CUDA enabled".
I fixed it by removing ".cuda()" in Window.cpp line 69:
p::eval("MuscleNN(num_total_muscle_related_dofs,num_actions,num_muscles).cuda()",mns);
now I have:
p::eval("MuscleNN(num_total_muscle_related_dofs,num_actions,num_muscles)",mns);
The text was updated successfully, but these errors were encountered:
I think this may be helpful if someone can't use CUDA like me.
I have pytorch-cpu and torchvision-cpu. Everything was working until I tried to render the trained networks. Python gave an error: "Error in Python: <class 'AssertionError'>: Torch not compiled with CUDA enabled".
I fixed it by removing ".cuda()" in Window.cpp line 69:
p::eval("MuscleNN(num_total_muscle_related_dofs,num_actions,num_muscles).cuda()",mns);
now I have:
p::eval("MuscleNN(num_total_muscle_related_dofs,num_actions,num_muscles)",mns);
The text was updated successfully, but these errors were encountered: