plant-seg icon indicating copy to clipboard operation
plant-seg copied to clipboard

Workaround to run plant-seg in colaboratory (with CUDA12.2 as of Jan. 2024)

Open totti0223 opened this issue 1 year ago • 2 comments

F.Y.I.

!pip install -q condacolab
import condacolab
condacolab.install()
!conda install -q -c conda-forge mamba
# https://github.com/conda-incubator/condacolab/issues/60
with open('/usr/local/conda-meta/pinned', 'w') as f:
    f.write("python 3.10.*\npython_abi 3.10.* *cp310*\ncuda-toolkit 12.2.*")
!mamba install -c pytorch -c nvidia -c conda-forge pytorch pytorch-cuda=12.1 pyqt plant-seg
!plantseg --config config.yaml

image

totti0223 avatar Jan 21 '24 02:01 totti0223