Unity-Technologies / barracuda-release

Other
564 stars 76 forks source link

Saved PNG image of Texture2D shows Blank Image. #321

Open sudheer-akki opened 1 year ago

sudheer-akki commented 1 year ago

Hi Team,

Thanks for the Barracuda GPU Support. currently, I am working on inferencing UNet ONNX model using Barracuda 3.0.0 version but the output Tensor is converted Texture2D then saved PNG, but it shows the blank image. I tried many but none of them worked well.

I would appreciate any insights about the issue

dilne commented 1 year ago

I've had this problem before, so it can be fixed. Sorry, but it's been a while! But heres some things to try:

Hope this helps!