Skip to content

your code don't have dinov2_base_patch14_reg ,only have dinov2_base_patch14 #1

@changganqi

Description

@changganqi

python train.py
--save-dir CIFAR100/dinov2_base_patch14_reg_378_BS32_epoch50_Lr2e5
--gpu 0
--model dinov2_base_patch14_reg
--max-lr 2e-5
--min-lr 1e-7
--warmup-epoch 1
--nb-epoch 100
--train-size 378
--batch-size 16
--optimizer adamw
--test-size 378 CIFAR100

Traceback (most recent call last):
File "/public/home/cgy/cgy/cqq/SimpleClassification/train.py", line 96, in
net.cuda()
NameError: name 'net' is not defined. Did you mean: 'next'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions