Skip to content

Instantly share code, notes, and snippets.

View leng-yue's full-sized avatar
🔥

Leng Yue leng-yue

🔥
View GitHub Profile
@denguir
denguir / cuda_install.md
Last active July 16, 2024 16:03
Installation procedure for CUDA & cuDNN

How to install CUDA & cuDNN on Ubuntu 22.04

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@leng-yue
leng-yue / setup.sh
Created June 2, 2022 23:49
Setup GitLab Runner + dind
#/bin/sh
# Install the required packages
apt-get update && apt-get install -y curl
curl -fsSL https://get.docker.com | sh
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | bash
apt-get install -y gitlab-runner
# Configure the GitLab Runner
gitlab-runner register \
@antoinebrl
antoinebrl / README.md
Last active July 12, 2024 04:22
Prepare ImageNet

Preparation of ImageNet (ILSVRC2012)

The dataset can be found on the official website if you are affiliated with a research organization. It is also available on Academic torrents.

This script extracts all the images and group them so that folders contain images that belong to the same class.

  1. Download the ILSVRC2012_img_train.tar and ILSVRC2012_img_val.tar
  2. Download the script wget https://gist.githubusercontent.com/antoinebrl/7d00d5cb6c95ef194c737392ef7e476a/raw/dc53ad5fcb69dcde2b3e0b9d6f8f99d000ead696/prepare.sh
  3. Run it ./prepare.sh