I am having the same issue, trying to run the same code, but not in Colab. I am trying to recreate the same code, but with 23 classes, and I am getting the following : "ValueError: Received incompatible tensor with shape (5,) when attempting to restore variable with shape (23,) and name custom_gesture_recognizer_out/bias:0."
Any ideas?