p-christ / Deep-Reinforcement-Learning-Algorithms-with-PyTorch

PyTorch implementations of deep reinforcement learning algorithms and environments
MIT License
5.59k stars 1.19k forks source link

Problems running the A3C algorithm #22

Closed christofer-f closed 5 years ago

christofer-f commented 5 years ago

Hi and thanks for a great repo!

I have some problems running the A3C algorithm in Cart_Pole.py

I get the error: ...pytorch\lib\multiprocessing\reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) TypeError: can't pickle _thread.RLock objects

pytorch\lib\multiprocessing\spawn.py", line 115, in _main self = reduction.pickle.load(from_parent) EOFError: Ran out of input

Do you know what can be the problem?

Br, Christofer

christofer-f commented 5 years ago

This issue can be closed. PyTorch multiprocessing doesn't play nice with the GPU

shuferhoo commented 4 years ago

I have the same problem with you,do you have slove the problem?