cellpose icon indicating copy to clipboard operation
cellpose copied to clipboard

[BUG]

Open jinshachen opened this issue 1 year ago • 3 comments

ImportError: cannot import name 'train' from 'cellpose' (/usr/local/lib/python3.10/dist-packages/cellpose/init.py)

jinshachen avatar Mar 29 '24 13:03 jinshachen

pip install cellpose --upgrade

JINGHANcoco avatar Apr 02 '24 10:04 JINGHANcoco

@jinshachen please reply with your code that produces the error, the OS your working on, the version of cellpose, the stuff we ask for in the issue submission

mrariden avatar Apr 17 '24 20:04 mrariden

I also have the same issue. Code that produces the error - from cellpose import train OS -Windows 10 Cellpose version - 2.2.2 The error that I get - ImportError: cannot import name 'train' from 'cellpose' (c:\Users\XXXXX\Anaconda3\envs\cellpose\lib\site-packages\cellpose_init_.py)

I would like to use the 2.2.2 version of cellpose and train a model from a Jupyter notebook

sugan89 avatar Apr 29 '24 20:04 sugan89

this module is only available in cellpose3, otherwise you should train through the CLI or read the source code

carsen-stringer avatar Sep 11 '24 07:09 carsen-stringer