2023-12-12 13:22:02 +01:00
2021-01-30 21:49:15 +01:00
2023-12-08 15:40:30 +01:00
2023-03-21 12:08:53 +01:00
2021-01-30 21:49:15 +01:00
2023-12-08 15:32:35 +01:00
2021-01-30 21:49:15 +01:00
2023-12-08 15:59:55 +01:00


Build Status License: MIT

Machine Learning Collection

In this repository you will find tutorials and projects related to Machine Learning. I try to make the code as clear as possible, and the goal is be to used as a learning resource and a way to lookup problems to solve specific problems. For most I have also done video explanations on YouTube if you want a walkthrough for the code. If you got any questions or suggestions for future videos I prefer if you ask it on YouTube. This repository is contribution friendly, so if you feel you want to add something then I'd happily merge a PR 😃

Table Of Contents

Machine Learning

PyTorch Tutorials

If you have any specific video suggestion please make a comment on YouTube :)

Basics

More Advanced

Object Detection

Object Detection Playlist

Generative Adversarial Networks

GAN Playlist

Architectures

PyTorch Lightning

TensorFlow Tutorials

If you have any specific video suggestion please make a comment on YouTube :)

Beginner Tutorials

Docker Setup

Step 1: Install Docker

If you don't have Docker installed, follow the links below to install Docker for your system:

Step 2: Install Nvidia Container Toolkit (Optional)

If you plan to use GPU acceleration with CUDA, install Nvidia Container Toolkit:

Step 3: Build the Docker Image

Navigate to the directory containing the Dockerfile and build the Docker image with:

docker build -t aladdin-image .

Step 4: Run the Docker Container in Detached Mode

Run the following command to start the container in detached mode:

docker run -d \
  --gpus all \
  -v "${PWD}:/code" \
  -p 8080:8080 \
  --name "aladdin-container" \
  --env AUTHENTICATE_VIA_JUPYTER="mytoken" \
  aladdin-image \
  tail -f /dev/null

This will start a new Docker container named aladdin-container that will not exit immediately. The -d flag runs the container in detached mode, letting it run in the background.

Step 5: Interact with the Docker Container

To attach an interactive shell to the running container, use the command:

docker exec -it aladdin-container /bin/bash

You can now interact with your container using the bash shell.

Additional Notes

  • If you wish to stop the container, you can do so with docker stop aladdin-container.
  • To start the container again after stopping, use docker start aladdin-container.
  • In case you need to remove the container, make sure it's stopped and then run docker rm aladdin-container.
  • To see the output from the container (logs), use docker logs aladdin-container.
Languages
Python 60.6%
Jupyter Notebook 39.2%
Shell 0.2%