Giter Site home page Giter Site logo

vlar-group / nvfi Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 1.0 74.72 MB

NVFi in PyTorch (NeurIPS 2023)

Python 100.00%
3d 3d-physics-learning 3d-reconstruction 3d-rendering 3d-velocity neurips neurips-2023 physics-3d physics-informed-learning physics-informed-neural-networks velocity

nvfi's People

Contributors

szy-young avatar yang7879 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

walternat1ve

nvfi's Issues

InDoorSeg cannot be learned.

The InDoorSeg training code is not incorrect, but the quality of generation in the extrapolation of the training viewpoint of the test data is relatively good, but the images of the unknown viewpoint (interpolation) tended to be black.
If you know of a solution, please let me know.

[Question] NVFi dataset making process.

I wonder how to make an NVFi dataset.

As I know, it is similar to the D-NeRF dataset structure. When I use ColMap to save videos as images, the time information is not
included in the JSON file. I wonder about how this was included in the JSON file.

I would appreciate it if you tell me how this process.

Bug in model evaluation—datasets with more than 1000 images have very low PSNRs. Easy fix.

The render_test_evaluation() function in train_nvfi() writes generated images to disk with files names r_some_number.png where the some_number indicates the position of the corresponding target in all_targets. However, the read_images_in_dir() function sorts these images by their filenames as strings and not numbers, and hence there is a mismatch between the ordering of generated examples and targets.

This shouldn't be impactful if there are fewer than 1000 images since the images have up to three zeros prepended to their index in the corresponding filename.

The fix is simple: in the read_images_in_dir() function in utils/metrics.py, one must replace

fnames.sort()

with

remove_non_numeric = lambda x: ''.join(filter(str.isdigit, x))
fnames = sorted(fnames, key=lambda x: int(remove_non_numeric(x)))

Missing libraries and argparse arguments

Hi,

I'm trying to run the code as instructed, but stumbled upon a few issues.

  1. Some requirements are missing.
    in tensorf_model_utils.py there are the following imports which are not in the requirements:
import plyfile
import skimage.measure

A pip install of plyfile and scikit-image seems to fix it, so I guess it should be added to the requirements.txt.

  1. in train_nvfi.py the argument config_args.keyframe is missing, causing an attribute error.
    I assume this would be a boolean flag, indicating whether the keyframe optimization in section 3.2 of your paper is used..?

Questions about the construction of get_vel_loss()

Hi! Thanks for your great job and finally it opened!
However, as I was reading the code of velocity part, I found that new random points and time were considered when calculating the velocity constrain. Is any reason to do so? Since usually I think the pts to render color should be the same with the pts calculating all the losses, and your code seems to be an exception.

Looking forward to your reply soon!

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.