BsiNet-torch icon indicating copy to clipboard operation
BsiNet-torch copied to clipboard

Tensor size mismatch during prediction

Open kcsumesh opened this issue 1 year ago • 1 comments

I received tensor mismatch error when making a prediction.

inputs = inputs.to(device = device)
outputs1, outputs2, outputs3 = model(inputs)

bsinet_prediction_error

kcsumesh avatar May 15 '24 04:05 kcsumesh

I received tensor mismatch error when making a prediction.

inputs = inputs.to(device = device) outputs1, outputs2, outputs3 = model(inputs)

bsinet_prediction_error

Training and testing should be keep with the same input sizes. Herein, you seem to need the input size is 512x512.

long123524 avatar May 15 '24 06:05 long123524