Skip to content

Instantly share code, notes, and snippets.

@f-rumblefish
Last active September 27, 2022 07:50
Show Gist options
  • Save f-rumblefish/8493156f8dbf765dc43c05d931b0b795 to your computer and use it in GitHub Desktop.
Save f-rumblefish/8493156f8dbf765dc43c05d931b0b795 to your computer and use it in GitHub Desktop.
file_name one_hot_encoding ordered_labels ordered_categories
----------------------------------------------------------------------------------------------------
0.png [0, 1, 1, 1, 0, 0, 1, 0, 0, 0] [6, 3, 2, 1] [Shirt, Dress, Pullover, Trouser]
1.png [1, 0, 0, 0, 1, 1, 1, 0, 0, 0] [5, 4, 0, 6] [Sandal, Coat, T-shirt/top, Shirt]
2.png [1, 1, 0, 1, 0, 0, 0, 0, 0, 0] [1, 3, 0, 3] [Trouser, Dress, T-shirt/top, Dress]
3.png [0, 0, 0, 0, 0, 1, 1, 1, 0, 0] [5, 5, 7, 6] [Sandal, Sandal, Sneaker, Shirt]
@ruchika61
Copy link

hello sir
how are you applying this meta data during training. How you applying with model.fit command.
There you took (train_image, train_lbl)
how this train_lbl contains information of meta_data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment