Open nemcekova opened 1 year ago
@nemcekova 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!
Hello, I'm trying to create VIT-tiny model, which is mentioned here. My approach is:
First, I create model structure, as it was advised in the issue. I use options.ops get_training_arguments and cvnets get_model(), with vit-tiny.yaml config file. Model structure is saved correctly.
Secondly, I load the model structure and load_state_dict.
That's where I'm getting following error:
Any idea how is it possible and how to fix it?
Note: This approach works perfectly with mobile-vit