CyberZHG / keras-lr-multiplier

Learning rate multiplier
https://pypi.org/project/keras-lr-multiplier/
Other
46 stars 11 forks source link

Init Error #8

Closed ciaranoceallaigh96 closed 3 years ago

ciaranoceallaigh96 commented 3 years ago

Having an init error in multiplier.py

super(LRMultiplier, self).init(**kwargs) TypeError: init() missing 1 required positional argument: 'name'

Version Info

Minimal Codes To Reproduce from keras.models import Sequential from keras.layers import Dense from keras_lr_multiplier import LRMultiplier

model = Sequential() model.add(Dense( units=5, input_shape=(5,), activation='tanh', name='Dense', )) model.add(Dense( units=2, activation='softmax', name='Output', )) model.compile( optimizer=LRMultiplier('adam', {'Dense': 0.5, 'Output': 1.5}), loss='sparse_categorical_crossentropy', )

stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.