You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--
I keep on getting this error despite trying everything, any solutions ?
TypeError: ClassificationModelTrainer.trainModel() got an unexpected keyword argument 'num_objects'
The text was updated successfully, but these errors were encountered:
from imageai.Classification.Custom import ClassificationModelTrainer
model_trainer = ClassificationModelTrainer()
model_trainer.setModelTypeAsResNet50()
model_trainer.setDataDirectory(r"/content/drive/MyDrive/pets")
model_trainer.trainModel(num_objects=10, num_experiments=100, enhance_data=True,batch_size=32, show_network_summary=True)
--
I keep on getting this error despite trying everything, any solutions ?
TypeError: ClassificationModelTrainer.trainModel() got an unexpected keyword argument 'num_objects'
The text was updated successfully, but these errors were encountered: