tensorflow-deep-learning icon indicating copy to clipboard operation
tensorflow-deep-learning copied to clipboard

Got error on reverting model_2

Open TarunSehgal27 opened this issue 2 years ago • 1 comments

Notebook -> 05_transfer_learning_in_tensorflow_part_2_fine_tuning_video Timestamp -> 4:10 model_2.load_weights(checkpoint_path)

ValueError: Received incompatible tensor with shape (1280, 10) when attempting to restore variable with shape (1, 1, 1152, 48) and name Adam/m/block7a_se_reduce/kernel:0.

TarunSehgal27 avatar Oct 26 '23 07:10 TarunSehgal27

Hi @TarunSehgal27 ,

Please see here for solutions: https://github.com/mrdbourke/tensorflow-deep-learning/issues/553

Let me know if it helps!

mrdbourke avatar Nov 01 '23 00:11 mrdbourke