softmax output of all classes works for inference, but triggers an error during training #2815
Unanswered
pieterblok
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello,
For a specific application, I want to output the softmax outputs (probabilities) of all classes after the NMS instead of only one probability for the highest class. So I added some code in fast_rcnn.py (fast_rcnn_inference_single_image):
When I run my evaluation script, the output dictionary nicely contains the "new" softmaxes outputs. So far so good.
However when I run the training script, and specifically the evaluator (DefaultPredictor) during training, then an error occurs: "CUDA error: device-side assert triggered", specifically on this line:
I was wondering how I can neatly get the softmax output, while not crashing in the training mode. Does anyone have a nice solution?
Beta Was this translation helpful? Give feedback.
All reactions