''' | |
# Training feature-based ActionFormer on 1 GPU. | |
torchrun \ | |
--nnodes=1 \ | |
--nproc_per_node=1 \ | |
--rdzv_backend=c10d \ | |
--rdzv_endpoint=localhost:0 \ | |
tools/train.py configs/actionformer/anet_tsp.py | |
''' | |
# 1. Change 'configs/_base_/datasets/activitynet-1.3/features_tsp_resize_trunc.py' Line 50 to 'subset_name="testing"' | |
# 2. Add --not_eval | |
# 3. å°† configs/actionformer/anet_tsp.py 里 post_processing ä¸çš„ external_cls 部分注释掉 | |
torchrun \ | |
--nnodes=1 \ | |
--nproc_per_node=1 \ | |
--rdzv_backend=c10d \ | |
--rdzv_endpoint=localhost:0 \ | |
tools/test.py \ | |
configs/actionformer/anet_tsp.py \ | |
--checkpoint exps/anet/actionformer_tsp/gpu1_id0/checkpoint/best.pth \ | |
--not_eval |