matthew-sochor-zz / fish.io.ai

Krillin' it since 2017
MIT License
4 stars 3 forks source link

Scores array to db #46

Closed thenomemac closed 7 years ago

thenomemac commented 7 years ago

Example dict for you to interface with @matthew-sochor, will be returned from ".get(fish_pic_id)" on database:

 {'img_path': '/home/thenome/fish.io.ai/data/fish_pics/18d44905-06fb-4b85-811a-d3f2367821fe.jpg', 'species_pred': 'carp', 'y_labs': ['carp', 'walleye', 'white_perch', 'yellow_perch'], 'y_pred': [0.9997746348381042, 7.380048919003457e-05, 0.000131766137201339, 1.973541293409653e-05], 'results': {'species': 'carp', 'invasive': True, 'length': 8}}
matthew-sochor-zz commented 7 years ago

:perfecto:

(looks like you need a rebase or maybe git will be magical and do it for you )