apple / ml-cvnets

CVNets: A library for training computer vision networks
https://apple.github.io/ml-cvnets
Other
1.76k stars 225 forks source link

Question: Do you have removed the support for video classification? #89

Closed MasterHM-ml closed 11 months ago

MasterHM-ml commented 1 year ago

I am trying to fine-tune mobile vit for video classification, but I couldn't find any guide, docs and configs for video data and model handling in the latest repo. However, this kind of stuff is available in older versions. I am mentioning one of those versions here for reference.

Do you have removed the support for video classification? How I can fine-tune a pre-trained model for video classification using this awesome repository?

Tranbaber commented 11 months ago

@MasterHM-ml Hello! I'm trying to train MobileViT model, but I'm having the following problem and am asking for help

File "C:\Users\72344.conda\envs\MobileViTv2\Scripts\cvnets-train.exemain.py", line 4, in ModuleNotFoundError: No module named 'main_train'

And I tried to download this module, but show "ERROR: Could not find a version that satisfies the requirement main_train (from versions: none) ERROR: No matching distribution found for main_train"

Can you tell what can I do? Thank you very much!

mchorton commented 11 months ago

Hi @MasterHM-ml ,

There were a few pipeline changes to video loaders in the newest release, that did not maintain backwards compatibility with our mobilevit video training recipes. We decided to remove some of the video models during the new release as a result, to avoid creating reproducibility issues. Please use the older version for mobile vit training. Sorry for the inconvenience.