Closed Bill-rao closed 6 months ago
In addition to that, in the code that creates the model as follows,
model = getattr(model_clip, old_args.model)(
freeze_temperature=True,
use_grad_checkpointing=args.use_grad_checkpointing,
context_length=old_args.context_length,
vocab_size=old_args.vocab_size,
patch_dropout=args.patch_dropout,
num_frames=args.clip_length,
drop_path_rate=args.drop_path_rate,
use_fast_conv1=args.use_fast_conv1,
use_flash_attn=args.use_flash_attn,
use_quick_gelu=True,
project_embed_dim=old_args.project_embed_dim,
pretrain_zoo=old_args.pretrain_zoo,
pretrain_path=old_args.pretrain_path,
)
In addition, in model creation code such as old_args.context_length, old_args.vocab_size, old_args.project_embed_dim, old_args.pretrain_zoo, old_args.pretrain_path
, none of these values is available.
Hi @Bill-rao ,
The training script you were using was for training. Please add the following two arguments to run --resume $SOME_PATH/avion_finetune_cls_lavila_vitb_best.pt --evaluate
. I'll add it to the readme.
Best, Yue
When I tried evolution only, I got an error:
My run script is as follows:
Depending on the error, I output all the arguments of old args.
The output is as follows:
It turns out that there is indeed a lack of "model"