maups / charades_stuff

Training files for action classification using the Charades Activity Challenge dataset.
2 stars 1 forks source link

Problem with create_helper_files.cpp #1

Open wxy1224 opened 6 years ago

wxy1224 commented 6 years ago

Hi there, thanks for the hard work! I'm trying to run the create_helper_files but it seems that the a.out could not run, it gives "segmentation fault(core dumped)". Do you still have the files that this creates? Thanks!

maups commented 6 years ago

Hello @wxy1224

Please make sure you have the annotations and the features in the same folder of the executable before running it. I just tested everything from the beginning and it ran smoothly. Try the following sequence of commands:

$ git clone https://github.com/maups/charades_stuff/
$ cd charades_stuff/
$ wget http://vuchallenge.org/vu17_charades.zip
$ unzip vu17_charades.zip
$ wget http://ai2-website.s3.amazonaws.com/data/Charades_v1_features_flow.tar.gz
$ tar -xzf Charades_v1_features_flow.tar.gz
$ g++ -std=c++11 create_helper_files.cpp
$ mkdir helper_files
$ ./a.out

If you run this exact sequence of commands, you should be able to get the helper files correctly. If you still have problems, let me know.

wxy1224 commented 6 years ago
charades_stuff

Here's a screenshot of my directory, and I think I do have all the files needed, but the a.out seem to be not running. Is it possible to get an idea of what files are generated here? Thanks!

maups commented 6 years ago

https://github.com/maups/charades_stuff/blob/master/results/helper_files.tgz

Please let me know if you figure out what is going wrong.