the model save but dosnt load - ValueError: Unknown layer: TCN
atila-gh opened this issue ยท 4 comments
atila-gh commented
philipperemy commented
@nas2000co can you follow the example in
and tell me?philipperemy commented
I guess you need to give custom_objects={'TCN': TCN}
when you load the model. Otherwise the layer will be unknown.
atila-gh commented
Thanks So much thats worked very well !!!!!!!!!!!!!!!!!!!!
new_model= tf.keras.models.load_model('model.h5' , custom_objects={'TCN': TCN})
philipperemy commented
Great!!!! I'll close this issue. Happy I could help :)