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_resnet50.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
  1. # ResNet50 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 25min / epoch, total time ~ 46 hours.
  4. # Reach => 76.2 Top1 accuracy.
  5. # BE AWARE THAT THIS RECIPE USE DATA_PARALLEL, WHEN USING DDP FOR DISTRIBUTED TRAINING THIS RECIPE REACH ONLY 75.4 TOP1
  6. # ACCURACY.
  7. #
  8. # Log and tensorboard at s3://deci-pretrained-models/resnet50_dataparallel/
  9. # Instructions:
  10. # running from the command line, set the PYTHONPATH environment variable: (Replace "YOUR_LOCAL_PATH" with the path to the downloaded repo):
  11. # export PYTHONPATH="YOUR_LOCAL_PATH"/super_gradients/
  12. # Then:
  13. # python train_from_recipe_example/train_from_recipe.py --config-name=imagenet_resnet50
  14. defaults:
  15. - training_hyperparams: imagenet_resnet50_train_params
  16. - dataset_params: imagenet_dataset_params
  17. - arch_params: resnet50_arch_params
  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: resnet50_imagenet
  26. multi_gpu:
  27. _target_: super_gradients.training.sg_model.MultiGPUMode
  28. value: 'DP'
  29. deci_model:
  30. _target_: super_gradients.SgModel
  31. experiment_name: ${experiment_name}
  32. multi_gpu: ${multi_gpu}
  33. architecture: resnet50
Tip!

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

Comments

Loading...