Giter Site home page Giter Site logo

weijielyu / gaussian-splatting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from graphdeco-inria/gaussian-splatting

1.0 0.0 0.0 6.45 MB

Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"

Home Page: https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/

License: Other

Python 47.72% CMake 0.71% C++ 10.42% Cuda 40.80% C 0.35%

gaussian-splatting's Introduction

My Modified Version of 3DGS

Teaser image

Todos

  • Integrate depth, alpha, and segmentation rendering

Added Features

  • Maintain rendered image names
  • Log training with wandb
  • Depth, alpha, and segmentation rendering
  • Video rendering

Commands

Cloning the Repository

# SSH
git clone [email protected]:weijielyu/gaussian-splatting.git --recursive

or

# HTTPS
git clone https://github.com/weijielyu/gaussian-splatting --recursive

Environment

conda create -n gs python=3.8 -y
conda activate gs
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch
pip install -r requirement.txt
pip install submodules/simple-knn
  • For vanilla Gaussian Splatting rendering:
pip install submodules/diff-gaussian-rasterization
  • For depth, alpha rendering with confidence:
pip install submodules/diff-gaussian-rasterization-confidence
  • For segmentation rendering:
pip install submodules/diff-gaussian-rasterization-gaga

Colmap

python convert.py -s <location> --skip_matching [--resize] #If not resizing, ImageMagick is not needed

Training

python train.py -s <path to COLMAP or NeRF Synthetic dataset>

Evaluation

python render.py -m <path to pre-trained model> -s <path to COLMAP dataset>
python metrics.py -m <path to pre-trained model>

Acknowledge

This repository is modified based on the following repositories. Thanks for their wonderful implementations!

https://github.com/graphdeco-inria/gaussian-splatting
https://github.com/VITA-Group/FSGS
https://github.com/lkeab/gaussian-grouping

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.