omoindrot / tensorflow-triplet-loss

Implementation of triplet loss in TensorFlow
https://omoindrot.github.io/triplet-loss
MIT License
1.12k stars 284 forks source link

ValueError: An initializer for variable model/block_1/conv2d/kernel of <dtype: 'string'> is required #17

Open FSet89 opened 5 years ago

FSet89 commented 5 years ago

I successfully create a dataset with 224x224x3 images and I'm feeding it to the estimator instead of the MNIST dataset. However, when I run the train script, I got the error

ValueError: An initializer for variable model/block_1/conv2d/kernel of <dtype: 'string'> is required

Could it be related to the structure of the dataset?