Open romainGuiet opened 4 months ago
Current workaround suggested by @lacan :
mamba create -n omnipose-106_2 'python==3.9.18' pytorch torchvision pytorch-cuda=11.8 -c pytorch -c nvidia -y
mamba activate omnipose-106_2
git clone https://github.com/kevinjohncutler/omnipose.git
cd omnipose
pip install -e .
But I had to also add : pip install aicsimageio
This install works with GPU support !
Cheers
R
and pip install torch_optimizer
to use -RAdam
Can reproduce the bug.
Current workaround suggested by @lacan :
The fix also works for me.
We recently observed an issue when calling omnipose from QuPath on Windows (but it works fine on Linux / WSL) if installation is made with conda/mamba:
mamba create -n omnipose 'python==3.9.18' pytorch torchvision pytorch-cuda=11.8 -c pytorch -c nvidia -y
mamba activate omnipose
pip install git+https://github.com/kevinjohncutler/omnipose.git@bf456e475be4490821f782cb785bbc943bb12abb
pip install aicsimageio torch_optimizer
BUT if installation is done with pip it works fine (but installation is a bit messier)
mamba create -n omnipose python=3.9 -y
mamba activate omnipose
pip install git+https://github.com/kevinjohncutler/omnipose.git@bf456e475be4490821f782cb785bbc943bb12abb
pip uninstall torch torchvision
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
pip install aicsimageio torch_optimizer scikit-image
We documented the issue on our wiki
pip install torch_optimizer
I can confirm the bug and the solution. The solution also works with python 3.10.13
Thanks Romain it's fixed and work for me too with these little correction for anaconda distribution on windows
conda create -n omnipose 'python==3.9.18' pytorch torchvision pytorch-cuda=11.8 -c pytorch -c nvidia
conda activate omnipose
conda install -c anaconda git
pip install git+https://github.com/kevinjohncutler/omnipose.git@bf456e475be4490821f782cb785bbc943bb12abb
pip uninstall torch torchvision
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
pip install aicsimageio torch_optimizer scikit-image
Hi everyone, I encountered the same issue.
After some investigations, I realized that there are a fft and ifft in scipy but they are in scipy.fft.
https://docs.scipy.org/doc/scipy/reference/generated/scipy.fft.fft.html
Shouldn't the code be:
from scipy.ftt import fft, ifft
instead of:
from scipy import fft, ifft
?
Current workaround suggested by @lacan :
mamba create -n omnipose-106_2 'python==3.9.18' pytorch torchvision pytorch-cuda=11.8 -c pytorch -c nvidia -y mamba activate omnipose-106_2 git clone https://github.com/kevinjohncutler/omnipose.git cd omnipose pip install -e .
But I had to also add :
pip install aicsimageio
This install works with GPU support !
Cheers
R
Hi everyone,
I tried this method on my iMac with M3 chip and ran Omnipose from my terminal, but got error message as:
pkg_resources.DistributionNotFound: The 'omnipose' distribution was not found and is required by the application
Does anyone know what's going wrong? Thanks a lot!!
Dear omnipose team,
Thank you for making your tool available for the community!
Following your installation instructions I created a new environment :
and to check the installation I ran:
omnipose --help
which returns :I tried to
pip install scipy
but it returns :Please find below the packages content :
Do you have any recommendations ?
Best regards,
Romain