79159748

Date: 2024-11-05 15:35:07
Score: 0.5
Natty:
Report link

I had a similar error in a code that worked in 2023 and does not work anymore in 2024. The problem was solved by replacing : encoded_model = Model(inputs=NN_model.input,outputs=NN_model.layers[0].output) by encoded_model = Model(inputs=NN_model.layers[0].input,outputs=NN_model.layers[0].output) or by encoded_model = Model(inputs=NN_model.inputs,outputs=NN_model.layers[0].output) I hope this helps solving your problem.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: omar al hammal