Skip to content

Instantly share code, notes, and snippets.

View Abe404's full-sized avatar
🎯
Focusing

Abraham George Smith Abe404

🎯
Focusing
View GitHub Profile
@Abe404
Abe404 / train.py
Created February 14, 2026 08:05
PyTorch binary image classification with early stopping (ResNet-18)
# train.py
import os
import glob
import random
import csv
import json
import hashlib
import torch
@Abe404
Abe404 / review_exported.py
Created February 4, 2026 15:13
Seed image label review tool (PyQt6) — blind review with keyboard controls, back/undo, CSV+JSON output
# review_exported.py
"""
Simplified review tool that loads pre-exported composite images from
output/review_images/. No data dependencies — just the PNGs.
Arrow keys: Left=EMERGED, Down=AMBIGUOUS, Right=NOT EMERGED
Backspace/Up: Go back to previous image (re-label)
Press 'q' or Escape to quit. Progress saves automatically.
Usage: