Elektrobit Workshop on Neural Networks
- Create a workshop folder e.g.
C:\tmp\Workshop
Clone:
git clone https://github.com/kaibrach/EB_Workshop.git
OR
Download (no Git installed):
https://github.com/kaibrach/EB_Workshop/archive/main.zip
You can either choose to create a virtual environment
(recommended)** or use a docker
file.
- We assume that you have installed python version 3.7 on your windows machine.
Download Python 3.7.9 (64 Bit)
- Open Console or Powershell and navigate to the directory of the workshop folder e.g.
cd C:\tmp\Workshop
- Run
python -m venv eb_workshop-env
- Once you’ve created a virtual environment, you may activate it
eb_workshop-env\Scripts\activate
- Install all necessary python packages
pip install -r requirements.txt
Start jupyter notebooks in cmd/Powershell:
- Run
jupyter notebook
from console
Hint: Create a Jupyter Kernel (only once) with
python -m ipykernel install --user --name EB_WORKSHOP --display-name "EB Workshop"
The --name value is used by Jupyter internally. These commands will overwrite any existing kernel with the same name. --display-name is what you see in the notebook menus. This kernel can be selected within the notebook
- Install docker desktop
Download Docker_Desktop
--> Make sure you have virtualization (Hyper-V) enabled in your BIOS
- Start Windows Powershell
- run command
docker pull schmiederx/workshop:latest
Start tensorflow container with jupyter notebooks in cmd/Powershell:
- Open Windows
Powershell
and navigate to the directory of the workshop folder e.g.cd C:\tmp\Workshop
- Run
docker run -it --rm -v "$(pwd):/tf" -p 8888:8888 -p 6006:6006 schmiederx/workshop:latest
- Copy the
http://127.0.0.1/?token=xxxxxxxxx
link from the command line and paste into webrowser address bar