You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
RnnSequenceClassifier's member variable "isInitializationFinished" is not set at the end of member method "initializeClassifier(Instances data)".
Similar to the Dl4jMlpClassifier::initializeClassifier(Instances data), it should call Dl4jMlpClassifier::finishClassifierInitialization() at the end.
Otherwise, the "isInitializationFinished" flag will remain false, and the deserialized RnnSequenceClassifier object will have a null model. (Because in Dl4jMlpClassifier::writeObject, if the flag is not true, the model won't be serialized into the object file.)
Describe the bug
RnnSequenceClassifier's member variable "isInitializationFinished" is not set at the end of member method "initializeClassifier(Instances data)".
Similar to the Dl4jMlpClassifier::initializeClassifier(Instances data), it should call Dl4jMlpClassifier::finishClassifierInitialization() at the end.
Otherwise, the "isInitializationFinished" flag will remain false, and the deserialized RnnSequenceClassifier object will have a null model. (Because in Dl4jMlpClassifier::writeObject, if the flag is not true, the model won't be serialized into the object file.)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The model in the classifier should be the same as before the serialization.
Screenshots
Additional Information
Additional context
The text was updated successfully, but these errors were encountered: