Closed svenhsia closed 5 years ago
Switching to Python 2.7 solved the problem.
I encountered this issue too.
For people who would like to use Python3. Make c_char_p
point to bytes to avoid this issue.
For example, convert
p = ctypes.cast(path_to_model, ctypes.c_char_p)
to
p = ctypes.cast(path_to_model.encode('utf-8'), ctypes.c_char_p)
Thank for this great work!
I tried to reproduce the results but encountered a problem when training with n-step Q learning.
I am running the code on Ubuntu 18.04 with Python 3.6.7 (anaconda). (I modified the Python2 code to run under Python 3). The compilation of GraphNN was successful and the examples are run correctly. The dynamic libraries are also built successfully with only some slight warnings. When I ran
I got
Would you please help me to solve this problem? Thanks in advance.