In case anybody else is trying this repo on a Windows machine, you're likely to get errors along the lines of: AttributeError: Can't pickle local object. I don't have much Python experience, and I tried a variety of the suggested solutions via Google, but in the end the solution was as simple as switching from multiprocessing to multithreading on Windows (due to its different fork model). You can do this simply by setting use_multiprocessing=False on line 95 in train.py.
Yusuke, thank you so much for sharing this wonderful repo. I'm a computer graphics programmer by trade, and I've been meaning to get my feet wet with machine learning for a while now, and your repo was the perfect gentle introduction, with applications directly to my job. Much appreciated!
Hello,
In case anybody else is trying this repo on a Windows machine, you're likely to get errors along the lines of:
AttributeError: Can't pickle local object
. I don't have much Python experience, and I tried a variety of the suggested solutions via Google, but in the end the solution was as simple as switching from multiprocessing to multithreading on Windows (due to its different fork model). You can do this simply by settinguse_multiprocessing=False
on line 95 intrain.py
.Yusuke, thank you so much for sharing this wonderful repo. I'm a computer graphics programmer by trade, and I've been meaning to get my feet wet with machine learning for a while now, and your repo was the perfect gentle introduction, with applications directly to my job. Much appreciated!
Thanks,
Jaap Suter