Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
6.2.0
Single-modality
Installation
Please follow the installation instructions in INSTALL.
Datasets
You can find the dataset instructions in DATASET.
Model ZOO
You can find all the models and the scripts in MODEL_ZOO.
Pre-Training
We use InternVL and VideoMAEv2 pretrained models as teachers by default
For training, you can simply run the pretraining scripts in scripts/pretraining as follows:
bash ./scripts/pretraining/1B_pt.sh
:warning: Notes:
- Chage
DATA_PATHto your data path before running the scripts. --sampling_rateis set to 1 for sprase sampling.- The latest checkpoint will be automatically saved while training, thus we use a large
--save_ckpt_freq. - For InternVideo2-1B and 6B, we use InternVL-C-13B and VideoMAEv2-g.
Finetuning
For finetuning, you can simply run the pretraining scripts in scripts/finetuning as follows:
bash ./scripts/finetuning/full_tuning/k400/1B_ft_k710_ft_k400_f8.sh
:warning: Notes:
- Chage
DATA_PATHAndPREFIXto your data path before running the scripts. - Chage
MODEL_PATHto your model path. - Set
--use_checkpointand--checkpoint_numto save GPU memory. - The best checkpoint will be automatically evaluated with
--test_best. - Set
--test_num_segmentand--test_num_cropfor different evaluation strategies. - To only run evaluation, just set
--eval.