priya-dwivedi/Deep-Learning

Not JSON Serializable

sandippaul7204 opened this issue · 2 comments

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?

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

女士,从 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?