Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request contains 2 Dockerfile files to construct 2 Docker images. One that will work for the 2d_cnn scripts using Ubuntu 18.04 and CUDA 10.0 and another for the 3d_cnn, spectrum filter and addtional_scripts scripts using Ubuntu 20.04 and CUDA 11.6. The reason I am using separate images is because the 3d_cnn sripts were written recently (within 2022) with the most up to date pytorch version at the time being pytorch 1.12 (which is only available for CUDA 11.6, 11.3 and 10.2). To also accommodate the installation of pytorch from the recommended conda channel (-c pytorch as you can see here ) I properly ammended the environment.yml file in the 3d_cnn directory. I also include some deploy_*.sh files that help with the proper execution of Docker images.
For the Docker image regarding the 2d_cnn scripts, it can be build as such:
and run like this (<data_directory> has to be replaced appropriately):
Within the container first run:
Then you may use:
To create a template config file named <sample_config_name>.yaml in the present working directory.
And after modifying it you may run:
Which is similar on doing
bash 2d_cnn/deploy_local.sh <template_config_name>.yaml
For the Docker image regarding the 3d_cnn scripts, it can be build as such:
and run like this (<data_directory> has to be replaced appropriately):
Within the container first run:
Then you may use:
To create a template config file named <sample_config_name>.yaml in the present working directory.
And after modifying it you may run:
Which is similar on doing
bash 3d_cnn/deploy_local.sh <template_config_name>.yaml