Skip to content

saranshabd/practical-deep-learning

Repository files navigation

Practical Deep Learning

Practice notebooks on mastering the fundamentals in Deep Learning. Followed this course.

Local development setup

  1. Set Python version: poetry env use python3.13
  2. Install dependencies: poetry install
  3. Activate Poetry shell: eval $(poetry env activate)
  4. Start Jupyter Notebook Kernel:
    poetry run python -m ipykernel install --user --name=my-project-kernel --display-name "Python (Poetry: learn-pytorch-deep-learning)"
    

Download YouTube videos

This repo includes a helper script for downloading YouTube videos as 720p MP4 files. It uses yt-dlp, and clipped downloads require ffmpeg to be installed.

Download a full video into the default downloads/ directory:

poetry run python scripts/download_youtube_720p.py "https://www.youtube.com/watch?v=VIDEO_ID"

Download into the current directory:

poetry run python scripts/download_youtube_720p.py "https://www.youtube.com/watch?v=VIDEO_ID" -o .

Download only a time range, such as minute 1:00 through minute 2:00:

poetry run python scripts/download_youtube_720p.py "https://www.youtube.com/watch?v=VIDEO_ID" -o . --start 1:00 --end 2:00

Timestamps can use SS, MM:SS, or HH:MM:SS format. If the URL contains special shell characters such as ? or &, keep it inside quotes.

About

Practice notebooks on mastering the fundamentals in Deep Learning.

Resources

Stars

Watchers

Forks

Contributors