Skip to content

Instantly share code, notes, and snippets.

View eric900115's full-sized avatar

Eric Su eric900115

View GitHub Profile
@antoinebrl
antoinebrl / README.md
Last active July 2, 2025 12:06
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
@lin
lin / parsers.md
Last active June 23, 2025 23:30
Simple examples to distinguish LR(0), SLR(1), LR(1), LALR(1), LR(k)
@cooliscool
cooliscool / create_dataset.py
Last active January 21, 2023 10:18
For selecting only a few number of classes from PASCAL VOC for training in Tensorflow. ( Please refer the code thoroughly :) )
PASCAL_CLASSES = [
'none',
'aeroplane',
'bicycle',
'bird',
'boat',
'bottle',
'bus',
'car',
'cat',