You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/markemus/dev/pix2pix/stardist_imagej_script.py", line 52, in <module>
res = command.run(StarDist2D, False, "input", imp, "modelChoice", "Versatile (H&E nuclei)",).get()
NameError: name 'command' is not defined
The script includes the services:
#@ DatasetIOService io
#@ CommandService command
and runs successfully when it's run from the ImageJ gui. Do services not work in headless mode? Is there an alternative to using command to run StarDist2D, or another way to import it?
EDIT: The command I'm calling is: ./ImageJ-linux64 --headless --jython ~/dev/pix2pix/stardist_imagej_script.py
The text was updated successfully, but these errors were encountered:
The script includes the services:
and runs successfully when it's run from the ImageJ gui. Do services not work in headless mode? Is there an alternative to using
command
to run StarDist2D, or another way to import it?EDIT: The command I'm calling is:
./ImageJ-linux64 --headless --jython ~/dev/pix2pix/stardist_imagej_script.py
The text was updated successfully, but these errors were encountered: