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

Need string to int mapping for species labels used in the phase 2 pre-trained model #6

Open
alekswithakayy opened this issue Nov 6, 2018 · 2 comments

Comments

@alekswithakayy
Copy link

alekswithakayy commented Nov 6, 2018

I can't seem to find how the species labels were mapped from strings to integers for the phase 2 pre-trained model. Was a specific mapping file used or were the animal names sorted and then numbered somehow?

@alekswithakayy alekswithakayy changed the title Need string to int mapping for animal labels used in the phase 2 pre-trained model Need string to int mapping for species labels used in the phase 2 pre-trained model Nov 6, 2018
@arashno
Copy link
Collaborator

arashno commented Nov 8, 2018

Hi,
Animal names sorted and then they numbered from 0 to 47.
Here is the mapping:
0|aardvark
1|aardwolf
2|baboon
3|batEaredFox
4|buffalo
5|bushbuck
6|caracal
7|cheetah
8|civet
9|dikDik
10|eland
11|elephant
12|gazelleGrants
13|gazelleThomsons
14|genet
15|giraffe
16|guineaFowl
17|hare
18|hartebeest
19|hippopotamus
20|honeyBadger
21|human
22|hyenaSpotted
23|hyenaStriped
24|impala
25|jackal
26|koriBustard
27|leopard
28|lionFemale
29|lionMale
30|mongoose
31|ostrich
32|otherBird
33|porcupine
34|reedbuck
35|reptiles
36|rhinoceros
37|rodents
38|secretaryBird
39|serval
40|topi
41|vervetMonkey
42|warthog
43|waterbuck
44|wildcat
45|wildebeest
46|zebra
47|zorilla

@wei201708
Copy link

I try an identification of elephant photo using the phase2 with pre-trained model and I get the label 21? Is the label list above right?

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