tensorflow.python.framework.errors_impl.NotFoundError: /tmp/dataset/Pong/run_1-00000-of-00001; No such file or directory [Op:IteratorGetNext]

这个问题是在tensorflow中经常遇到的问题,解决的方法是:直接使用绝对路径,而不是相对路径:

python atari_example.py --path=/home/longfei-fwxz/code_and_test/ppo_atari/tmp/dataset --game=Pong

 

注意:home前的路径符号

 

posted @ 2021-12-31 11:01  呦呦南山  阅读(782)  评论(0编辑  收藏  举报