mit-han-lab / temporal-shift-module

[ICCV 2019] TSM: Temporal Shift Module for Efficient Video Understanding
https://arxiv.org/abs/1811.08383
MIT License
2.07k stars 417 forks source link

Where is the code for 10 clips testing? #158

Closed liming-ai closed 4 years ago

liming-ai commented 4 years ago

I have read your code and paper, in your paper, For testing, when pursue high accuracy, we followed the common setting in [49, 50] to sample multiple clips per video (10 for Kinetics, 2 for others)

I found sample 2 clips per video in your code, but I cannot find 10 clips test for kinetics.

I'll appreciate that if you could reply me!

tonylins commented 4 years ago

Hi, we provide the testing script for Kinetics in README

python test_models.py kinetics \
    --weights=pretrained/TSM_kinetics_RGB_resnet50_avg_segment5_e50.pth \
    --test_segments=8 --test_crops=3 \
    --batch_size=8 --dense_sample --full_res

where --dense_sample corresponds to the 10 clips testing.

liming-ai commented 4 years ago

Thanks a lot! Sorry to bother you.

---Original--- From: "Ji Lin"<notifications@github.com> Date: Thu, Nov 19, 2020 00:06 AM To: "mit-han-lab/temporal-shift-module"<temporal-shift-module@noreply.github.com>; Cc: "Author"<author@noreply.github.com>;"Ming Li"<limingcv@qq.com>; Subject: Re: [mit-han-lab/temporal-shift-module] Where is the code for 10 clips testing? (#158)

Hi, we provide the testing script for Kinetics in README python test_models.py kinetics \ --weights=pretrained/TSM_kinetics_RGB_resnet50_avg_segment5_e50.pth \ --test_segments=8 --test_crops=3 \ --batch_size=8 --dense_sample --full_res
where --dense_sample corresponds to the 10 clips testing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.