ikostrikov / pytorch-a3c

PyTorch implementation of Asynchronous Advantage Actor Critic (A3C) from "Asynchronous Methods for Deep Reinforcement Learning".
MIT License
1.23k stars 279 forks source link

when run this code in macbook pro, python exit unnormally #39

Closed yyhTHU closed 7 years ago

yyhTHU commented 7 years ago

python2 is used. why is this code can be run only in python3. if i want to play in python2, what do i need to modify

ikostrikov commented 7 years ago

Try to use 3to2 utility.

pip install 3to2
3to2 -w .