Skip to content

Instantly share code, notes, and snippets.

View cocoaaa's full-sized avatar

Hayley Song cocoaaa

View GitHub Profile
@cocoaaa
cocoaaa / data_loader.py
Created July 1, 2018 21:12 — forked from kevinzakka/data_loader.py
Train, Validation and Test Split for torchvision Datasets
"""
Create train, valid, test iterators for CIFAR-10 [1].
Easily extended to MNIST, CIFAR-100 and Imagenet.
[1]: https://discuss.pytorch.org/t/feedback-on-pytorch-for-kaggle-competitions/2252/4
"""
import torch
import numpy as np
@cocoaaa
cocoaaa / GATE Related Stuff.txt
Created September 4, 2017 15:39 — forked from dufferzafar/GATE Related Stuff.txt
GATE Stuff: Textbooks and Notes I've collected from various places on the internet.