So I am trying to build a DQN model for my PhD. I am using the CPython engine in PyRevit and importing module torch in the my script. But when is run the script I am getting following error: NameError : name ‘_C’ is not defined
Can someone tell me if this error is due to the limitation of PyRevit or and error in my module installation?
I have tried importing Cython module as well but no results.
Do you mind sharing some of the code?
Sorry for the late reply. I fixed the issue by downloading the pytorch 1.8.2 version. I think since pyRevit runs python 3.8 this version of pytorch works perfectly well with it.
Hello @Jean-Marc ,
I am currently testing the code and since it is part of my PhD dissertation I wont be able to share it with you till I have defended my PhD. I would make sure to share some of the code with you once I complete my PhD.
Thank you for your response.