[BUG]
ImportError: cannot import name 'train' from 'cellpose' (/usr/local/lib/python3.10/dist-packages/cellpose/init.py)
pip install cellpose --upgrade
@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
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
this module is only available in cellpose3, otherwise you should train through the CLI or read the source code