Improve Pascal VOC ref example: model weights
See original GitHub issue🚀 Feature
When we run baseline configuration :
python -m torch.distributed.launch --nproc 2 --use_env -m py_config_runner ./code/scripts/training.py ./configs/train/baseline_resnet101.py
When model is instantiated, it downloads ImageNet pretrained weights for ResNet backbone. In above case, it downloads twice the same file. Let’s set up the model such that we run the training from scratch.
For Hacktoberfest/PyDataGlobal contributors, feel free to ask questions for details if any and say that you would like to tackle the issue. Please, take a look at CONTRIBUTING guide.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Train an Object Detection Model on Pascal VOC 2007 using ...
In this tutorial we use a pretrained ResNet50 backbone, initializing the weights to weights produced by training on the imagenet dataset. In ...
Read more >Object Detection with the Pascal VOC Dataset and Masterful
This guide will use the Pascal VOC 2007 dataset as a simple example of ... Optimization means finding the best weights for a...
Read more >6. Reproducing SoTA on Pascal VOC Dataset - GluonCV Toolkit
This is a semantic segmentation tutorial for reproducing state-of-the-art results on Pascal VOC dataset using Gluon CV toolkit.
Read more >How We Cleaned Up PASCAL and Improved mAP By 13%
We cleaned up all 17.120 images of the PASCAL VOC 2012 dataset in a week using Hasty's AI-powered QC feature. We found that...
Read more >YOLO/PASCAL-VOC detection tutorial
This tutorial demonstrates that Akida can perform object detection using a state-of-the-art model architecture. This is illustrated using a subset of the PASCAL...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, getting to it sorry for the delay
Difficult to say without seeing what is exactly the issue. Could you please detail which OS and which prebuilt docker image you are using and what exactly the issue do you have.
You can the batch_size to 4 or 6.
https://github.com/pytorch/ignite/issues/1297#issuecomment-695064086
For “from scratch” option, single GPU is OK. For “with ImageNet pretrained weights but model instantiation should download weights on rank 0 only process”, probably, it will be a bit difficult to reproduce on 1 GPU. Have you any experience with distributed computations ?