Skip to content

Commit

Permalink
Merge pull request #97 from WildMeOrg/revert-96-zebra-update
Browse files Browse the repository at this point in the history
Revert "Zebra update"
  • Loading branch information
Atticus29 authored Apr 8, 2021
2 parents 5717f20 + 5805c26 commit b473182
Show file tree
Hide file tree
Showing 25 changed files with 1,529 additions and 797 deletions.
45 changes: 0 additions & 45 deletions src/main/resources/bundles/IA.json
Original file line number Diff line number Diff line change
@@ -1,45 +0,0 @@
{
"_note": "The hierarchy of this file is genus->species->ia_class->_id_conf (id config). detect_config is under Genus->species. Keys with a leading underscore and their children are non-biological categories of config, like _id_conf and _detection_conf. Keys without leading underscores are semantic lookups that are derived from Wildbook data, e.g. Megaptera.novaeangliae.whale_fluke.",
"_global": {
"_note": "according to drew, these are not used and should be set within _confs below!",
"add_images": "https://kaiju.dyn.wildme.io:5010/api/image/json/",
"add_annotations": "https://kaiju.dyn.wildme.io:5010/api/annot/json/",
"start_identify": "https://kaiju.dyn.wildme.io:5010/api/engine/query/graph/",
"identify_review": "https://kaiju.dyn.wildme.io:5010/api/review/query/graph/",
"start_detect": "https://kaiju.dyn.wildme.io:5010/api/engine/detect/cnn/lightnet/",
"detect_review": "https://kaiju.dyn.wildme.io:5010/api/review/detect/cnn/yolo/",
"get_job_status": "https://kaiju.dyn.wildme.io:5010/api/engine/job/status/",
"get_job_result": "https://kaiju.dyn.wildme.io:5010/api/engine/job/result/"
},
"_default": "@Equus.quagga",
"Equus": {
"grevyi": "@Equus.quagga",
"quagga": {
"_default":{
"_id_conf": "@Equus.quagga.zebra._id_conf"
},
"_detect_conf": [
{
"start_detect": "https://kaiju.dyn.wildme.io:5010/api/engine/detect/cnn/lightnet/",
"labeler_algo": "densenet",
"labeler_model_tag": "zebra_v1",
"model_tag": "ggr2",
"nms_thresh": 0.4,
"sensitivity": 0.4
}
],
"quagga": "@Equus.quagga.zebra",
"zebra_grevys": "@Equus.quagga.zebra",
"zebra":{
"_id_conf": [
{
"query_config_dict": {
"sv_on":false
},
"description": "HotSpotter pattern-matcher"
}
]
}
}
}
}
8 changes: 4 additions & 4 deletions src/main/resources/bundles/IA.properties
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ newEnounterFrameGap=20

########################## Extracted Class Keywords
## Since coloration (wild dogs) is appended to the species portion of the class for body
## and to the part portion of the class for parts detection, there is no clear way to extract them.
## This is especially true since some species models will have them and others will not.
## and to the part portion of the class for parts detection, there is no clear way to extract them.
## This is especially true since some species models will have them and others will not.
## To squeeze around this, here are EXTRACTED KEYWORDS. Look for these words, across class strings,
## and set them as an keyword. This isn't awesome AT ALL, lets come up with a better way.
## and set them as an keyword. This isn't awesome AT ALL, lets come up with a better way.
## It's going to be tragically flawed until we have ANNOTATION LEVEL KEYWORDS/LABELS. --colin

iaExtractedKeyword0=standard #substring of the returned iaClass
iaExtractedKeywordValue=Standard Coloration #the keyword you want set on the asset
iaExtractedKeywordValue=Standard Coloration #the keyword you want set on the asset
Loading

0 comments on commit b473182

Please sign in to comment.