Giter Site home page Giter Site logo

internal/dataset.py about multinerf-pytorch HOT 4 OPEN

Miner-AI avatar Miner-AI commented on June 23, 2024
internal/dataset.py

from multinerf-pytorch.

Comments (4)

SuLvXiangXin avatar SuLvXiangXin commented on June 23, 2024

@Miner-AI If you want to train your model with images which are downsampled by 4, you need to have images_4 exists. You can checkout https://github.com/SuLvXiangXin/multinerf-pytorch/blob/main/scripts/local_colmap_and_resize.sh for preparing your own dataset. Or you can simply specify --gin_bindings="Config.factor = 0" to run without downsampling.

from multinerf-pytorch.

SuLvXiangXin avatar SuLvXiangXin commented on June 23, 2024

By the way, I have implemented another powerful method called "Zipnerf", which is available at https://github.com/SuLvXiangXin/zipnerf-pytorch

from multinerf-pytorch.

Miner-AI avatar Miner-AI commented on June 23, 2024

Thank u for reply!
I have another question about internal/coord.py. When I try to use llff_raw.gin to train on rawnerf's data, I met an error about the method construct_ray_warps(internal/coord.py), it is caused by missing definition of Model.raydist_fn in configs/llff_raw.gin(which in 360.gin, Model.raydist_fn = @torch.reciprocal). How can I solve this problem?

appreciate your reply!thanks a lot!

from multinerf-pytorch.

SuLvXiangXin avatar SuLvXiangXin commented on June 23, 2024

I tested rawnerf can run through. Because this repo simply translates the official jax version into pytorch for implementing zipnerf, it has not studied the principle of rawnerf in depth. It is okay to not define model.raydist_fn in llff_raw.gin, which means that sampling on rays is simply equidistant sampling instead of reciprocal. If you are interested in this project, you can also pull request to improve it. If you encounter any other errors
, please post the error message in the issue

from multinerf-pytorch.

Related Issues (4)

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.