Open IlyaMichlin opened 5 years ago
I also encounter this problem.
I also encounter this problem.
I guess you won't see a solution in the nearest future, keras_lookahead seems to be pure keras implementation https://github.com/bojone/keras_lookahead/issues/6
@IlyaMichlin @herosunly @fzyzcjy This may be due to a keras version mismatch, which I have also experienced. You can solve the problem in this way: " pip install keras==2.2.4 " ;
---> 31 if model._uses_dynamic_learning_phase(): 32 inputs += [K.learning_phase()] 33 fast_params = model._collected_trainable_weights
AttributeError: 'Sequential' object has no attribute '_uses_dynamic_learning_phase'