Skip to content

Cannot reproduce NeRF results on LLFF Fern dataset #1292

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

Open
sergeyprokudin opened this issue Aug 12, 2022 · 6 comments
Open

Cannot reproduce NeRF results on LLFF Fern dataset #1292

sergeyprokudin opened this issue Aug 12, 2022 · 6 comments
Assignees

Comments

@sergeyprokudin
Copy link
Contributor

Hi Pytorch3d team,

I was recently trying to reproduce the results of Pytroch3d NeRF implementation on the LLFF "fern" dataset. No changes on my side were made to the code, I've just run the provided command:

python ./train_nerf.py --config-name fern

However, the results I'm getting on the validation set are significantly lower than the ones reported in the readme (27.9 PSNR vs 17.8 I'm getting). I somehow feel this might be connected to the behavior described in the following open issue.

It would be great if you can look into this. Having reproducible NeRF baselines in a modular and extendable framework like Pytorch3d would be of great help for future research on neural rendering.

Thanks in advance,

~Sergey

@gkioxari
Copy link
Contributor

It's my understanding that we are deprecating projects/nerf with the new implicitron library

@sergeyprokudin
Copy link
Contributor Author

I see, thanks for the clarification! It would be great to have the code for reproducing NeRF LLFF and Lego within the implicitron framework then.

@gkioxari
Copy link
Contributor

@bottler @davnov134 Can you point Sergey to the code that reproduces NeRF for LLFF and Lego?

@sergeyprokudin
Copy link
Contributor Author

Hi folks! Any update on this?

@weizhenFrank
Copy link

@sergeyprokudin Bro, I also have the same problem as you. I run the code
python ./train_nerf.py --config-name fern and python ./test_nerf.py --config-name fern. But I didn't fully reproduce the result. My result is as the screenshot shows.
image
However, the repo here said the PSNR should be

| Implementation |  Lego: test PSNR |  Fern: test PSNR |  training speed |
+----------------+------------------+------------------+-----------------+
| TF (official)  |             31.0 |             27.5 |  0.24 sec/it    |
| PyTorch3D      |             32.7 |             27.9 |  0.18 sec/it    |
+----------------+------------------+------------------+-----------------+```

@weizhenFrank
Copy link

Update: Just as #868 said, this implementation has some problems for non-square images. But I successfully reproduce the lego result.

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

4 participants