GithubHelp home page GithubHelp logo

c00renut / 3d_inpainting_model Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ayushgupta9198/3d_inpainting_model

1.0 0.0 0.0 2.6 MB

3D Photography using Depth Inpainting and geneate 20+ effects.

License: Other

Shell 0.95% Python 98.10% Jupyter Notebook 0.95%

3d_inpainting_model's Introduction

Execution

Put .jpg files (e.g., test.jpg) into the image folder or you can modified the extension in yml file like .PNG, .JPEG E.g., image/moon.jpg

Run the following command python main.py --config argument.yml

Corresponding depth map estimated by MiDaS E.g. depth/moon.npy, depth/moon.png

Inpainted 3D mesh (Optional: User need to switch on the flag save_ply) E.g. mesh/moon.ply

Rendered videos with more then 15+ effects in the same result folder.

For Python dependencies listed in requirements.txt To get started, please run the following commands: conda create -n 3DP python=3.7 anaconda conda activate 3DP pip install -r requirements.txt conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit==10.1.243 -c pytorch

Next, please download the model weight using the following command: chmod +x download.sh ./download.sh

Acknowledgments We thank Pratul Srinivasan for providing clarification of the method Srinivasan et al. CVPR 2019. We thank the author of Zhou et al. 2018, Choi et al. 2019, Mildenhall et al. 2019, Srinivasan et al. 2019, Wiles et al. 2020, Niklaus et al. 2019 for providing their implementations online. Our code builds upon EdgeConnect, MiDaS and pytorch-inpainting-with-partial-conv

3d_inpainting_model's People

Contributors

ayushgupta9198 avatar

Stargazers

 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.