David

davidrs

AI & ML interests

None yet

Recent Activity

Organizations

None yet

davidrs's activity

view reply

Very excited for this, thank you! We were just about to switch to timm and this makes it even easier!

Maybe a simple naive question, I'm trying to put together a demo training script that loads the base model from:
TimmWrapperForImageClassification.from_pretrained("timm/mobilenetv4_conv_medium.e500_r256_in1k").to("cuda")

but then trains on the food101 dataset, just to illustrate training on a new custom dataset. Training works fine, but inference return animal names as labels.

Should I be setting: label2id, num_labels, id2label, params when I load the finetuned model? It seems to store the data somewhere during training, but trainingarguments don't allow me to set TypeError: TrainingArguments.__init__() got an unexpected keyword argument 'label2id'

New activity in nvidia/FasterViT 4 months ago