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

AttributeError: 'CustomImagePrediction' object has no attribute 'loadfullModel' #1

Open
kabilramar opened this issue Jul 26, 2019 · 1 comment

Comments

@kabilramar
Copy link

Thanks for your wonderful tutorial

I am getting the error like this
AttributeError: 'CustomImagePrediction' object has no attribute 'loadfullModel'

What may be the reason ?

@saifhassan
Copy link

I got same error and I resolved adding predictor.setModelTypeAsResNet() following line after predictor = CustomImagePrediction()

Use following code:

predictor = CustomImagePrediction()
predictor.setModelTypeAsResNet()
predictor.setModelPath(model_path="action_net_ex-060_acc-0.745313.h5")
predictor.setJsonPath(model_json="model_class.json")
predictor.loadModel(num_objects=16)

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