Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
grp-bio-it
ai4ia
Commits
9ff4dd6a
Commit
9ff4dd6a
authored
Oct 19, 2020
by
Constantin Pape
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update installation instructions
parent
8e98ccd6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
10 deletions
+17
-10
cellpose/README.md
cellpose/README.md
+1
-0
cellpose/check_gpu.py
cellpose/check_gpu.py
+5
-0
cellpose/environment-gpu.yaml
cellpose/environment-gpu.yaml
+9
-10
cellpose/requirements.txt
cellpose/requirements.txt
+2
-0
No files found.
cellpose/README.md
View file @
9ff4dd6a
...
...
@@ -16,6 +16,7 @@ CUDA_VISIBIBLE_DEVICES=0
```
conda env create -f environment_gpu.yaml
conda activate cellpose-gpu
pip install --no-deps -r requirements.txt
```
```
...
...
cellpose/check_gpu.py
0 → 100644
View file @
9ff4dd6a
import
os
os
.
environ
[
'CUDA_VISIBLE_DEVICES'
]
=
'0'
print
(
"Imporintg utils"
)
from
cellpose
import
utils
print
(
utils
.
use_gpu
())
cellpose/environment-gpu.yaml
View file @
9ff4dd6a
name
:
cellpose-gpu
dependencies
:
-
cudatoolkit>=10.2,<10.3
# pin to the same version as mxnet
-
python=3.7
-
pip
-
numpy
...
...
@@ -8,14 +9,12 @@ dependencies:
-
pyqt
-
scipy
-
matplotlib
-
natsort
-
jupyter
-
pip
:
# this needs to be adapted to your cuda version:
# for 10.0 choose 100 etc.
-
mxnet-cu102
-
opencv_python
-
pyqtgraph==0.11.0rc0
-
natsort
-
google-cloud-storage
-
tqdm
-
cellpose
-
tqdm
-
google-cloud-storage
-
pyqtgraph>=0.11,<0.12
-
opencv
# pip in environment.yaml does not support no-deps, see
# https://github.com/conda/conda/issues/6805#issuecomment-515680253
# so we install the pip requirements separately instead
cellpose/requirements.txt
0 → 100644
View file @
9ff4dd6a
cellpose
mxnet-cu102
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment