aanno (8) [Avatar] Offline
On the branch of chapter 7, when I use python2 for end-to-end.py, I get the following error:

KGS-2001-19-2298-.tar.gz 2298
total num games: 179689
Drawn 100 samples:
Traceback (most recent call last):
  File "end_to_end.py", line 20, in <module>
    X, y = processor.load_go_data(num_samples=100)
  File "/home/tpasch/.local/lib/python2.7/site-packages/dlgo-0.2-py2.7.egg/dlgo/data/parallel_processor.py", line 46, in load_go_data
    self.map_to_workers(data_type, data)  # <1>
  File "/home/tpasch/.local/lib/python2.7/site-packages/dlgo-0.2-py2.7.egg/dlgo/data/parallel_processor.py", line 189, in map_to_workers
    _ = p.get()
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 572, in get
    raise self._value
TypeError: unbound method __new__() must be called with Sgf_game instance as first argument (got classobj instance instead)
KevinF (17) [Avatar] Offline
Looks like it is importing a different version of the dlgo library from the one in that branch. I updated the code in the branch to make it point to the local dlgo, please pull the latest and try again!