yaohungt / Gated-Spatio-Temporal-Energy-Graph

[CVPR'19] [PyTorch] Gated Spatio Temporal Energy Graph
151 stars 25 forks source link

KeyError #3

Closed sanfordhsu closed 5 years ago

sanfordhsu commented 5 years ago

Thanks for your share. when I run as your README, got the following error, do u know how to fix it? Thanks again!

00

yaohungt commented 5 years ago

It seems like you do not run prediction on the entire set of videos. The groundtruth contains entire set of videos, and thus you may need to run all of them to run eval_visual_relation function.

You can modify line 72 in utils/init.py to block the vedio id which is not in your prediction results.

sanfordhsu commented 5 years ago

It seems like you do not run prediction on the entire set of videos. The groundtruth contains entire set of videos, and thus you may need to run all of them to run eval_visual_relation function.

You can modify line 72 in utils/init.py to block the vedio id which is not in your prediction results.

But I did not change the videos file for prediction. I wonder if the problem occurred because I did not split the videos into training and validation file?

yaohungt commented 5 years ago

I don’t think it will make a difference. Are you sure that you have set the right path for data?

sanfordhsu notifications@github.com 於 2019年5月24日 上午12:44 寫道:

It seems like you do not run prediction on the entire set of videos. The groundtruth contains entire set of videos, and thus you may need to run all of them to run eval_visual_relation function.

You can modify line 72 in utils/init.py to block the vedio id which is not in your prediction results.

But I did not change the videos file for prediction. I wonder if the problem occurred because I did not split the videos into training and validation file?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

sanfordhsu commented 5 years ago

I don’t think it will make a difference. Are you sure that you have set the right path for data? sanfordhsu @.***> 於 2019年5月24日 上午12:44 寫道: It seems like you do not run prediction on the entire set of videos. The groundtruth contains entire set of videos, and thus you may need to run all of them to run eval_visual_relation function. You can modify line 72 in utils/init.py to block the vedio id which is not in your prediction results. But I did not change the videos file for prediction. I wonder if the problem occurred because I did not split the videos into training and validation file? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Well, I try again and change the path format, and it works, thanks. I' ll close issue.