Comments (8)
I think I could use _divergence_reg_losses
with different sigma_t
values and mu_t
as the regressed coordinate and then see which sigma_t
has the lowest loss. That would be kind of a brute force approach, but better than nothing
from dsntnn.
If you look at the variance_reg_losses
function you can find an example of calculating the variance of heatmaps:
Lines 233 to 262 in 4f20f5a
I haven't tried using it this way myself, but it could be possible to use this sort of calculation as a proxy for confidence.
from dsntnn.
Very nice, have not seen this function. This seems to work pretty good in my first tests. Just have to find a nice way to transform it into values between 0 and 1, but I'll figure it out. Thank you!
from dsntnn.
@anibali, I use the function variance_reg_losses() with to get confidence. But the confidence is 0.05 very low with unnormalized_heatmaps and 3.9954e+08 very high with normalized_heatmaps. How to get normal landmark confidence? if I make traditional gauss heatmap like figure2b in the paper, the heatmap value is [0, 1], and I will try it.
from dsntnn.
You will need to calibrate the outputs from variance_reg_losses
yourself. Keep in mind that it should have an inverse relationship with confidence (a large value indicates low confidence). It should be used with normalised heatmaps.
Note that this is not something that I have tried myself, so you will need to do some experimenting.
from dsntnn.
@anibali Thanks your replay. I have cablibrated the outputs and experimented. In the example of basic_usage.md, add three different points [24, 27] [28, 32] [32, 15]. But the three points output values have big difference, eg, 0.2, 0.02, 0.12. Is it normal? Cablibrate by abs(output - output_mean)/(max_output - min_output) and is it right? If only one point as input, this cablibrate method doesnot work.
If it can make gauss like function gaussian(img, pt, sigma) ? And I have a try.
from dsntnn.
You just have to experiment with your actual data. There is no way to tell whether the spread of numbers is meaningful for three points, you have to observe what the values are like for both good and bad predictions to see whether they are correlated.
from dsntnn.
ok, thanks, I have a try.
from dsntnn.
Related Issues (20)
- Converting to onnx HOT 2
- RuntimeError: expected flip dims axis >= 0, but got min flip dims=-1 HOT 1
- dsnt in testing phase HOT 8
- Working with 3D HOT 8
- Suggestion: Define X,Y grid so that they include -1 and 1 HOT 6
- DSNT support only 1 point in 1 heatmap? HOT 2
- Question when I use dsnt in my net HOT 8
- A question about the input and target HOT 4
- how to get the confidence score from the output result? HOT 2
- Is Frobenius computed correctly? HOT 2
- 3 dimension coordinate regression HOT 1
- increase batch size 1 to 16, it made wrong result. HOT 7
- For the normalized_linspace function HOT 2
- Pip install fails HOT 1
- Question re. occluded or missing points in training data HOT 2
- Use generated 2d-guassion heatmap as the regularization. HOT 2
- output coords are negative floats HOT 15
- Values outside (-1,1) HOT 1
- Trace warnings when trying to jit.trace a model HOT 11
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 dsntnn.