Comments (10)
you can set lr_mult of batchnorm beta term to 0 to fix the beta, which is initialized as 0.
from mxnet-ssd.
@titikid You can leave gamma unfixed or not, depending your result, but I would prefer leave it free.
from mxnet-ssd.
Thanks @zhreshold , it worked!
from mxnet-ssd.
@zhreshold is this also fix 'gamma' term?
Should i remove 'fix_gamma=True' in bn layer?
from mxnet-ssd.
I already trained 2 models from scratch, all parameters is set as default (lr=0.004, batch=48, single gpu)
- model with fixed beta (only in base mobilenet network) and gamma: ~41.5% mAP after 220 epoches. Train log here
- model with fixed beta (only in base mobilenet network): ~42% mAP after 220 epoches. Train log here
@zhreshold Can you take a look and give me some tips for better mAP? should i train with bigger dataset first and fine-tune in voc2007/2012?
from mxnet-ssd.
you have to use ImageNet pre-trained weights, otherwise you need a DSSD variant.
from mxnet-ssd.
Hi @zhreshold
I found that if i remove "beta" term only, the convolution still has a small shift factor because the impact of "running_mean" term. i set "lr_mult" of "running_mean" term to 0 but i still see it updated during training. So, how can i completely remove it?
from mxnet-ssd.
@zhreshold can you give me some suggestion?
from mxnet-ssd.
@titikid For maximum flexibility I suggest you to use broadcast multiply instead of batchnorm itself. You have full control of how the behavior is without hacking batchnorm itself.
from mxnet-ssd.
@zhreshold i'm not really clear what do you mean for now, but i will investigate it. Thanks!
from mxnet-ssd.
Related Issues (20)
- problem of multi_layer_feature map output shape(mobilenet ssd) HOT 2
- Cannot start training vgg16_reduced HOT 1
- why train so much epoch(240epoch) than caffe ssd (12000iter==58epoch) HOT 1
- AttributeError: 'str' object has no attribute 'rank' HOT 8
- Error training inceptionv3 HOT 4
- Any suggestions about adjusting hyper-parameters?
- Error: There has no definition of variable "start_offset"
- ModuleNotFoundError: No module named 'common' HOT 5
- OSError: [WinError 126] The specified module could not be found HOT 2
- How to training SSD using my own datasets ?
- convert code to python3 HOT 1
- rename files inside vgg16_ssd_300_voc0712_trainval.zip
- rename mobilenet-ssd-512-0001.params
- problem of training HOT 1
- Difference between eval_metric and validation_metric?
- when convert caffe SSD to MXNET, how to deal repeated min_size
- bash commande for python 3
- pedestrian_detection训练网络时遇到错误
- fail to prepare dataset using python HOT 1
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 mxnet-ssd.