Skip to content

Instantly share code, notes, and snippets.

View jmsteitz's full-sized avatar

Jan-Martin Steitz jmsteitz

View GitHub Profile
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import torchvision
from torchvision import datasets, transforms
import math
import numpy as np
# Hardcoded variables for hyperfan init
@nohillside
nohillside / brainfuck.code
Last active May 2, 2023 13:51
GRM brainfucked
# Brainfuck-Code in GRM
## Seite 161
>++++++++++
[>++++++++++>++++++++++++>+++++++++++>
+++++++++++> ++++++++++++><<<<<<-]
>++>--->>>+>
<<<<<<
>.>.>.>.>.
@yrevar
yrevar / imagenet1000_clsidx_to_labels.txt
Last active April 25, 2024 01:57
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',