TFHubSample icon indicating copy to clipboard operation
TFHubSample copied to clipboard

What is the data formate in your project?

Open Yangkaitai opened this issue 6 years ago • 1 comments

I try to retrain a model with code in FeatureVector floder. But I don't know the format of all the data exactly. I try to contribute the csv file myself, but it doesn't work and throw an error "ValueError: Cannot feed value of shape (3246, 1) for Tensor 'pl_labels:0', which has shape '(?, 85)'". Please help me. Thank you.

Yangkaitai avatar Aug 08 '19 03:08 Yangkaitai

I have solved this problem myself. The first row of the label file is the name of each image. The next rows are the label of the file. The label is one-hot encoding.

Yangkaitai avatar Aug 09 '19 06:08 Yangkaitai