I run the PUL/unsupervised.py and happen the error
'''
/usr/local/lib/python2.7/dist-packages/Keras-2.1.3-py2.7.egg/keras/models.py:291: UserWarning: Error in loading the saved optimizer state. As a result, your model is starting with a freshly initialized optimizer.
semi-supervised.py:95: UserWarning: Update your Model call to the Keras 2 API: Model(outputs=Tensor("av..., inputs=Tensor("in...)
net = Model(input=previous_model.input, output=previous_model.get_layer('avg_pool').output)
'''
what is your keras version?
I run the PUL/unsupervised.py and happen the error ''' /usr/local/lib/python2.7/dist-packages/Keras-2.1.3-py2.7.egg/keras/models.py:291: UserWarning: Error in loading the saved optimizer state. As a result, your model is starting with a freshly initialized optimizer. semi-supervised.py:95: UserWarning: Update your
Model
call to the Keras 2 API:Model(outputs=Tensor("av..., inputs=Tensor("in...)
net = Model(input=previous_model.input, output=previous_model.get_layer('avg_pool').output) ''' what is your keras version?