popcornell / keras-triplet-center-loss

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

triplet_center_loss:TypeError #1

Open huangzhenjie opened 5 years ago

huangzhenjie commented 5 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 5 years ago

Can you provide the full traceback ?