提交 0ddfed1d 编写于 作者: L lizz

Merge branch 'lxy/api_docs' into 'master'

Remove data in localization readme

See merge request open-mmlab/mmaction-lite!319
......@@ -8,35 +8,8 @@
|-|-|-|-|-|-|-|-|
|[bmn_400x100_9e_2x8_activitynet_feature](/configs/localization/bmn/bmn_400x100_2x8_9e_activitynet_feature.py) | None |75.28|67.22|5420|3.27|[ckpt]()| [log]()|
## Data
1. Put the rescaled feature data folder `csv_mean_100` under `$MMACTION/data/activitynet_feature_cuhk/`.
The raw feature data could be found at [here](https://github.com/wzmsltw/BSN-boundary-sensitive-network).
2. Put the annotaion files under `$MMACTION/data/ActivityNet`.
The annotation files could be found at [here]().
3. Finally, make sure your folder structure same with the tree structure below.
If your folder structure is different, you can also change the corresponding paths in config files.
```
mmaction
├── mmaction
├── tools
├── config
├── data
│ ├── activitynet_feature_cuhk
│ │ ├── csv_mean_100
│ ├── ActivityNet
│ │ ├── anet_anno_train.json
│ │ ├── anet_anno_val.json
│ │ ├── anet_anno_test.json
...
```
## Checkpoint
Put the `tem_best.pth.tar` and `pem_best.pth.tar` under `checkpoints/`.
The ckpts could be found at [here]().
For more details on data preparation, you can refer to [Prepaing Activitynet](../../../tools/data/activitynet/preparing_activitynet.md).
## Train
You can use the following command to train a model.
......
......@@ -8,36 +8,8 @@
|-|-|-|-|-|-|-|-|
|bsn_400x100_1x16_20e_activitynet_feature | None |74.65|66.45|41(TEM)+25(PEM)|0.074(TEM)+0.036(PEM)|[ckpt_tem]() [ckpt_pem]| [log_tem]() [log_pem]()|
## Data
1. Put the rescaled feature data folder `csv_mean_100` under `$MMACTION/data/activitynet_feature_cuhk/`.
The raw feature data could be found at [here](https://github.com/wzmsltw/BSN-boundary-sensitive-network).
2. Put the annotaion files under `$MMACTION/data/ActivityNet`.
The annotation files could be found at [here]().
3. Finally, make sure your folder structure same with the tree structure below.
If your folder structure is different, you can also change the corresponding paths in config files.
```
mmaction
├── mmaction
├── tools
├── config
├── data
│ ├── activitynet_feature_cuhk
│ │ ├── csv_mean_100
│ ├── ActivityNet
│ │ ├── anet_anno_train.json
│ │ ├── anet_anno_val.json
│ │ ├── anet_anno_test.json
...
```
## Checkpoint
1. Put the `tem_best.pth.tar` and `pem_best.pth.tar` under `checkpoints/`.
The ckpts could be found at [here]() (TODO).
For more details on data preparation, you can refer to [Prepaing Activitynet](../../../tools/data/activitynet/preparing_activitynet.md).
## Train
You can use the following commands to train a model.
......
......@@ -5,7 +5,6 @@ cat ../configs/recognition/*/*.md > recognition_models.md
cat ./tutorials/finetune.md ./tutorials/new_dataset.md ./tutorials/data_pipeline.md ./tutorials/new_modules.md > tutorials.md
cat ../tools/data/*/*.md > prepare_data.md
cat ../tools/data/*/*.md > prepare_data.md
sed -i 's/#/##&/' localization_models.md
......@@ -13,7 +12,7 @@ sed -i 's/#/##&/' recognition_models.md
sed -i 's/#/#&/' tutorials.md
sed 's/# Preparing/# /' prepare_data.md
sed -i 's/# Preparing/# /g' prepare_data.md
sed -i 's/#/##&/' prepare_data.md
sed -i '1i\# Tutorials' tutorials.md
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册