Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

imagenet_repvgg.yaml 1.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  1. # RepVGGA0 Imagenet classification training:
  2. # This example trains with batch_size = 64 * 4 GPUs, total 256.
  3. # Training time on 4 X GeForce RTX 3090 Ti is 10min / epoch, total time ~ 20h 22m (DistributedDataParallel).
  4. # Reach => 72.05 Top1 accuracy.
  5. #
  6. # Log and tensorboard at s3://deci-pretrained-models/repvggg-a0-imagenet-tensorboard/
  7. # Instructions:
  8. # Set the PYTHONPATH environment variable: (Replace "YOUR_LOCAL_PATH" with the path to the downloaded repo):
  9. # export PYTHONPATH="YOUR_LOCAL_PATH"/super_gradients/
  10. # Then for 320x320 image size for training:
  11. # python -m torch.distributed.launch --nproc_per_node=4 train_from_recipe_example/train_from_recipe.py --config-name=imagenet_repvgg
  12. defaults:
  13. - training_hyperparams: imagenet_repvgg_train_params
  14. - dataset_params: imagenet_dataset_params
  15. - arch_params: default_arch_params
  16. arch_params:
  17. build_residual_branches: True
  18. dataset_interface:
  19. _target_: super_gradients.training.datasets.dataset_interfaces.dataset_interface.ImageNetDatasetInterface
  20. dataset_params: ${dataset_params}
  21. data_dir: /data/Imagenet
  22. data_loader_num_workers: 8
  23. model_checkpoints_location: local
  24. load_checkpoint: False
  25. experiment_name: repvgg_a0_imagenet_reproduce_fix
  26. multi_gpu:
  27. _target_: super_gradients.training.sg_model.MultiGPUMode
  28. value: 'DDP'
  29. deci_model:
  30. _target_: super_gradients.SgModel
  31. experiment_name: ${experiment_name}
  32. multi_gpu: ${multi_gpu}
  33. architecture: repvgg_a0
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...