Coder Social home page Coder Social logo

hughparsons / neural-supersampling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timmh/neural-supersampling

0.0 0.0 0.0 26 KB

Unofficial fork of an unofficial re-implementation of a neural supersampling model for real-time rendering

License: MIT License

Shell 1.36% Python 81.93% Jupyter Notebook 16.71%

neural-supersampling's Introduction

Neural Supersampling

This is a work-in-progress unofficial re-implementation of the real-time neural supersampling model proposed in Neural supersampling for real-time rendering [Paper] using PyTorch and PyTorch Lightning. This is in no way endorsed by the original authors.

Differences

This model is implemented as closely to the original paper as possible. However, there are some important differences:

  • the original training data is not freely available. Therefore Blender is used to render images with color, depth and motion data from Blender Open Movies.
  • the original paper seems to use motion data of the target resolution. Here, due to storage constraints, we use motion data of the source resolution
  • the original paper seems to use raw depth values for feature extraction. I found high depth values to negatively impact numerical stability and therefore decided to use inverse depth, i.e. disparity, instead.

Rendering

The training data may be rendered by Blender and the Cycles rendering engine. To achieve this, download any number of Blender Open Movie assets and configure them in render_all.py. Then either run render_all.py directly or use run_blender_headless.sh to run Blender via Docker.

Training

The training, evaluation and visualization are all implemented as separate files in the model directory. Alternatively, take a look at the Jupyter Notebook NeuralSupersampling.ipynb Open in Colab

TODO

  • train to convergence
  • optimize using TensorRT and embed in real-time application

neural-supersampling's People

Contributors

timmh avatar

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.