Skip to content

Commit

Permalink
investigations and dockerfile to finallise PETRIC installation
Browse files Browse the repository at this point in the history
  • Loading branch information
paskino committed Oct 17, 2024
1 parent 4e8dd56 commit c8f242f
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 257 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1
ARG BASE_CONTAINER=ghcr.io/synerbi/sirf:edge-gpu
FROM ${BASE_CONTAINER} AS base

RUN conda install -y monai tensorboard tensorboardx jupytext cudatoolkit=11.8
# monai installs pytorch (CPU), so remove it
RUN pip uninstall -y torch
# last to support cu118
RUN pip install tensorflow[and-cuda]==2.14
RUN pip install torch --index-url https://download.pytorch.org/whl/cu118
RUN pip install git+https://github.com/TomographicImaging/Hackathon-000-Stochastic-QualityMetrics
RUN pip install pysnooper
256 changes: 0 additions & 256 deletions main.py

This file was deleted.

1 change: 1 addition & 0 deletions main.py
Loading

0 comments on commit c8f242f

Please sign in to comment.