Coder Social home page Coder Social logo

sherif-abdelkarim / frame-interpolation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amintavakol/frame-interpolation

0.0 0.0 0.0 471 KB

A set up for interdisciplinary experiments and ideas for the frame interpolation project

Shell 1.55% Python 17.79% Jupyter Notebook 80.67%

frame-interpolation's Introduction

Frame-Interpolation

A set up for interdisciplinary experiments and ideas for frame interpolation porject

  1. Modify data_params.json according to your data path and run data_generation.py to prepare training data.
  2. Modify model_params.json to run model.py. This is a sample network.
  3. In order to evalute the trained model, you need to use eval data which was generated using data_generation.py. The evaluation is computing the ssim score and mse for the test data.

Residual learning

There are two methods (which are slightly different) for residual learning.

  1. res2res. In order to do res2res learning, modify data_hparams.json and run python res2res_data_generation.py data_hparams.json. This will create the data you need to train a residual model by running python model_residual.py model_params.json <path_to_the_data_generated_by_res2res_data_generation_script>.
  2. image2res. In order to do image2res learning, modify data_hparams.json and run python residual_data_generation.py data_hparams.json. This will create the data you need to train a residual model by running python model_residual.py model_params.json <path_to_the_data_generated_by_residual_data_generation_script>.

NOTE 1: For all the aforementioned cases, during the data generation, the axes of images are swapped. So you need to transpose you images during reconstruction.
NOTE 2: During the data generation, the images are normalize through the entire tilt serie. This behavious has to be replicated during reconstruction.
NOTE 3: In case if using residual models for reconstruction, the predicted image is supposed to be the residual map. This residual map has to be added to the linear interpolation of the two main frames to reconstuct the missing frame in the middle.

frame-interpolation's People

Contributors

amintavakol avatar alex-rakowski 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.