Skip to content

Instantly share code, notes, and snippets.

@Ankowa
Ankowa / example.py
Last active April 26, 2024 12:15
MIA_example
import torch
from torch.utils.data import Dataset
from typing import Tuple
import numpy as np
import requests
import pandas as pd
#### LOADING THE MODEL
from torchvision.models import resnet18
@Ankowa
Ankowa / requests.py
Created March 16, 2024 13:55
Boilerplate
# Spamming with any request or attempts to attack infrastructure will result in team ban.
# PS once we find you, ban won't be your biggest trouble ;P
from typing import List
from dotenv import load_dotenv
import numpy as np
import requests
import os