From aaf61b9f8b97512d3ca966d633fc794eb8401b8a Mon Sep 17 00:00:00 2001 From: Michiel_VE <r0794174@student.thomasmore.be> Date: Wed, 29 May 2024 00:56:18 +0300 Subject: [PATCH] made so code can be trained on GPU + update readme to install environment --- Model/test.txt | 0 README.md | 41 ++++++++++++++++++++++++++++++++++++++--- 2 files changed, 38 insertions(+), 3 deletions(-) delete mode 100644 Model/test.txt diff --git a/Model/test.txt b/Model/test.txt deleted file mode 100644 index e69de29..0000000 diff --git a/README.md b/README.md index 4683ba6..526d563 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,46 @@ -## Getting started +## Environment +This uses the Miniconda environment. To prepare a personalized environment you will need to install the following: +``` +conda create --name "env name" python=3.9 -y +``` +``` +conda activate "env name" +``` +``` +conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0 -y +``` +``` +pip install "tensorflow<2.11" +pip install jupyter notebook +pip install "keras" +conda install pillow +conda install scipy +``` +> Note the flag *-y* is optional to use + +<br> -To make it easy for you to get started with GitLab, here's a list of recommended next steps. +``` +jupyter notebook --notebook-dir='your working directory' +``` +> again --notebook-dir='your working directory' is optional if you have configured it beforehand. + +### Reopening the environment +After opening the anaconda prompt, you can follow these commands to navigate back to your environment. +#### List all created environments +``` +conda info --envs +``` + +#### Opening commands +``` +conda activate "env name" +jupyter notebook --notebook-dir='your working directory' +``` -Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! ## Add your files -- GitLab