Artificial Neural Networks and Deep Learning 2022 - Homework 2 Forum

Go back to competition Back to thread list Post in this thread

> CodaLab can not load the model ("weight_decay" error)

I'm unable to submit my model due to the following error

raise e.with_traceback(filtered_tb) from None
File "/usr/local/lib/python3.8/dist-packages/keras/optimizers/optimizer_experimental/optimizer.py", line 115, in _process_kwargs
raise TypeError(
TypeError: weight_decay is not a valid argument, kwargs should be empty for `optimizer_experimental.Optimizer`.

I don't use any "experimental" optimizer (I use Adam, just like in the labs) and I have no problems in loading my model locally

Posted by: Reebo @ Dec. 11, 2022, 10:25 p.m.

I have the same issue. Have you figured it out already?

Posted by: andreakrijgsman @ Dec. 16, 2022, 4:15 p.m.

Yes. I've downgraded the keras version to 2.10 and managed to solve it

Posted by: Reebo @ Dec. 16, 2022, 4:24 p.m.

Thank you, I will try it out!

Posted by: andreakrijgsman @ Dec. 16, 2022, 4:43 p.m.
Post in this thread