Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError #829

Open
CodeWithChai opened this issue Nov 2, 2023 · 0 comments
Open

TypeError #829

CodeWithChai opened this issue Nov 2, 2023 · 0 comments

Comments

@CodeWithChai
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant