Giter Site home page Giter Site logo

Comments (6)

haotongl avatar haotongl commented on September 26, 2024

Hi, this result is very strange, can you provide me with more details? For example, pytorch version, operating environment.

Besides that, I also doubt whether the pre-trained model is loaded normally. Can you make sure that this line of code runs successfully?

net.load_state_dict(pretrained_model['net'], strict=strict)

from enerf.

Tiansong97 avatar Tiansong97 commented on September 26, 2024

Thanks for your reply.
Yes the pretrained model is loaded successfully. To check this problem, we set "strict=True" and get the same results.

We run the code on an ubuntu server and Nvidia 3090 GPU. Pytorch version is the same as in readme, and other packages that may have influence are show as following:
image
image
image

All the evaluation outputs on DTU dataset are shown as following:
企业微信截图_16775885222453

The rendered images seem to be reasonable:
Scan114_32_0.png
scan114_32_0
scan45_44_0.png
scan45_44_0

What's more, the evaluation results on nerf_llff_data (32 images for evaluation in total) and nerf_synthetic_data (32 images for evaluation in total) are also different from the psnr, ssim & lpips results that are shown on paper:
image
image
image

Also, the rendered images seem to be reasonable:
chair_32_0.png (same as the image shown on the supplementary materials)
chair_32_0
fortress_25_0.png
fortress_25_0

We are writing a paper and prepare to cite your paper and compare with yours results, so we want to check this problem. Thanks.

from enerf.

haotongl avatar haotongl commented on September 26, 2024

While the model appears to perform well on the other two datasets, there may be an issue with the format of the DTU dataset when it comes to the artifacts. Based on the provided rendering images, which are clearly 512x640 in size, it is possible that the camera pose scale is incorrect. To confirm this, could you please review the content of $workspace/dtu/Cameras/train/00000000_cam.txt.

0.970263 0.00747983 0.241939 -191.02
-0.0147429 0.999493 0.0282234 3.28832
-0.241605 -0.030951 0.969881 22.5401
0.0 0.0 0.0 1.0

intrinsic
361.54125 0.0 82.900625
0.0 360.3975 66.383875
0.0 0.0 1.0

425.0 2.5

from enerf.

Tiansong97 avatar Tiansong97 commented on September 26, 2024

We follow the readme to download the dtu, llff, nerf dataset. The camera paramters are shown as follows. It seems that there is no difference to your data.
image

We download the code, pretrained model and dataset, then we run the rendering command directly after specifying the dataset path. We didn't modify the dataset or the code.

from enerf.

haotongl avatar haotongl commented on September 26, 2024

I'm sorry, it's my fault. I must have introduced a bug during my later update. However, I need to go to bed now and don't have time to locate where the bug is. A quick but temporary solution is to run "git checkout 2d6b3b2" and then execute the evaluation command.

I will address the issue tomorrow and update it on the master branch.

from enerf.

haotongl avatar haotongl commented on September 26, 2024

I have solved this bug.

from enerf.

Related Issues (20)

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.