gsartoretti / PRIMAL

PRIMAL: Pathfinding via Reinforcement and Imitation Multi-Agent Learning -- Distributed RL/IL code for Multi-Agent Path Finding (MAPF)
MIT License
323 stars 79 forks source link

ModuleNotFoundError: No module named 'tensorflow.contrib' #8

Open ZoeVignes opened 2 years ago

ZoeVignes commented 2 years ago

When I run PRIMAL, I have the following error: ModuleNotFoundError: No module named 'tensorflow.contrib'

The last version of tensorflow does not contain the module tensorflow.contrib. What should I do?

cavalier023 commented 2 years ago

Hello! Do you solve this problem?

Jing-Loog commented 1 year ago

Although the code of tensorflow1 can be run with tensorflow2 version, I also solved the problem of code incompatibility between versions, including the problem you mentioned, but in the end it still cannot run successfully, and there will be other unexpected errors. In the end, I used a version close to the tensorflow and python used by the author to run the code, and it worked. But because my graphics card is a 30 series, I can't use the gpu