USTC-Video-Understanding / I3D_Finetune

TensorFlow code for finetuning I3D model on UCF101.
144 stars 43 forks source link

非常感谢作者的代码,请问为什么我在运行test.py的时候总是显示读取数据为0,进而在计算精度的时候因为除数为0而报错,我自己更新了rgb.txt以及flow.txt,其他的txt文本是默认的 #43

Closed lixinyu0163 closed 4 years ago

lixinyu0163 commented 4 years ago

----Here we start!---- Output wirtes to output/test-ucf101-rgb-1 Traceback (most recent call last): File "test.py", line 268, in main(*vars(p.parse_args())) File "test.py", line 244, in main accuracy = true_count / video_size ZeroDivisionError: division by zero Exception in thread Thread-1: Traceback (most recent call last): File "/data/amax/envs/LEE-tf/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/data/amax/envs/LEE-tf/lib/python2.7/threading.py", line 754, in run self.__target(self.args, **self.kwargs) File "/data/amax/LEE/I3D_Finetune-master/lib/feed_queue.py", line 63, in fetch_queue if self.bridge_queue.empty(): File "", line 2, in empty File "/data/amax/envs/LEE-tf/lib/python2.7/multiprocessing/managers.py", line 759, in _callmethod kind, result = conn.recv() EOFError