popcornell / keras-triplet-center-loss

Simple Keras implementation of Triplet-Center Loss on the MNIST dataset
GNU General Public License v3.0
44 stars 12 forks source link

triplet_center_loss:TypeError #1

Open huangzhenjie opened 4 years ago

huangzhenjie commented 4 years ago

when i want to run the triplet_center_loss, the error is show that ,how can i fix it, thanks.

"TypeError: Input 'y' of 'Equal' Op has type float32 that does not match type uint8 of argument 'x'"

popcornell commented 4 years ago

Can you provide the full traceback ?