vigsivan / RWCNet

Official implementation of Recurrence with Correlation Network for Medical Image Registration
MIT License
8 stars 4 forks source link

Singularity rather than Docker #1

Closed mrhardisty closed 2 years ago

mrhardisty commented 2 years ago

I decided to go with singularity(https://docs.sylabs.io/guides/2.6/user-guide/index.html#) for our environment, rather than docker. Singularity does not require sudo.

Essentially I have created a singularity container with Some-RNN.def that has all dependencies needed within it, python, cuda, etc. you can build a container with: sudo singularity build Some-RNN.img Some-RNN.sif

you can run a container with: singularity shell --nv --cleanenv Some-RNN.sif

The sif file is 8GB.

I don't think this will overlap with any other development. But wanted to make sure you saw how I set it up. Let me know of concerns.