在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):chenjoya/2dtan开源软件地址(OpenSource Url):https://github.com/chenjoya/2dtan开源编程语言(OpenSource Language):Python 97.1%开源软件介绍(OpenSource Introduction):2D-TAN (Optimized)IntroductionThis is an optimized re-implementation repository for AAAI'2020 paper: Learning 2D Temporal Localization Networks for Moment Localization with Natural Language. We show advantages in speed and performance compared with the official implementation (https://github.com/microsoft/2D-TAN). ComparisonPerformance: Better Results1. TACoS Dataset
2. ActivityNet Dataset
Speed and Cost: Faster Training/Inference, Less Memory Cost1. Speed (ActivityNet Dataset)
2. Memory Cost (ActivityNet Dataset)
Note: These results are measured on 4 NVIDIA Tesla V100 GPUs, with batch size 32. InstallationThe installation for this repository is easy. Please refer to INSTALL.md. DatasetPlease refer to DATASET.md to prepare datasets. Quick StartWe provide scripts for simplifying training and inference. Please refer to scripts/train.sh, scripts/eval.sh. For example, if you want to train TACoS dataset, just modifying scripts/train.sh as follows: # find all configs in configs/
model=2dtan_128x128_pool_k5l8_tacos
# set your gpu id
gpus=0,1,2,3
# number of gpus
gpun=4
# please modify it with different value (e.g., 127.0.0.2, 29502) when you run multi 2dtan task on the same machine
master_addr=127.0.0.1
master_port=29501
... Another example, if you want to evaluate on ActivityNet dataset, just modifying scripts/eval.sh as follows: # find all configs in configs/
config_file=configs/2dtan_64x64_pool_k9l4_activitynet.yaml
# the dir of the saved weight
weight_dir=outputs/2dtan_64x64_pool_k9l4_activitynet
# select weight to evaluate
weight_file=model_1e.pth
# test batch size
batch_size=32
# set your gpu id
gpus=0,1,2,3
# number of gpus
gpun=4
# please modify it with different value (e.g., 127.0.0.2, 29502) when you run multi 2dtan task on the same machine
master_addr=127.0.0.2
master_port=29502
... SupportPlease open a new issue. We would like to answer it. Please feel free to contact me: [email protected] if you need my help. AcknowledgementsWe greatly appreciate the official 2D-Tan repository https://github.com/microsoft/2D-TAN and maskrcnn-benchmark https://github.com/facebookresearch/maskrcnn-benchmark. We learned a lot from them. Moreover, please remember to cite the paper:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论