Counting multiple objects and loss function #2836
Unanswered
asadabbas09
asked this question in
Q&A
Replies: 1 comment
-
I personally would tackle this problem as a regression (per object), but I haven't trained a DNN on such a task yet so I'm not sure if there exists more elegant solutions than: loss = F.mse_loss(out.clamp(0, 30), y) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a 3D Point Cloud Dataset which has 5 different types of objects in it.
I have to count the number of objects, e.g.
I have count labels available for the different objects during training.
I know the range of individual object counts (0 - 30) as well.
But I'm not sure how I set up the loss function of this problem ( as classification or regression).
For me exact count is important, so does setting it up as a regression problem makes sense, where I would have 5 outputs, each containing a count estimate for one type of object.
Beta Was this translation helpful? Give feedback.
All reactions