A napari plugin for MEDIAR: Harmony of Data-Centric and Model-Centric for Multi-Modality Microscopy
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.
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 .
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
napari -w mediar
You can also test with the sample image in imgs directory
Distributed under the terms of the BSD-3 license,"mediar-napari" is free and open source software