mmsegmentation icon indicating copy to clipboard operation
mmsegmentation copied to clipboard

How to change the model outcome dtype from int64 to uint8 or float32

Open fschvart opened this issue 1 year ago • 1 comments

I'm training a binary semantic segmentation model using the PIDnet architecture. I'm not sure why, but even though I only have 0s and 1s, my model output is still int64. This is a problem for me because it's causing some problems when I try to convert the model to TensorRT. Is there a way to change the dtype of the model output?

Thanks!

fschvart avatar Jun 16 '23 18:06 fschvart