joonkeekim / mediar-napari

BSD 3-Clause "New" or "Revised" License
20 stars 1 forks source link

MEDIAR napari plugin

A napari plugin for MEDIAR: Harmony of Data-Centric and Model-Centric for Multi-Modality Microscopy

mediar-napari-plugin

This napari plugin was generated with Cookiecutter using [@napari]'s cookiecutter-napari-plugin template. Most of the UI design and implemenation is following the codes of cellpose-napari cellseg_sribd_napari.

Installation

conda create -y -n mediar-napari -c conda-forge python=3.8
conda activate mediar-napari
pip install "napari[all]"
cd mediar-napari
pip install -r requirements.txt
pip install -e .

Weights

You can download our trained model main_model.pth and sub_model.pth at google drive

Then, locate these files as below

  mediar-napari
  ├── imgs
  ├── segmentation_models_pytorch
  ├── src
  ├── weights
  │   ├── main_model.pth
  │   └── sub_model.pth
  └── ...

We will soon modify the code for using our weights easily

Running the software

napari -w mediar

You can also test with the sample image in imgs directory

License

Distributed under the terms of the BSD-3 license,"mediar-napari" is free and open source software