Skip to content

Instantly share code, notes, and snippets.

View iejMac's full-sized avatar

iejMac

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iejMac
iejMac / relu_v_flash.ipynb
Created February 5, 2024 05:37
relu_attn vs. flash_attn
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import time
import torch
import open_clip
from data import get_data
from params import parse_args
# Args
args = parse_args()
import wandb
import time
import torch
from PIL import Image
import open_clip
from argparse import Namespace
from collections import OrderedDict
from contextlib import suppress
from tqdm import tqdm
@iejMac
iejMac / pc_naip_example.ipynb
Last active February 3, 2022 20:58 — forked from calebrob6/pc_naip_example.ipynb
An example notebook for showing how to download patches of NAIP imagery around a point using the Planetary Computer.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.