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
Fine-tuning a keras model using active learning #151
Comments
According to comments in the Keras source code, the scikit-learn wrapper is deprecated and the scikeras external lib should be used. (As I was not following Keras development, this surprised me as well, I think it is a recent decision.) Can you try using scikeras? Just a side-note, I am planning on adding custom minimal wrappers that will make sure things like this doesn't happen in the future. |
I think you can also write a customer Class, whose structure is just like sklearn model: For example a transferlearning model using Keras could be:
|
Hi there,
I would like to apply active learning to a keras model trained with another script.
The model, with architecture, is stored in a .h5 file. I followed the keras example, but in my case I want to set the initial training set to None since my only aim is to get the selected indices for new samples.
I get the following error:
AttributeError: 'KerasClassifier' object has no attribute 'model'
Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: