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: ClassificationModelTrainer.trainModel() got an unexpected keyword argument 'num_objects' #793

Closed
russellcurtis opened this issue Jan 29, 2023 · 1 comment

Comments

@russellcurtis
Copy link

I've been trying to follow these instructions on both Windows and Linux but I constantly come up against the error:
TypeError: ClassificationModelTrainer.trainModel() got an unexpected keyword argument 'num_objects'
when I run the training model.

Am I missing a dependency or something?

@OlafenwaMoses
Copy link
Owner

Kindly check the documentation: https://imageai.readthedocs.io/en/latest/customdetection/index.html

The function trainModel() no longer accept parameters. Parse them into setTrainConfig() instead

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

2 participants