Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify environment.yml #13

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ It's a companion project to an R-shiny based image annotation app that is not ye
Use anaconda or miniconda to create a python environment using the included `environment.yml`

```
conda create -n cyto_39 python=3.9
conda env update
conda env create -f environment.yml
```

Please note that this is specifically pinned to python 3.9 due to dependency versions; we make experimental use of the [CEFAS plankton model available through SciVision](https://sci.vision/#/model/resnet50-plankton), which in turn uses an older version of pytorch that isn't packaged above python 3.9.
Expand Down
25 changes: 12 additions & 13 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: cyto_39
channels:
- pytorch
- conda-forge
- defaults
dependencies:
- numpy
- python=3.9
- pytorch=1.10.0
- mkl=2024.0
- chromadb=0.5.3
metazool marked this conversation as resolved.
Show resolved Hide resolved
- intake-xarray
- scikit-image
- pandas
- s3fs
- matplotlib
- pytest
- python-dotenv
- dask
- s3fs
- pip
- pip:
- pytest
- imagecodecs
- intake # for reading scivision
- torch==1.10.0 # install before cefas_scivision; it needs this version
- scivision
- scikit-image
- setuptools==69.5.1 # because this bug https://github.com/pytorch/serve/issues/3176
- tiffile
- git+https://github.com/alan-turing-institute/plankton-cefas-scivision@main # torch version
- chromadb
- git+https://github.com/alan-turing-institute/plankton-cefas-scivision@main
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name = "cyto_ml"
version = "0.1"
description = "This package supports the processing and analysis of plankton sample data"
readme = "README.md"
requires-python = "<3.10"
requires-python = "==3.9.*"
[tool.setuptools]
py-modules = []
Loading