airsplay / vokenization

PyTorch code for EMNLP 2020 Paper "Vokenization: Improving Language Understanding with Visual Supervision"
MIT License
186 stars 22 forks source link

Error in extract_vision_keys #7

Closed Richar-Du closed 2 years ago

Richar-Du commented 2 years ago

Thanks for your awesome work, but there is something wrong when I run the extract_vision_keys.py: in line 139: dset = h5_file.create_dataset("keys", (len(saved_img_paths), last_dim)) in extract_vision_keys.py, it reports OverflowError: can't convert negative value to hsize_t. Do you have any idea about solving this error? I would be quite appreciated for your early reply.

Richar-Du commented 2 years ago

I didn't use all the datasets so there are some empty folders.