Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlantVillage Dataset For Tensorflow #7

Open
spikopat opened this issue Jun 8, 2019 · 2 comments
Open

PlantVillage Dataset For Tensorflow #7

spikopat opened this issue Jun 8, 2019 · 2 comments

Comments

@spikopat
Copy link

spikopat commented Jun 8, 2019

First of all thank you for sharing theese instructions. I have a question about creating label map. I going to use this dataset with tensorflow but how can i create label map for AI? I didn't find anything about it on internet.

@Emizy
Copy link

Emizy commented Mar 22, 2020

A label map is a list of item that you are currently training the system e.g assuming am training on a dataset that contact two classes CAT AND DOG, my label map will contain the object name cat or dog that point to the annotation object name.

example
item {
id: 1
name: 'cat'
}
item {
id: 2
name: 'dog'
}

in case you are using the TensorFlow model when generating your records from the .CSV file, the label map item id must correspond to the item listed inside TensorFlow records generating function

example:
def class_text_to_int(row_label):
if row_label == 'cat':
return 1
elif row_label == 'dog':
return 2

i hope this help someone later on..

@sajidjavid544
Copy link

hi, i need annotation of data (CSV file ) to train ssd mobile net . Please guide me about csv file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants