Skip to content

Instantly share code, notes, and snippets.

JOKE NR 0: <|endoftext|>START:What's the hardest to get off your face? The elevator.
I'll show myself out.<|endoftext|>
JOKE NR 1: <|endoftext|>START:A man is driving through the countryside when he sees a farmer in a field... He pulls over and asks the farmer, "Excuse me, but I noticed you're not wearing a seatbelt. What's the matter?" The farmer says, "I was just driving past the field and saw a cow grazing on a fence. It scared the bejesus out of me!" So the man pulls over to the side of the road and asks the farmer if he's okay. The farmer says "I'm fine, I was just driving past a field and saw a cow grazing on a fence. I thought it was a cow. I drove over to check and sure enough, it was a bull." The man says, "That's amazing, I was driving by the field when I saw a cow with her hind legs raised up in a sign of pride. I was so excited, I drove over to check and sure enough, it was a bull." The man says, "That's amazing, I was driving by the field when I saw a cow with its hind legs raised up in a sig
JOKE NR 0: <|endoftext|>START:What's the hardest to get off your face? The elevator.
I'll show myself out.<|endoftext|>
JOKE NR 1: <|endoftext|>START:A man is driving through the countryside when he sees a farmer in a field... He pulls over and asks the farmer, "Excuse me, but I noticed you're not wearing a seatbelt. What's the matter?" The farmer says, "I was just driving past the field and saw a cow grazing on a fence. It scared the bejesus out of me!" So the man pulls over to the side of the road and asks the farmer if he's okay. The farmer says "I'm fine, I was just driving past a field and saw a cow grazing on a fence. I thought it was a cow. I drove over to check and sure enough, it was a bull." The man says, "That's amazing, I was driving by the field when I saw a cow with her hind legs raised up in a sign of pride. I was so excited, I drove over to check and sure enough, it was a bull." The man says, "That's amazing, I was driving by the field when I saw a cow with its hind legs raised up in a sig
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mf1024
mf1024 / imagenet_openimage_dataset.py
Last active October 22, 2020 03:09
Pytorch ImageNet/OpenImage Dataset
from torch.utils.data import DataLoader, Dataset
from torchvision import transforms
import os
from skimage import io
import numpy as np
import time
from PIL import Image
IMG_SIZE = (128,128)