gabeur / mmt

Multi-Modal Transformer for Video Retrieval
http://thoth.inrialpes.fr/research/MMT/
Apache License 2.0
258 stars 41 forks source link

Segmentation fault (core dumped) when Evaluating #6

Closed aaaa7788 closed 3 years ago

aaaa7788 commented 3 years ago

Thanks for sharing this project!! But after I run the following command, I met into a segmentation fault (core dumped) error: wget http://pascal.inrialpes.fr/data2/vgabeur/video-features/MSRVTT.tar.gz tar -xvf MSRVTT.tar.gz wget http://pascal.inrialpes.fr/data2/vgabeur/mmt/data/checkpoints/prtrn_MSRVTT_jsfusion_trainval.pth python -m train --config configs_pub/eccv20/prtrn_MSRVTT_jsfusion_trainval.json --only_eval --load_checkpoint data/checkpoints/prtrn_MSRVTT_jsfusion_trainval.pth image

I have exactly same environment equipment as you mentioned in the readme. Could you help me with this error?

gabeur commented 3 years ago

Indeed, I had the same issue after recreating the virtual environment from scratch. It seems like the problem was coming from the package sentencepiece version > 0.1.91 (see this issue). I have updated the requirements.txt file to solve the problem. Please modify your virtual environment following the updated version of requirements.txt and let me know if it solves the issue.

aaaa7788 commented 3 years ago

Yes!! It works!! Thanks for your reply.