YunseokJANG / tgif-qa

Repository for our CVPR 2017 and IJCV: TGIF-QA
https://arxiv.org/abs/1704.04497
171 stars 31 forks source link

Unable to open object #21

Closed liurunsmileliu closed 3 years ago

liurunsmileliu commented 3 years ago

error

YunseokJANG commented 3 years ago

Dear @liurunsmileliu, Thanks for sharing your error message. I cannot 100% sure about this case right now (because it works for more than three years, and I haven't seen this before), but I would like to note two things to check:

  1. (most likely) the way to handle the h5 file in h5py lib may have changed. If that's the case, could you install a lower version of the h5py file, like h5py==2.5.0, or a little bit higher one? (hint/warning: this codebase was implemented around four years from now)

  2. (additional recommendation) I also recommend you to check whether the h5 files are available to open/read, simply by opening them (and accessing some values with a list of keys) with a few lines of code in the Python shell (not with our codebase).

I hope this helps resolve your issue.

Regards, Yunseok

liurunsmileliu commented 3 years ago

Sorry,I try it.But this error still exists.

Lrunzhi

发件人: Yunseok JANG 发送时间: 2021年4月16日 13:44 收件人: YunseokJANG/tgif-qa 抄送: liurunsmileliu; Mention 主题: Re: [YunseokJANG/tgif-qa] Unable to open object (#21)

Dear @liurunsmileliu, Thanks for sharing your error message. I cannot 100% sure about this case right now (because it works for more than three years, and I haven't seen this before), but I would like to note two things to check:

  1. (most likely) the way to handle the h5 file in h5py lib may have changed. If that's the case, could you install a lower version of the h5py file, like h5py==2.5.0, or a little bit higher one? (hint/warning: this codebase was implemented around four years from now)
  2. (additional recommendation) I also recommend you to check whether the h5 files are available to open/read, simply by opening them (and accessing some values with a list of keys) with a few lines of code in the Python shell (not with our codebase). I hope this helps resolve your issue. Regards, Yunseok — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
YunseokJANG commented 3 years ago

Dear @liurunsmileliu , I just finished clean installing everything on a new instance, and I was able to run both training and test without any errors. To prevent any versioning issue, I updated the installation manual and added the 'static_requirements.txt' file. Please re-clone this repository and reinstall packages. Thanks for your quick follow-ups, by the way.

Regards,

liurunsmileliu commented 3 years ago

Ok this problem has solved. But when I run python main. py --task=Action --name=SpTp and python main. py --task=Count --name=SpTp throw no tgif-resof-res5c. hdf5 I want to know how to get this feature 发自我的iPhone

在 2021年4月26日,07:56,Yunseok JANG @.***> 写道:

 Dear @liurunsmileliu , I just finished clean installing everything on a new instance, and I was able to run both training and test without any errors. To prevent any versioning issue, I updated the installation manual and added the 'static_requirements.txt' file. Please re-clone this repository and reinstall packages. Thanks for your quick follow-ups, by the way.

Regards,

Yunseok Jang — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

YunseokJANG commented 3 years ago

Due to the feature size issue, we failed to upload few features, as we noted in the README file. If you need those missing features, then you need to download the GIF files from the links in the README and preprocess them from your own.