Skip to content
Snippets Groups Projects
Commit aaf61b9f authored by Michiel_VE's avatar Michiel_VE
Browse files

made so code can be trained on GPU

+ update readme to install environment
parent a0c4d6da
No related branches found
No related tags found
1 merge request!1made so code can be trained on GPU
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -2,11 +2,46 @@ ...@@ -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 ## Add your files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment