craston / MARS

MARS: Motion-Augmented RGB Stream for Action Recognition
MIT License
161 stars 45 forks source link

Running SomeThingSomeThingV1 test_RGB problem. #23

Open loatlam opened 4 years ago

loatlam commented 4 years ago

1 Hi, I have reproduced the test results on HMDB51 and UCF101 successfully. However, I have trouble with running test SomeThingSomeThingV1. I downloaded frame_folder from SomeThingSomeThingV1 main page(https://20bn.com/datasets/something-something/v1), then I added code for reading SomeThingSomeThingV1 in dataset.py . Finally, I ran test SomeThingSomeThingV1 single stream RGB only 64f:

python3 test_single_stream.py --batch_size 1 --n_classes 174 --model resnext --model_depth 101 --log 1 --dataset SmtSmt --modality RGB --sample_duration 64 --split 1 --only_RGB --resume_path1 "/host/mars/models/SMTSMT/RGB_Something_Something_64f.pth" --frame_dir "/host/SomethingSomethingV1_validation_frames/" --annotation_path "/host/mars/dataset/SmtSmt_labels/" --result_path "/host/mars/results_test_smtsmt/"

It was successfully executed but the result is completely wrong (accuracy is only 0.3%). Can you identify what i did wrong ? Do I need to modify the frame_folder after downloading ? Or can you help me demonstrate steps for running test SomeThingSomeThingV1 single stream RGB only 64f ?

(Here I attached file dataset.py with code for SomeThingSomeThingV1 added, just in case you need to check it).

errllxj commented 3 years ago

Hi! I encountered the same problem, has your problem been solved?