OlafenwaMoses/ImageAI

TypeError: trainModel() got an unexpected keyword argument 'num_objects'`

ARatcliffe101 opened this issue · 1 comments

line 5, in <module> model_trainer.trainModel(num_objects=4, num_experiments=100, enhance_data=True, batch_size=32, show_network_summary=True) TypeError: trainModel() got an unexpected keyword argument 'num_objects'

On latest version with everything updated

Please refer to the documentation: https://imageai.readthedocs.io/en/latest/custom/index.html

The following arguments have been removed from the trainModel() function from 3.0.2 and higher:

  • num_objects
  • enhance_data
  • show_network_summary