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

Predict error #17

Closed
jsalbert opened this issue May 15, 2018 · 2 comments
Closed

Predict error #17

jsalbert opened this issue May 15, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jsalbert
Copy link
Contributor

Looks like for keras version == 2.1.4, we have an error when using predict.
p = evaluator.predict('/data/datasets/psoriasis_dataset_clean/4way/validation/00007_sl/030205115400_693_jpg-395454.jpg')

   1290             else:
   1291                 progbar = Progbar(target=num_samples,
-> 1292                                   stateful_metrics=self.stateful_metric_names)
   1293 
   1294         indices_for_conversion_to_dense = []

AttributeError: 'Model' object has no attribute 'stateful_metric_names'
@jsalbert jsalbert added the bug Something isn't working label May 15, 2018
@jsalbert jsalbert self-assigned this May 15, 2018
@jsalbert
Copy link
Contributor Author

Not happening with Keras==2.1.6

@jsalbert
Copy link
Contributor Author

Quick fix : keras-team/keras#9394

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant