FragileTech / FractalAI

Cellular automaton-based calculus for the masses
https://github.com/FragileTech
GNU Affero General Public License v3.0
68 stars 14 forks source link

ParallelEnvironment on Windows Error #98

Open michael20at opened 5 years ago

michael20at commented 5 years ago

Hi, thanks for your great work.

I wanted to try out the FMC Notebook, but it's not working for me, problem is at

env = ParallelEnvironment(name=name,env_class=AtariEnvironment,
                          blocking=False, n_workers=8, n_repeat_action=n_repeat_action)  

Throws no error, but no progress either. After tinkering around I replaced it with

env = AtariEnvironment(name=name, clone_seeds=clone_seeds)

which works now, but obviously slower because of no parallelisation. Any idea how to solve this?

Thanks again for your efforts, trying out a few environments right now! FG, Michael

PS: Also had to downgrade pyglet to version 1.2.4 to render gym environment (would get NotImplementedError: abstract otherwhise), in case anyone had the same problem. :)

sergio-hcsoft commented 5 years ago

Sadly we cannot support Windows development, small differences -with Linux- like this make for huge annoyances when it comes to actually make it work. Try using a VM on top of Windows.

michael20at commented 5 years ago

Thank you for the response, a VM is sadly not an option, because they don't support GPU Throughput as far as I know!

Sandy4321 commented 5 years ago

yes , it would be great to try it on windows since the majority of people do use windows