Giter VIP home page Giter VIP logo

kmlfc's Introduction

KMLFC

This is the repository for paper "Learning Kernel-Modulated Neural Representation for Efficient Light Field Compression" (arXiv-2307.06143).

By Jinglei Shi, Yihong Xu and Christine Guillemot

<Paper link>

Dependencies

numpy=1.24.3
scipy=1.10.1
python=3.8.18
pytorch=1.11.0
omegaconf=2.3.0
matplotlib=3.7.2
hydra-core=1.3.2
torchvision=0.12.0
pytorch-lightning=2.0.9

Training

The code for training, extraction of network weights, quantization and Huffman coding will be released upon paper acceptance.

Download Pretrained Models

We provide pretrained models for four synthetic HCI scenes (hci.zip), four realworld scenes captured using Lytro camera (lytro.zip), and three challenging scenes (challenging.zip). Users can download them via PanBaidu or Google Drive, then create a new folder named 'results' and put the unzipped files into it.

We offer seven models for each scene, including ($c_m$, $c_d$)={(2,48),(2,63),(2,78),(2,93),(2,123),(2,153),(2,183)}, where each model corresponds to a specific architecture setting. For instance, 'checkpoints_c50_a1' indicates that the number of channels for the modulator $c_m/2$ in each angular direction is 1, and the total number of channels for both modulator and descriptor is 50 (the number of channels for the descriptor $c_d$ is calculated as 50-2*1=48).

Evaluation

To launch the generation of the light fields (decoding), users should first configure the file 'batch_infer.py' as follows:

  • Lines 41-43: Specify the target light fields to be generated along with their spatial resolution. For example: scene_list = [['boxes', 512, 512]].
  • Lines 45-47: Define the target network architecture. For example: architecture_list = [[[50]*5, [1]*5]], this setting corresponds to the checkpoint 'checkpoints_c50_a1'.

After configuring the above settings, users can simply launch the simulation by executing:

python batch_infer.py

The generated light fields will be accessible in the folder 'results/lf_name/test_cxx_axx'.

Related Projects

Another two projects related to this work will be released soon, they are:

QDLR-NeRF (ICASSP-2023)

DDLF (TIP-2022)

Feel free to use and cite them!

Citation

Please consider citing our work if you find it useful.

@article{shi2023learning,
  title={Learning Kernel-Modulated Neural Representation for Efficient Light Field Compression},
  author={Jinglei Shi and Yihong Xu and Christine Guillemot},
  journal={arXiv preprint arXiv:2307.06143},
  year={2023}}

For any further question, please contact the author [email protected]

kmlfc's People

Contributors

jingleishi avatar

Stargazers

Gaosheng Liu avatar

Watchers

 avatar Kostas Georgiou 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.