Skip to content

Commit

Permalink
fix for bioimageio packager
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Mar 15, 2024
1 parent 01a89f4 commit c2f9c80
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
- name: Generate developer docs
run: pdoc -o ./dist bioimageio.spec
- run: cp README.md ./dist/README.md
- name: copy legacy file until BioImage.IO-packager is updated # TODO: remove if packager does not depend on it anymore
run: cp weight_formats_spec.json ./dist/weight_formats_spec.json
- name: Get branch name to deploy to
id: get_branch
shell: bash
Expand Down
196 changes: 196 additions & 0 deletions weight_formats_spec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
{
"consumers": {
"deepimagej": {
"background_image": "static/img/zoo-background.svg",
"config": {
"supported_weight_formats": [
"torchscript",
"tensorflow_saved_model_bundle"
]
},
"explore_button_text": "Start Exploring",
"icon": "https://raw.githubusercontent.com/deepimagej/models/master/logos/icon.png",
"id": "deepimagej",
"logo": "https://raw.githubusercontent.com/deepimagej/models/master/logos/logo.png",
"name": "DeepImageJ",
"resource_types": [
"model",
"notebook",
"application"
],
"splash_feature_list": null,
"splash_subtitle": "A user-friendly plugin to run deep learning models in ImageJ",
"splash_title": "deepImageJ",
"tags": [
"deepimagej"
],
"url_root": "https://raw.githubusercontent.com/deepimagej/models/master"
},
"fiji": {
"background_image": "static/img/zoo-background.svg",
"explore_button_text": "Start Exploring",
"icon": "https://fiji.sc/site/logo.png",
"id": "fiji",
"logo": "https://fiji.sc/site/logo.png",
"name": "Fiji",
"resource_types": [
"model",
"notebook"
],
"splash_feature_list": [],
"splash_subtitle": "Fiji is just ImageJ",
"splash_title": "Fiji",
"tags": [
"fiji"
],
"url_root": "https://raw.githubusercontent.com/oeway/ZeroCostDL4Mic/master"
},
"hpa": {
"about_url": "https://www.proteinatlas.org/",
"background_image": "static/img/zoo-background.svg",
"default_type": "model",
"explore_button_text": "Start Exploring",
"icon": "https://raw.githubusercontent.com/bioimage-io/tfjs-bioimage-io/master/apps/hpa-logo.gif",
"id": "hpa",
"logo": "https://raw.githubusercontent.com/bioimage-io/tfjs-bioimage-io/master/apps/hpa-logo.gif",
"name": "HPA",
"resource_types": [
"model",
"application"
],
"splash_feature_list": [],
"splash_subtitle": null,
"splash_title": "The Human Protein Atlas",
"tags": [
"hpa"
]
},
"ilastik": {
"background_image": "static/img/zoo-background.svg",
"config": {
"supported_weight_formats": [
"torchscript",
"pytorch_state_dict",
"onnx"
]
},
"default_type": "model",
"explore_button_text": "Start Exploring",
"icon": "https://raw.githubusercontent.com/ilastik/bioimage-io-models/main/image/ilastik-fist-icon.png",
"id": "ilastik",
"logo": "https://raw.githubusercontent.com/ilastik/bioimage-io-models/main/image/ilastik-fist-icon.png",
"name": "ilastik",
"resource_types": [
"model",
"application"
],
"splash_feature_list": null,
"splash_subtitle": "the interactive learning and segmentation toolkit",
"splash_title": "ilastik",
"tags": [
"ilastik"
],
"url_root": "https://raw.githubusercontent.com/ilastik/bioimage-io-models/main"
},
"imjoy": {
"background_image": "static/img/zoo-background.svg",
"config": {
"supported_weight_formats": [
"onnx"
]
},
"default_type": "application",
"explore_button_text": "Start Exploring",
"icon": "https://imjoy.io/static/img/imjoy-icon.svg",
"id": "imjoy",
"logo": "https://imjoy.io/static/img/imjoy-icon.svg",
"name": "ImJoy",
"resource_types": [
"notebook",
"application"
],
"splash_feature_list": [
"Minimal and flexible plugin powered web application",
"Server-less progressive web application with offline support",
"Rich and interactive user interface powered by web technologies"
],
"splash_subtitle": "Deep Learning Made Easy!",
"splash_title": "ImJoy",
"tags": [
"imjoy"
],
"url_root": "https://raw.githubusercontent.com/imjoy-team/bioimage-io-models/master"
},
"zero": {
"background_image": "static/img/zoo-background.svg",
"config": {
"supported_weight_formats": [
"keras_hdf5"
]
},
"default_type": "application",
"explore_button_text": "Start Exploring",
"icon": "https://raw.githubusercontent.com/HenriquesLab/ZeroCostDL4Mic/master/Wiki_files/ZeroCostLogo.png",
"id": "zero",
"logo": "https://raw.githubusercontent.com/HenriquesLab/ZeroCostDL4Mic/master/Wiki_files/ZeroCostLogo.png",
"name": "ZeroCostDL4Mic",
"resource_types": [
"model",
"application",
"dataset"
],
"splash_feature_list": [],
"splash_subtitle": "A Google Colab based no-cost toolbox to explore Deep-Learning in Microscopy",
"splash_title": "ZeroCostDL4Mic",
"tags": [
"ZeroCostDL4Mic"
],
"url_root": "https://raw.githubusercontent.com/oeway/ZeroCostDL4Mic/master",
"version": "1.7.1"
}
},
"weight_formats": {
"keras_hdf5": {
"consumers": [
"zero"
],
"description": "Keras HDF5 weights format",
"name": "Keras HDF5"
},
"onnx": {
"consumers": [
"ilastik",
"imjoy"
],
"description": "ONNX weights format",
"name": "ONNX"
},
"pytorch_state_dict": {
"consumers": [
"ilastik"
],
"description": "PyTorch state dictionary weights format",
"name": "Pytorch State Dict"
},
"tensorflow_js": {
"consumers": [],
"description": "Tensorflow Javascript weights format",
"name": "Tensorflow.js"
},
"tensorflow_saved_model_bundle": {
"consumers": [
"deepimagej"
],
"description": "Tensorflow Saved Model Bundle weights format",
"name": "Tensorflow Saved Model"
},
"torchscript": {
"consumers": [
"ilastik",
"deepimagej"
],
"description": "Torchscript weights format",
"name": "Torchscript"
}
}
}

0 comments on commit c2f9c80

Please sign in to comment.