提交 819da4ce 编写于 作者: L linjintao

Add header link for config/readme

上级 3b74d9f9
...@@ -25,7 +25,7 @@ Example: train BMN model on ActivityNet features dataset. ...@@ -25,7 +25,7 @@ Example: train BMN model on ActivityNet features dataset.
```shell ```shell
python tools/train.py configs/localization/bmn/bmn_400x100_2x8_9e_activitynet_feature.py python tools/train.py configs/localization/bmn/bmn_400x100_2x8_9e_activitynet_feature.py
``` ```
For more details and optional arguments infos, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md) . For more details and optional arguments infos, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting) .
## Test ## Test
You can use the following command to test a model. You can use the following command to test a model.
...@@ -38,4 +38,4 @@ Example: test BMN on ActivityNet feature dataset. ...@@ -38,4 +38,4 @@ Example: test BMN on ActivityNet feature dataset.
# Note: If evaluated, then please make sure the annotation file for test data contains groundtruth. # Note: If evaluated, then please make sure the annotation file for test data contains groundtruth.
python tools/test.py configs/localization/bmn/bmn_400x100_2x8_9e_activitynet_feature.py checkpoints/SOME_CHECKPOINT.pth --eval AR@AN --out results.json python tools/test.py configs/localization/bmn/bmn_400x100_2x8_9e_activitynet_feature.py checkpoints/SOME_CHECKPOINT.pth --eval AR@AN --out results.json
``` ```
For more details and optional arguments infos, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md) . For more details and optional arguments infos, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset) .
...@@ -34,7 +34,7 @@ Examples: ...@@ -34,7 +34,7 @@ Examples:
python tools/train.py configs/localization/bsn/bsn_pem_400x100_1x16_20e_activitynet_feature.py python tools/train.py configs/localization/bsn/bsn_pem_400x100_1x16_20e_activitynet_feature.py
``` ```
For more details and optional arguments infos, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details and optional arguments infos, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Inference ## Inference
You can use the following commands to inference a model. You can use the following commands to inference a model.
...@@ -108,4 +108,4 @@ Examples: ...@@ -108,4 +108,4 @@ Examples:
```shell ```shell
python tools/test.py configs/localization/bsn/bsn_400x100_1x16_20e_activitynet_feature.py checkpoints/SOME_CHECKPOINT.pth --eval AR@AN --out results.json python tools/test.py configs/localization/bsn/bsn_400x100_1x16_20e_activitynet_feature.py checkpoints/SOME_CHECKPOINT.pth --eval AR@AN --out results.json
``` ```
For more details and optional arguments infos, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details and optional arguments infos, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset).
...@@ -34,7 +34,7 @@ python tools/train.py configs/recognition/i3d/i3d_r50_32x2x1_100e_kinetics400_rg ...@@ -34,7 +34,7 @@ python tools/train.py configs/recognition/i3d/i3d_r50_32x2x1_100e_kinetics400_rg
--validate --seed 0 --deterministic --validate --seed 0 --deterministic
``` ```
For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Test ## Test
You can use the following command to test a model. You can use the following command to test a model.
...@@ -49,4 +49,4 @@ python tools/test.py configs/recognition/i3d/i3d_r50_32x2x1_100e_kinetics400_rgb ...@@ -49,4 +49,4 @@ python tools/test.py configs/recognition/i3d/i3d_r50_32x2x1_100e_kinetics400_rgb
--out result.json --out result.json
``` ```
For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset).
...@@ -32,7 +32,7 @@ python tools/train.py configs/recognition/r2plus1d/r2plus1d_r34_8x8x1_180e_kinet ...@@ -32,7 +32,7 @@ python tools/train.py configs/recognition/r2plus1d/r2plus1d_r34_8x8x1_180e_kinet
--validate --seed 0 --deterministic --validate --seed 0 --deterministic
``` ```
For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Test ## Test
You can use the following command to test a model. You can use the following command to test a model.
...@@ -47,4 +47,4 @@ python tools/test.py configs/recognition/r2plus1d/r2plus1d_r34_8x8x1_180e_kineti ...@@ -47,4 +47,4 @@ python tools/test.py configs/recognition/r2plus1d/r2plus1d_r34_8x8x1_180e_kineti
--out result.json --average_clips=prob --out result.json --average_clips=prob
``` ```
For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset).
...@@ -32,7 +32,7 @@ python tools/train.py configs/recognition/slowfast/slowfast_r50_4x16x1_256e_kine ...@@ -32,7 +32,7 @@ python tools/train.py configs/recognition/slowfast/slowfast_r50_4x16x1_256e_kine
--validate --seed 0 --deterministic --validate --seed 0 --deterministic
``` ```
For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Test ## Test
You can use the following command to test a model. You can use the following command to test a model.
...@@ -47,4 +47,4 @@ python tools/test.py configs/recognition/slowfast/slowfast_r50_4x16x1_256e_kinet ...@@ -47,4 +47,4 @@ python tools/test.py configs/recognition/slowfast/slowfast_r50_4x16x1_256e_kinet
--out result.json --average_clips=prob --out result.json --average_clips=prob
``` ```
For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset).
...@@ -34,7 +34,7 @@ python tools/train.py configs/recognition/slowonly/slowonly_r50_4x16x1_256e_kine ...@@ -34,7 +34,7 @@ python tools/train.py configs/recognition/slowonly/slowonly_r50_4x16x1_256e_kine
--validate --seed 0 --deterministic --validate --seed 0 --deterministic
``` ```
For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Test ## Test
You can use the following command to test a model. You can use the following command to test a model.
...@@ -49,4 +49,4 @@ python tools/test.py configs/recognition/slowonly/slowonly_r50_4x16x1_256e_kinet ...@@ -49,4 +49,4 @@ python tools/test.py configs/recognition/slowonly/slowonly_r50_4x16x1_256e_kinet
--out result.json --average_clips=prob --out result.json --average_clips=prob
``` ```
For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset).
...@@ -44,7 +44,7 @@ python tools/train.py configs/recognition/tin/tin_r50_1x1x8_35e_kinetics400_rgb. ...@@ -44,7 +44,7 @@ python tools/train.py configs/recognition/tin/tin_r50_1x1x8_35e_kinetics400_rgb.
--validate --seed 0 --deterministic --validate --seed 0 --deterministic
``` ```
For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Test ## Test
You can use the following command to test a model. You can use the following command to test a model.
...@@ -59,4 +59,4 @@ python tools/test.py configs/recognition/tin/tin_r50_1x1x8_35e_kinetics400_rgb.p ...@@ -59,4 +59,4 @@ python tools/test.py configs/recognition/tin/tin_r50_1x1x8_35e_kinetics400_rgb.p
--out result.json --out result.json
``` ```
For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset).
...@@ -49,7 +49,7 @@ python tools/train.py configs/recognition/tsm/tsm_r50_1x1x8_50e_kinetics400_rgb. ...@@ -49,7 +49,7 @@ python tools/train.py configs/recognition/tsm/tsm_r50_1x1x8_50e_kinetics400_rgb.
--validate --seed 0 --deterministic --validate --seed 0 --deterministic
``` ```
For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Test ## Test
You can use the following command to test a model. You can use the following command to test a model.
...@@ -64,4 +64,4 @@ python tools/test.py configs/recognition/tsm/tsm_r50_1x1x8_50e_kinetics400_rgb.p ...@@ -64,4 +64,4 @@ python tools/test.py configs/recognition/tsm/tsm_r50_1x1x8_50e_kinetics400_rgb.p
--out result.json --out result.json
``` ```
For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset).
...@@ -79,7 +79,7 @@ python tools/train.py configs/recognition/tsn/tsn_r50_1x1x3_100e_kinetics400_rgb ...@@ -79,7 +79,7 @@ python tools/train.py configs/recognition/tsn/tsn_r50_1x1x3_100e_kinetics400_rgb
--validate --seed 0 --deterministic --validate --seed 0 --deterministic
``` ```
For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Training setting** part in [getting_started](/docs/getting_started.md#training-setting).
## Test ## Test
...@@ -95,4 +95,4 @@ python tools/test.py configs/recognition/tsn/tsn_r50_1x1x3_100e_kinetics400_rgb. ...@@ -95,4 +95,4 @@ python tools/test.py configs/recognition/tsn/tsn_r50_1x1x3_100e_kinetics400_rgb.
--out result.json --out result.json
``` ```
For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md). For more details, you can refer to **Test a dataset** part in [getting_started](/docs/getting_started.md#test-a-dataset#test-a-dataset).
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册