-1

I have trained a model on some labeled images gathered from a public source. The set has echocardiogram scannings of the heart with classes of no, mild or severe disease. It was trained with a CNN network.

When I run predict(model, ..) or model%>%predict on an entire array of images, I get a decent distribution among the classes, but if I do on the same pictures one by one nearly all of them switches to "no", even in the rows where it was "severe" before.

Certainly I need to know what to do here?

HawkLane
  • 9
  • 1
  • It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick Aug 16 '23 at 13:24

0 Answers0