From dc78abdb1a5fdf60d26abda454c303a8060ad7e3 Mon Sep 17 00:00:00 2001 From: Md Mijanur Rahman Date: Sun, 17 Mar 2024 15:48:08 +0100 Subject: [PATCH] Add Docker instructions to README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2c11db60..3a4e9cda 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,15 @@ python main.py --multirun "dataset_name=[Handwriting]" "models=LSTM_FCN" Model name can be anything that is available in the `codes/models` directory, given corresponding configs are also available. Similarly, other parameters can also be specified in the terminal, and passed as arguments. + +## Docker +To run the code in a docker container, run the following command in the terminal, in the root directory of the repository: +```bash +docker build -t ts_cl . +docker run -it ts_cl +``` +This will build a docker image named `ts_cl`, and run a container with the image. The code can be run in the container as described above. + ## Mlruns All the runs are stored in the `mlruns` directory. To visualize the runs, run the following command in the terminal, in the root directory of the repository: ```bash