Comments (9)
@KerryKou Hey, may be the error occurred because of the new version 1.8.1 of pytorch? Can you please try to run the script with pytorch 1.7.0 or 1.4.0?
from nerf-pytorch.
@KerryKou did you change the parameters in the config file \configs\lego.txt?
from nerf-pytorch.
@KerryKou Hey, may be the error occurred because of the new version 1.8.1 of pytorch? Can you please try to run the script with pytorch 1.7.0 or 1.4.0?
@salykovaa Thank you for your advices! I have tried to use pytorch 1.7.0 and 1.4.0, but the result kept same. This is part of my environment dependencies:
- torch==1.7.0
- torchvision==0.8.0
- imageio==2.9.0
- imageio-ffmpeg ==0.4.3
- matplotlib==3.3.3
- opencv-python==4.5.1.48
It seems that there is no conflict with the requirements.txt. And I also checked my config files. I am sure that they haven't been modified.
from nerf-pytorch.
@KerryKou Just to be sure: did you put your "fern_test" folder into the "logs" folder? After running the script you should see something like this in the console:
Found ckpts ['./logs/fern_test/200000.tar']
Reloading from ./logs/fern_test/200000.tar
from nerf-pytorch.
@KerryKou Just to be sure: did you put your "fern_test" folder into the "logs" folder? After running the script you should see something like this in the console:
Found ckpts ['./logs/fern_test/200000.tar'] Reloading from ./logs/fern_test/200000.tar
@salykovaa Yes, I am sure I put it correctly. This is what I got from console:
from nerf-pytorch.
@KerryKou I downloaded the whole repository from this checkpoint and I used the following dependencies:
torch==1.4.0
torchvision==0.5.0
imageio
imageio-ffmpeg
matplotlib
configargparse
tensorboard==1.14.0
tqdm
opencv-python==4.2.0.34
The script works perfectly and the output images are correct. If you use these dependencies, don't forget to install torchsearched manually via cd torchsearchsorted pip install .
If it doesn't help you, I assume the error occurs, because you use 2 GPUs (but I am not sure, just an assumption)
from nerf-pytorch.
@KerryKou I downloaded the whole repository from this checkpoint and I used the following dependencies:
torch==1.4.0 torchvision==0.5.0 imageio imageio-ffmpeg matplotlib configargparse tensorboard==1.14.0 tqdm opencv-python==4.2.0.34
The script works perfectly and the output images are correct. If you use these dependencies, don't forget to install torchsearched manually via
cd torchsearchsorted pip install .
If it doesn't help you, I assume the error occurs, because you use 2 GPUs (but I am not sure, just an assumption)
@salykovaa I tried to clone from the repository you provided. As you say, it works perfectly. I will go on to find out what causes the abnormal results. Thank you for your help!
from nerf-pytorch.
@KerryKou You are welcome! My assumption: since the model was trained with torch 1.4.0, we also need to test it with 1.4.0, but maybe I understood this wrong. Anyway, it would be nice if you could find what causes the abnormal result.
from nerf-pytorch.
Hi all, thanks for raising up the issues. I've temporarily rolled back the master branch to this checkpoint, and move all the updates to branch dev
.
The error could come from other people's pull requests, I will try to debug on my side when I have time too.
from nerf-pytorch.
Related Issues (20)
- One problem in ran project
- cuda HOT 1
- w HOT 1
- Where can I buy the lovely lego bulldozer in the dataset? HOT 1
- Why is "output_ch = 5 if args.N_importance > 0 " ? HOT 1
- ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group
- how can I convert the depth map into a point cloud, given the accurate camera intrinsics HOT 2
- Is there a Pytorch Mobile implementation for this model?
- How can I use nerf to reconstruct the tanksandtemples dataset clearly?
- How can I get SSIM and LPILS data?
- Evaluation
- what is bd_factor?
- The rendered img has a large area of blank ? HOT 2
- How to calculate SSIM and LPIPS
- Problems with running pre trained models HOT 1
- How do I use tensorboard to view the psnr curve
- I run run_nerf.py that have a question HOT 1
- Incorrect initialization of camera intrinsic parameters: K.
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
- TypeError: read() got an unexpected keyword argument 'ignoregamma' (Solution Provided)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerf-pytorch.