sunnyxiaohu / R-C3D.pytorch

R-C3D pytorch implementation
248 stars 67 forks source link

Unstable Inference Time #39

Open frostinassiky opened 5 years ago

frostinassiky commented 5 years ago

This is a nice job, thanks for the authors!

One question on the inference time:

Is it always unstable because of the transmission?

I tested the code on both my work stations and cluster, the inference time vary from 0.1s to 1min.

Here is the inference output (after running for 12 hours) as a reference. Does anyone have an idea on it?


 flipped: False
 frames: [[     0 126720 127488      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11023/40748 0.068s 0.155s 0.001s
 flipped: False
 frames: [[     0 126912 127680      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11024/40748 0.068s 0.155s 0.001s
 flipped: False
 frames: [[     0 127104 127872      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11025/40748 69.098s 0.159s 0.003s
 flipped: False
 frames: [[     0 127296 128064      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11026/40748 69.098s 0.159s 0.002s
 flipped: False
 frames: [[     0 127488 128256      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11027/40748 69.098s 0.159s 0.002s
 flipped: False
 frames: [[     0 127680 128448      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11028/40748 69.098s 0.159s 0.003s
 flipped: False
 frames: [[     0 127872 128640      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11029/40748 3.045s 0.159s 0.002s```
dangao250 commented 5 years ago

No such file or directory: 'F:/lianxi/R-C3D.pytorch-master/thumos14_database/Training Data/THUMOS14/annotation_val\BaseballPitch_val.txt' How did you solve it here

dangao250 commented 5 years ago

This is a nice job, thanks for the authors!

One question on the inference time:

Is it always unstable because of the transmission?

I tested the code on both my work stations and cluster, the inference time vary from 0.1s to 1min.

Here is the inference output (after running for 12 hours) as a reference. Does anyone have an idea on it?

 flipped: False
 frames: [[     0 126720 127488      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11023/40748 0.068s 0.155s 0.001s
 flipped: False
 frames: [[     0 126912 127680      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11024/40748 0.068s 0.155s 0.001s
 flipped: False
 frames: [[     0 127104 127872      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11025/40748 69.098s 0.159s 0.003s
 flipped: False
 frames: [[     0 127296 128064      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11026/40748 69.098s 0.159s 0.002s
 flipped: False
 frames: [[     0 127488 128256      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11027/40748 69.098s 0.159s 0.002s
 flipped: False
 frames: [[     0 127680 128448      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11028/40748 69.098s 0.159s 0.003s
 flipped: False
 frames: [[     0 127872 128640      1]]
 bg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
 fg_name: /vcc/datasets/zhaoc/thumos14/org_frames/test/video_test_0000793
im_detect: 11029/40748 3.045s 0.159s 0.002s```

No such file or directory: 'F:/lianxi/R-C3D.pytorch-master/thumos14_database/Training Data/THUMOS14/annotation_val\BaseballPitch_val.txt' How did you solve it here