MindVideo is an open source Video toolbox for computer vision research and development based on MindSpore. It collects a series of classic and SoTA vision models, such as C3D and ARN, along with their pre-trained weights and training strategies.. With the decoupled module design, it is easy to apply or adapt mindvideo to your own CV tasks.
We decompose the video framework into different components and one can easily construct a customized video framework by combining different modules.
Currently, MindVideo supports the Action Recognition , Video Tracking, Video segmentation.
The performance of the models trained with MindVideo is summarized in benchmark.md, where the training recipes and weights are both available.
Use the following commands to install dependencies:
git clone https://gitee.com/ZJUT-ERCISS/zjut_mindvideo.git
cd zjut_mindvideo
# If you use vistr, the version of Python should be 3.7
# Please first install mindspore according to instructions on the official website: https://www.mindspore.cn/install
pip install -r requirements.txt
pip install -e .
MindVideo supported dataset can be downloaded from:
Then put all training and evaluation data into one directory and then change "data_root"
to that directory in data.json, like this:
"data_root": "/home/publicfile/dataset/tracking"
Within mindvideo
, all data processing methods according to each dataset used can be found under the data
folder.
Each of the models supported by mindvideo
has a runnable module for beginners. After installing MindSpore and the dependencies required by this repository, under the tutorials
folder, you can find folders corresponding to the names of each model. There are learning modules specially designed for beginners, and you can open the .ipynb file and run the code. We also support some parameter configurations for quick start. When processing the YAML
file containing the parameters required for each model, you can use the training and inference interfaces of all models under the tools
folder. For this method, I3D is used as For example, just run the following command to train:
cd tools/classification
python train.py -c ../../mindvideo/config/i3d/i3d_rgb.yaml
and run following commands for evaluation:
cd tools/classification
python eval.py -c ../../mindvideo/config/i3d/i3d_rgb.yaml
and run following commands for inference:
cd tools/classification
python infer.py -c ../../mindvideo/config/i3d/i3d_rgb.yaml
Also, paperswithcode is a good resource for browsing the models within mindvideo
, each can be found at:
The links to download the pre-train models are as follows:
C3D for Action Recognition.
I3D for Action Recognition.
X3D for Action Recognition.
R(2+1)d for Action Recognition.
NonLocal for Action Recognition.
ViST for Action Recognition.
fairMOT for One-shot Tracking.
VisTR for Instance Segmentation.
ARN for Few-shot Action Recognition.
The master branch works with MindSpore 1.5+.
git clone https://gitee.com/ZJUT-ERCISS/zjut_mindvideo.git
cd zjut_mindvideo
pip install -r requirements.txt
make html
build/html/index.html
with browserThis project is released under the Apache 2.0 license.
Supported algorithms:
MindVideo is a MindSpore-based Python package that provides high-level features:
The dynamic version is still under development, if you find any issue or have an idea on new features, please don't hesitate to contact us via Gitee Issues.
We appreciate all contributions to improve MindVideo. Please refer to CONTRIBUTING.md for the contributing guideline.
This project is released under the Apache 2.0 license.
MindSpore is an open source project that welcome any contribution and feedback. We wish that the toolbox and benchmark could serve the growing research community by providing a flexible as well as standardized toolkit to reimplement existing methods and develop their own new computer vision methods.The contributors are listed in CONTRIBUTERS.md
If you find this project useful in your research, please consider citing:
@misc{MindVideo 2022,
title={{MindVideo}:MindVideo Toolbox and Benchmark},
author={MindVideo Contributors},
howpublished = {\url{https://gitee.com/ZJUT-ERCISS/zjut_mindvideo}},
year={2022}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。