Skip to content

Instantly share code, notes, and snippets.

@lguerard
lguerard / omnipose.yml
Created October 20, 2022 11:37
Omnipose YAML
name: omnipose
channels:
- conda-forge
- anaconda
- defaults
- pytorch-lts
dependencies:
- cudatoolkit=10.1.243
- conda-forge::git
- conda-forge::mahotas
# ─── SCRIPT PARAMETERS ──────────────────────────────────────────────────────────
#@ ImagePlus imp_nuclei
#@ ResultsTable rt
#@ OpService ops
#@ UIService ui
#@ CommandService command
# ─── IMPORTS ────────────────────────────────────────────────────────────────────
#@ ImagePlus imp
#@ CommandService command
#@ File(label="Folder with your environment", style="directory", description="Folder with the conda environment") env_folder
from ij import *
from ch.epfl.biop.wrappers.cellpose.ij2commands import Cellpose_SegmentImgPlusAdvanced, CellposePrefsSet
from ij.process import *
from ij.gui import *
from java.awt import *