priya-dwivedi / Deep-Learning

MIT License
3.35k stars 2.49k forks source link

Not JSON Serializable #120

Open sandippaul7204 opened 4 years ago

sandippaul7204 commented 4 years ago

Madam while running train.py from Deep-Learning/depth_estimation/ i received the following error TypeError: 'Not JSON Serializable' while doing tf.keras.Model.save

after completing one epoch

On line: basemodel.save(runPath + '/model.h5') Using Keras 2.4.4, Tensorflow 1.13.1 Ubantu 18

Can you help?

Samad08 commented 3 years ago

I wanted to write the same but I found your issue first, Did you figure anything out? If yes, can you pls share

LiAnwen99 commented 1 year ago

女士,从 Deep-Learning/depth_estimation/ 运行 train.py 时,我收到以下错误 TypeError: 'Not JSON Serializable' while doing tf.keras.Model.save

完成一个纪元后

在线: basemodel.save(runPath + '/model.h5') 使用 Keras 2.4.4, Tensorflow 1.13.1 Ubantu 18

你能帮我吗?

Have you solved the error?