We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69cbcab commit a4ce0b3Copy full SHA for a4ce0b3
tasks/ssl/mae/main_finetune.py
@@ -317,13 +317,13 @@ def main(args):
317
"alpha": args.mixup,
318
"prob": args.mixup_switch_prob,
319
"epsilon": args.smoothing,
320
- "num_classes": args.nb_classes
+ "class_num": args.nb_classes
321
}
322
batch_transform_ops['Cutmix'] = {
323
"alpha": args.cutmix,
324
325
326
327
328
mixup_fn = transforms.TransformOpSampler(**batch_transform_ops)
329
0 commit comments