Skip to content

Conversation

@Dhia-naouali
Copy link

@Dhia-naouali Dhia-naouali commented Sep 14, 2025

this edited section is instructing how to train on the ImageNet-1k dataset Fast setup: training DINOv3 ViT-L/16 on ImageNet-1k while passing ImageNet22k to the cli command which will instanciate the ImageNet22k class and not the intended ImageNet class as per dataloader.py :

    if name == "ImageNet":
        class_ = ImageNet
        if "split" in kwargs:
            kwargs["split"] = ImageNet.Split[kwargs["split"]]
    elif name == "ImageNet22k":
        class_ = ImageNet22k

edited section:

 PYTHONPATH=${PWD} python -m dinov3.run.submit dinov3/train/train.py \
  --nodes 4 \
  --config-file dinov3/configs/train/vitl_im1k_lin834.yaml \
  --output-dir <PATH/TO/OUTPUT/DIR> \
  train.dataset_path=ImageNet22k:root=<PATH/TO/DATASET>:extra=<PATH/TO/DATASET>
                             ^^^

this setup is aimed to train on `ImageNet-1k` but is instantiate the `ImageNet22k` class with the current command
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant