Comments (2)
@shuuki4 thanks for your question. I guess your question is already answered in #4 . Equation (3) in the paper should be fixed, the code implementation is correct. Sorry for the confusion.
from squeezedet.
@BichenWuUCB I have one more question related to this issue. If the code implementation is correct, I think this part of the code (Line 170 of nn_skeleton.py
) should be changed:
box_center_x = tf.identity(
anchor_x + delta_x * anchor_w, name='bbox_cx')
box_center_y = tf.identity(
anchor_y + delta_y * anchor_h, name='bbox_cy')
box_width = tf.identity(
anchor_w * util.safe_exp(delta_w, mc.EXP_THRESH),
name='bbox_width')
box_height = tf.identity(
anchor_h * util.safe_exp(delta_h, mc.EXP_THRESH),
name='bbox_height')
Since delta is divided by ground truth bboxes' width and height, gt boxes' width and height should be used when stretching box_center_x and box_center_y. However, this code uses anchor_w and anchor_h to rescale the box center. Therefore, if the code implementation is correct, this code should also be changed to use ground truth box width/height. Even if this information does not directly affect the learning process, it affects final prediction for raw bounding box coordinates and also affect visualizations, so I think this code should be fixed.
One more concern is that eval.py
uses this code (model.det_boxes
) for final bounding box prediction. Since there is no ground truth for test data split, it is impossible to rescale delta into real coordinates.
from squeezedet.
Related Issues (20)
- Gpu occupancy rate
- where is base_model_config.py?
- Will random initialization parameters have no precision? HOT 1
- Fine-tune SqueezeDet from sparse labels
- How to do hard negative mining HOT 1
- Publish frozen model? HOT 3
- Problem converting to TFLite HOT 3
- low GPU usage
- 8-bit weights
- Deploying squeezeDet on mobile HOT 3
- How to convert checkpoint of squeezedet to frozen graph for tflite conversion?! HOT 1
- Image resolution problem
- How to run demo.py using train.py checkpoint model HOT 1
- Train with different size and Inference with different size.
- Fine tuning with the model
- Train error and Eval error
- Using negative samples for training.
- print weights per layer during training
- Performance issue in src/eval.py (by P3) HOT 1
- The loss plateaus after 100 Epoch
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 squeezedet.