facebookresearch / facebookresearch/SlowFast

pretrained model performed very bad on K400

Open
#100 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
7.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hi, I downloaded the pretrained model: SLOWFAST_4x16_R50.pkl, and test it on k400 val dataset, the top1_acc is 58.14% and top_5 is 79.67%。

My script is:

python tools/run_net.py \
--cfg ./configs/Kinetics/SLOWFAST_4x16_R50.yaml \
DATA.PATH_TO_DATA_DIR ./data \
TEST.CHECKPOINT_FILE_PATH ./models/SLOWFAST_4x16_R50.pkl \
TRAIN.ENABLE False \
TEST.CHECKPOINT_TYPE caffe2 \

For some reason , pyav cannot get frames_length, so I calculate it using duration/timebase, So I twist the code a little bit(line #131):

fps = float(container.streams.video[0].average_rate)
timebase = container.streams.video[0].time_base
duration = float(container.streams.video[0].duration)
frames_length = duration/timebase

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.