open-mmlab / mmaction2

OpenMMLab's Next Generation Video Understanding Toolbox and Benchmark
https://mmaction2.readthedocs.io
Apache License 2.0
4.06k stars 1.2k forks source link

[Docs] Update Quick Run Docs #2763

Open yeh-sudo opened 7 months ago

yeh-sudo commented 7 months ago

Motivation

After trying the command in the Quick Run, the pop-up video didn't show up. Furthermore, I found issue#2693, which is similar to my situation. Thus, I decided to resolve it by modifying the document.

Modification

I added an optional --show argument in the detailed document so that the pop-up video will appear after running the command.

The original command in the document:

python demo/demo_inferencer.py  demo/demo.mp4 \
    --rec tsn --print-result \
    --label-file tools/data/kinetics/label_map_k400.txt

After modification:

python demo/demo_inferencer.py  demo/demo.mp4 \
    --rec tsn --print-result --show \
    --label-file tools/data/kinetics/label_map_k400.txt
CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.