Skip to content

Commit

Permalink
Bump lightning and matplotlib (#105)
Browse files Browse the repository at this point in the history
* bump dependencies

* update readme to install from pypi
  • Loading branch information
ziw-liu authored Jul 8, 2024
1 parent c930c3f commit dbf4ddc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,26 +75,23 @@ publisher = {eLife Sciences Publications, Ltd},
# conda create --prefix /path/to/conda/envs/viscy python=3.10
```

2. Clone this repository and install with pip:
2. Install a released version of VisCy from PyPI:

```sh
git clone https://github.com/mehta-lab/VisCy.git
# change to project root directory (parent folder of pyproject.toml)
cd VisCy
pip install .
pip install viscy
```

If evaluating virtually stained images for segmentation tasks,
install additional dependencies:

```sh
pip install ".[metrics]"
pip install "viscy[metrics]"
```

Visualizing the model architecture requires `visual` dependencies:

```sh
pip install ".[visual]"
pip install "viscy[visual]"
```

3. Verify installation by accessing the CLI help message:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ dependencies = [
"torch>=2.1.2",
"timm>=0.9.5",
"tensorboard>=2.13.0",
"lightning>=2.0.1",
"lightning>=2.3.0",
"monai>=1.3.1",
"jsonargparse[signatures]>=4.20.1",
"scikit-image",
"matplotlib",
"matplotlib>=3.9.0",
]
dynamic = ["version"]

Expand Down

0 comments on commit dbf4ddc

Please sign in to comment.