@@ -31,6 +31,10 @@ def _get_model_registry():
3131 "vesicles_2d" : "eb0b74f7000a0e6a25b626078e76a9452019f2d1ea6cf2033073656f4f055df1" ,
3232 "vesicles_3d" : "b329ec1f57f305099c984fbb3d7f6ae4b0ff51ec2fa0fa586df52dad6b84cf29" ,
3333 "vesicles_cryo" : "782f5a21c3cda82c4e4eaeccc754774d5aaed5929f8496eb018aad7daf91661b" ,
34+ # Additional models that are only available in the CLI, not in the plugin model selection.
35+ "vesicles_2d_maus" : "01506895df6343fc33ffc9c9eb3f975bf42eb4eaaaf4848bac83b57f1b46e460" ,
36+ "vesicles_3d_endbulb" : "8582c7e3e5f16ef2bf34d6f9e34644862ca3c76835c9e7d44475c9dd7891d228" ,
37+ "vesicles_3d_innerear" : "924f0f7cfb648a3a6931c1d48d8b1fdc6c0c0d2cb3330fe2cae49d13e7c3b69d" ,
3438 }
3539 urls = {
3640 "active_zone" : "https://owncloud.gwdg.de/index.php/s/zvuY342CyQebPsX/download" ,
@@ -42,6 +46,10 @@ def _get_model_registry():
4246 "vesicles_2d" : "https://owncloud.gwdg.de/index.php/s/d72QIvdX6LsgXip/download" ,
4347 "vesicles_3d" : "https://owncloud.gwdg.de/index.php/s/A425mkAOSqePDhx/download" ,
4448 "vesicles_cryo" : "https://owncloud.gwdg.de/index.php/s/e2lVdxjCJuZkLJm/download" ,
49+ # Additional models that are only available in the CLI, not in the plugin model selection.
50+ "vesicles_2d_maus" : "https://owncloud.gwdg.de/index.php/s/sZ8woLr0zs5zOpv/download" ,
51+ "vesicles_3d_endbulb" : "https://owncloud.gwdg.de/index.php/s/16tmnWrEDpYIMzU/download" ,
52+ "vesicles_3d_innerear" : "https://owncloud.gwdg.de/index.php/s/UFUCYivsCxrqISX/download" ,
4553 }
4654 cache_dir = get_cache_dir ()
4755 models = pooch .create (
@@ -108,6 +116,10 @@ def get_model_training_resolution(model_type: str) -> Dict[str, float]:
108116 "vesicles_2d" : {"x" : 1.35 , "y" : 1.35 },
109117 "vesicles_3d" : {"x" : 1.35 , "y" : 1.35 , "z" : 1.35 },
110118 "vesicles_cryo" : {"x" : 1.35 , "y" : 1.35 , "z" : 0.88 },
119+ # TODO add the correct resolutions, these are the resolutions of the source models.
120+ "vesicles_2d_maus" : {"x" : 1.35 , "y" : 1.35 },
121+ "vesicles_3d_endbulb" : {"x" : 1.35 , "y" : 1.35 , "z" : 1.35 },
122+ "vesicles_3d_innerear" : {"x" : 1.35 , "y" : 1.35 , "z" : 1.35 },
111123 }
112124 return resolutions [model_type ]
113125
0 commit comments