Giter Site home page Giter Site logo

chikayan / alphasurf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sxyu/svox2

3.0 0.0 1.0 97.71 MB

αSurf: Implicit Surface Reconstruction for Semi-Transparent and Thin Objects with Decoupled Geometry and Opacity

Home Page: https://alphasurf.netlify.app/

License: BSD 2-Clause "Simplified" License

Shell 0.52% C++ 1.58% Python 55.18% Cuda 38.20% CMake 0.24% Jupyter Notebook 4.27%

alphasurf's Introduction

$\alpha$ Surf

Note: This is a preliminary repo for submission of supplementary material only.

Setup

First create the virtualenv; we recommend using conda:

conda env create -f environment.yml
conda activate alphasurf

Then install pytorch with CUDA support via:

conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch

Then install the C++/CUDA extension at root by simply running

pip install .

In the repo root directory.

If your CUDA toolkit is older than 11, then you will need to install CUB as follows: conda install -c bottler nvidiacub. Since CUDA 11, CUB is shipped with the toolkit.

Train and eval

An example script for training Plenoxels + our method is avaliable at train_eval.sh

Random tip (given by authors of Plenoxels): how to make pip install faster for native extensions

You may notice that this CUDA extension takes forever to install. A suggestion is using ninja. On Ubuntu, install it with sudo apt install ninja-build. Then set the environment variable MAX_JOBS to the number of CPUS to use in parallel (e.g. 12) in your shell startup script. This will enable parallel compilation and significantly improve iteration speed.

alphasurf's People

Stargazers

 avatar  avatar  avatar

Forkers

qianqian121

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.