Comments (3)
In instruction you decayed the learning rate by 90% when the validation loss stopped improving for long periods, so how many epochs should I wait for this long periods? @sgrvinod
from a-pytorch-tutorial-to-object-detection.
Hi @chenf99, are you using the same datasets that I used? The parameters are the same as in the paper, except for the batch size. I trained using a batch size of 8, but for the same number of epochs as in the paper.
I think I waited around 15 epochs to see if the loss improved before early-stopping. But I realize that this just complicates the training. So I removed the early-stopping/validation and simply followed the procedure in the paper. (A learning rate of 1e-3 for N epochs, 1e-4 for M epochs, 1e-5 for M epochs. N, M are the number of epochs corresponding to 80k, 20k iterations respectively at the paper's batch size of 32.) This also slightly improved my mAP (from 77.1 to 77.2), so I guess it's just simpler and better to not do any early-stopping/validation and to simply follow the above schedule. I have now updated the code and tutorial to reflect this.
I don't know why you are getting a loss of 3.5 though. You could run eval.py
to check what your mAP is, since loss can be measured differently. Also, there have been some breaking changes since PyTorch version 0.4
, so did you solve those?
from a-pytorch-tutorial-to-object-detection.
@sgrvinod Thank you for your reply, I tried again and I can get good result this time.
from a-pytorch-tutorial-to-object-detection.
Related Issues (20)
- Wrong feature map size after conv7 in the picture
- What is the order of execution of programs
- Predict box shape directly instead of offsets?
- Accuracy, precision, recall ,TF,FP,FN,TN
- gender classification
- How to use on custom dataset HOT 2
- Possible bug in the trained checkpoint?
- MultiBox Los Calculation
- broken .tar file with pretrained model
- classification layers arent training
- PredictionConvolutions separates locs and classes, doesn't follow the paper?
- Pre-trained model is not available HOT 2
- What if the x_min, y_min(or x_max, y_max) goes beyond (0, 1) when decoding gxgy to xy?
- question about MultiBoxLoss and the Model HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: 'generator_checkpoint19.pth.tar'
- Can I use it for realtime or video
- prior box not clipped as expected HOT 12
- performence with not clipped prior boxes HOT 1
- mAP is 0
- ONNX model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a-pytorch-tutorial-to-object-detection.