Skip to content

Commit

Permalink
gpdate README
Browse files Browse the repository at this point in the history
  • Loading branch information
joschkabirk committed May 22, 2024
1 parent 2f5873f commit a0bf92a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ The recommended (and by us tested) way of running the code is to use the
provided docker image at
[`jobirk/omnijet` on DockerHub](https://hub.docker.com/repository/docker/jobirk/omnijet/general).
The requirements listed in `docker/requirements.txt` are installed in the `conda` environment
of the base image, so you have to make sure that the `conda` environment is activated
when running the code.
`base` of the base image (official pytorch image).
Thus, you have to make sure that the `conda` environment is activated when running the code,
which can be done with `source /opt/conda/bin/activate`.

Thus, an interactive session can be started by running the following command:
An interactive session inside a container can be started by running the following command:

```shell
# on a machine with Singularity
Expand All @@ -63,8 +64,6 @@ docker run -it --rm jobirk/omnijet:latest bash # start a shell in the container
source /opt/conda/bin/activate # activate the conda environment in the container
```

where `<path to the project>` is the path to the root of the project on your local machine.

Alternatively, you can install the requirements from the `docker/requirements.txt` file, but
you'll have to add `pytorch` to the list of requirements, since this is not
included in the `requirements.txt` file (we use the official pytorch image as
Expand Down

0 comments on commit a0bf92a

Please sign in to comment.