Splatting 2D Gaussians to represent images. Tiny, self-contained, low-overhead, and minimal implementation in a single Jupyter notebook.
This code grew out of some of my research I was doing during my Master's studies. I thought it'd be fun to share a simplified version as a standalone notebook.
I helped create a modified version of this notebook as part of a homework assignment for the Georgia Tech course CS8803/4803 CGA: Computer Graphics in the AI Era. You can find more information about the course here: https://cgai-gatech.vercel.app/. You can also find my corresponding guest lecture on 3D Gaussian Splatting on YouTube: https://youtu.be/MBVmQSA24Yk.
TLDR: pip install -r requirements.txt
Using pip and venv:
- Create a virtual environment:
python3 -m venv venv - Activate this environment:
# MacOS/Linux
source venv/bin/activate
# Windows
venv\Scripts\activate
Once activated, pip will refer to packages installed in the venv folder
(e.g. venv/lib/python[your-version]/site-packages)
-
Install required packages:
pip install -r requirements.txt -
(Optional) Include specific version numbers from
backup-requirements-frozen-versions.txt -
You can deactivate the virtual environment using
deactivate
jupyter notebook
