Closed woshichuanqilz closed 5 years ago
For your question #3 I believe you should use the .h5 file with the highest accuracy (acc) score.
How many images did you use to train your model? It is paramount that your training images for each type of objects should be up to 500 numbers or more to ensure your generated models can predict new images correctly.
Getting the same error with >900 train images.
My train code:
test code:
Whatever image I put in always give one test of one result, like, apple always be 99%+: apple : 99.97028708457947 banana : 0.02971168141812086
My goal is to use the imageai to recognize the heros in dota. Because dota images is much simpler than the real world, I guess less train will be work. One hero just has several images from some visual angles. Am I right, hope can get some advice from you, thank you ~