DeepForest icon indicating copy to clipboard operation
DeepForest copied to clipboard

main.evaluate does not work with batch_size > 1 and images of different lengths.

Open bw4sz opened this issue 2 years ago • 6 comments

predict.predict_file needs a resizing function.

bw4sz avatar Apr 13 '23 20:04 bw4sz

I have opened PR #438 where in the predict_file function I am updating the images with 400x400 dimensions.

satsin06 avatar Apr 24 '23 11:04 satsin06

Can I work on this issue?

das-ankur avatar Apr 26 '23 15:04 das-ankur

@das-ankur - there's already an open pull request on this one #439

ethanwhite avatar Apr 26 '23 16:04 ethanwhite

@ethanwhite okay.

das-ankur avatar Apr 26 '23 18:04 das-ankur

What should be the size of the images when size of the images are different? Does the model always works on 400 x 400 images?

das-ankur avatar Apr 27 '23 16:04 das-ankur

It looks like the initial attempt to fix this was never completed, but we'd welcome help on this one.

ethanwhite avatar Mar 18 '24 19:03 ethanwhite