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
Traceback (most recent call last):
File "run.py", line 25, in
import cfvpy.tasks
File "/home/myname/rebel-main/cfvpy/tasks.py", line 15, in
import cfvpy.selfplay
File "/home/myname/rebel-main/cfvpy/selfplay.py", line 27, in
import cfvpy.rela
ImportError: /home/myname/rebel-main/cfvpy/rela.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN8pybind116detail11type_casterIN2at6TensorEvE4loadENS_6handleEb
I am not sure what really went wrong. My guess is this has something to do with the make process. I appreciate it if anyone could shed some light on this issue.
Additional info:
When I first attempted make, the compiler was complaining about not being able to find py::module_ in /opt/conda/envs/rebel/lib/python3.7/site-packages/torch/include/torch/csrc/utils/pybind.h (line 176)
Inspired by the subsequent comment by rwgk, I realized that my torch version might be too high (1.13.1 instead of 1.4.0 as in requirements.txt). Downgraded it and the error is gone. Closing this issue now.
As I attempted to start training using the command provided in the readme:
I encountered the following error:
I am not sure what really went wrong. My guess is this has something to do with the make process. I appreciate it if anyone could shed some light on this issue.
Additional info:
When I first attempted make, the compiler was complaining about not being able to find
py::module_
in /opt/conda/envs/rebel/lib/python3.7/site-packages/torch/include/torch/csrc/utils/pybind.h (line 176)And according to pybind 11 documentation,
So I changed
py::module_::import
topy::module::import
. I completed make without any error, but perhaps this is not the right thing to do.The text was updated successfully, but these errors were encountered: