gps icon indicating copy to clipboard operation
gps copied to clipboard

DataLossError: 2 root error(s) found.

Open wanguangxi opened this issue 4 years ago • 0 comments

I have a problems, when run python .../gps_main.py pr2_tensorflow_example -p 9 to test the policy, follows:

File "/home/eric/PycharmProjects/gps/python/gps/algorithm/policy_opt/policy_opt_tf.py", line 249, in restore_model self.saver.restore(self.sess, fname) ..... ...... DataLossError: 2 root error(s) found. (0) Data loss: Unable to open table file /tmp/tmp6LrbLL: Data loss: file is too short to be an sstable: perhaps your file is in a different file format and you need to use a different restore operator? [[node save/RestoreV2 (defined at home/eric/PycharmProjects/gps/python/gps/algorithm/policy_opt/policy_opt_tf.py:95) ]] [[save/RestoreV2/_19]] (1) Data loss: Unable to open table file /tmp/tmp6LrbLL: Data loss: file is too short to be an sstable: perhaps your file is in a different file format and you need to use a different restore operator? [[node save/RestoreV2 (defined at home/eric/PycharmProjects/gps/python/gps/algorithm/policy_opt/policy_opt_tf.py:95) ]]

The training process is OK. I use tensorflow-gpu=1.14.0, cuda-10.0, cudnn=7.4.

wanguangxi avatar Aug 29 '20 02:08 wanguangxi