This repository contains the code and experiments for the Losing Tickets in Neural Representations project, which investigates the Lottery Ticket Hypothesis (LTH) within Sinusoidal Representation Networks (SIRENs).
Visual diagnostics, interactive PSNR curves, and detailed experimental analysis.
git clone https://github.com/Neilus03/losingtickets.git
cd losingticketspip install torch torchvision numpy pillow tqdmpython main.pyThis will:
- Train a baseline dense SIREN model on the Mona Lisa.
- Run the iterative pruning loop for Winner, Random, and Loser tickets.
- Generate reconstruction images and PSNR logs in the
outputs/directory.
src/: Core implementation (SIREN, pruning logic, training loop).docs/: GitHub Pages code and interactive blog.checkpoints/: Model state dicts for different pruning iterations.outputs/: Reconstructed images and benchmark results.
Author: Neil De La Fuente