question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nan accumulation for nerfacto applied on redwoods2

See original GitHub issue

Describe the bug

AssertionError: the min value is -9223372036854775808 in outputs["accumulation"] after 490 iterations using nerfacto on nerfstudio/redwoods2. I tried different seeds and still get the error at 490 iterations. This does not happen on the other nerfstudio scenes.

To Reproduce

  1. Follow the installation guidelines in the readme.md (with CUDA 11.3, Ubuntu 18.04)
  2. Download the scene using ns-download-data --dataset nerfstudio --capture redwoods2
  3. Run ns-train nerfacto --vis tensorboard --data data/nerfstudio/redwoods2.

Expected behavior

It should train smoothly

Screenshots

Screenshot 2022-11-01 at 7 12 19 PM

Extra context

It seems related to #117, which looks resolved by a previous PR. Let me know if you need more details on the machine/package versions

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
tancikcommented, Nov 3, 2022

I’m able to replicate this error. We would also see this issue when we trained nerfacto for a large number of iterations (>50k). Seems like it appears early for this scene. The issue is likely due to precision / numerical stability, however we have yet to trace it down.

0reactions
hturkicommented, Dec 3, 2022

When playing with tiny-cuda-nn-based models I’ve found that applying a small weight decay term (1e-6) sometimes helped with training stability, but at least in my case this was somewhat scene specific

Read more comments on GitHub >

github_iconTop Results From Across the Web

sno_edited.txt - PhysioNet
... ACCUMULATE ACCUMULATED ACCUMULATES ACCUMULATING ACCUMULATION ACCUMULATIONS ... APPLICATION APPLICATIONS APPLICATOR APPLICATORS APPLIED APPLIER APPLIERS ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found