Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would be nice to have a requirements.txt file to ensure no dependencies or critical packages are missed. #20

Open
harshakmohan opened this issue Aug 17, 2022 · 2 comments

Comments

@harshakmohan
Copy link

No description provided.

@tares003
Copy link

tares003 commented May 1, 2023

what are the requirements?

@jeremyfix
Copy link

jeremyfix commented Mar 7, 2024

From what I can tell for now, the code is running if you use the following requirements :

torch==2.2.1
tqdm
imageio>=2.34.0
numpy>=1.24.4
opencv-python-headless>=4.9.0.80
pyvista>=0.43.3
kornia>=0.7.1
configargparse

I'm able to execute the code on the chair example : python run_nerf.py --config configs/chair.txt --finest_res 512 --log2_hashmap_size 19 --lrate 0.01 --lrate_decay 10

I nevertheless had to bring some modifications .

  • in run_nerf.py, replace set_default_tensor_type by torch.set_default_device(device) ; Not sure If we have to enforce the dtype as well
  • in run_nerf.py, replace torch.Tensor([1e10]) (which was on CPU for some reasons, despite the set_default_device ?!) by torch.tensor([1e10]) (which correctly used the default device)
  • do the same as above in run_nerf_helpers.py for the ms2psnr lambda function

edit: I believe the code is running , the PSNR is increasing; and here is an example frame produced at iteration 2000

007

and here at 4000 iterations

007

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants