dylandjian/SuperGo

Can't self-play

Closed this issue · 1 comments

Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/queues.py", line 234, in _feed
obj = _ForkingPickler.dumps(obj)
File "/usr/lib/python3.6/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
TypeError: can't pickle pachi_py.cypachi.PyPachiBoard objects

Environnement virtualenv, python3.6, ubuntu 18.04, pytorch with cuda 9.

Is there a step that I missed ?

For some reason, pickle doesn't seem to be able to pickle the class instance of pachi_py in Python 3.6.
However it works in Python 3.5, so you have to stick with that !
Link to a stackoverflow I made with the error