Skip to content

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

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'?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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