Skip to content

Commit

Permalink
Update to 3.5.2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
danifranco committed Sep 16, 2024
1 parent b79a208 commit ff7d917
Show file tree
Hide file tree
Showing 24 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion biapy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.5.1"
__version__ = "3.5.2"

import argparse
import os
Expand Down
8 changes: 4 additions & 4 deletions biapy/utils/env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ RUN conda update -qy conda \
SHELL ["conda", "run", "-n", "BiaPy_env", "/bin/bash", "-c"]

# Install BiaPy
RUN pip install biapy==3.4.3
RUN pip install biapy==3.5.2

# Install Pytorch 2.2.0 + CUDA 11.8
RUN pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu118
RUN pip install timm torchmetrics
RUN pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu118
RUN pip install timm pytorch-msssim torchmetrics[image]

# Clone BiaPy, as running it with python -c "" stops the container with no error after a few seconds running
RUN git clone --depth 1 https://github.com/BiaPyX/BiaPy.git --branch v3.4.3 /installations/BiaPy
RUN git clone --depth 1 https://github.com/BiaPyX/BiaPy.git --branch v3.5.2 /installations/BiaPy

# To remove CuDNN issue
WORKDIR /installations/miniconda3/envs/BiaPy_env/lib/python3.10/site-packages/nvidia/cuda_nvrtc/lib/
Expand Down
6 changes: 3 additions & 3 deletions biapy/utils/env/Dockerfile_CUDA10.2
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ RUN conda update -qy conda \
SHELL ["conda", "run", "-n", "BiaPy_env", "/bin/bash", "-c"]

# Install BiaPy
RUN pip install biapy==3.4.3
RUN pip install biapy==3.5.2

# Install Pytorch 1.12.1 + CUDA 10.2
RUN conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=10.2 -c pytorch
RUN pip install timm torchmetrics
RUN pip install timm pytorch-msssim torchmetrics[image]

# Clone BiaPy, as running it with python -c "" stops the container with no error after a few seconds running
RUN git clone --depth 1 https://github.com/BiaPyX/BiaPy.git --branch v3.4.3 /installations/BiaPy
RUN git clone --depth 1 https://github.com/BiaPyX/BiaPy.git --branch v3.5.2 /installations/BiaPy

# To remove CuDNN issue
WORKDIR /installations/miniconda3/envs/BiaPy_env/lib/python3.10/site-packages/nvidia/cuda_nvrtc/lib/
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "biapy"
version = "3.5.1"
version = "3.5.2"
description = "BiaPy: Bioimage analysis pipelines in Python"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion templates/classification/2d_classification.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/classification/2d_classification_rgb.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/classification/3d_classification.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/denoising/2d_denoising.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2
# We try to mimic here N2Void project parameters
SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/denoising/3d_denoising.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2
# We try to mimic here N2Void project parameters

SYSTEM:
Expand Down
2 changes: 1 addition & 1 deletion templates/detection/2d_detection.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/detection/3D_cell_detection_zarr_tutorial.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/detection/3d_detection.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/image-to-image/2d_image-to-image.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/image-to-image/3d_image-to-image.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/self-supervised/2d_self-supervised.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/self-supervised/3d_self-supervised.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/semantic_segmentation/wound_segmentation.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/super-resolution/2d_super-resolution.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/super-resolution/2d_super-resolution_rgb.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down
2 changes: 1 addition & 1 deletion templates/super-resolution/3d_super-resolution.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BiaPy version: 3.5.1
# BiaPy version: 3.5.2

SYSTEM:
NUM_CPUS: -1
Expand Down

0 comments on commit ff7d917

Please sign in to comment.