Comments (5)
It's my bad, bro. In unet2d_sphere.py, I set loading base model from local and use its weights model, that's why it is a orderedDict.
After set network proxy, I can start training now.
Thank you very much. The only problem is that the training speed on a single GPU is too slow. Do you think design a more lightweight model will be a optimization direction?
from scenerf.
Hi, currently the code is implemented to handle one item per GPU. Therefore, if you change the number of GPUs to 1, you also need to adjust the batch size to 1.
from scenerf.
Hi, currently the code is implemented to handle one item per GPU. Therefore, if you change the number of GPUs to 1, you also need to adjust the batch size to 1.
Thanks for your quick reply. I set batch size = 1 as your advice and also follow pytorch-lightning's requirment set "gpus = 1" , but the same error still occurs. In unet2d_sphere.py class Encoder's function foward, I guess this may be a training structure with multiple GPUs, only involving multiple GPUs_ modules. Should the code be modified appropriately?
from scenerf.
I use "print( ) function" to check where the problem occurs.
When I maintain the code as its initial state, I can not go into line217, because Original_model is an orderedDict, it does not have attribute "_modules"
When I change the code to delete "_modules" as this, I can not go into line218, I just got block.x.x.bnx, but k != blocks
So will "self.original_model._modules.items( )" is necessary?
I still set "batch size = 1" and "gpus = 1"
from scenerf.
Hi @UESTCSober,
I am pleased to hear that!
Yes, the training is quite slow, I think you can checkout other NeRFs papers that propose techniques speed up the training process like a triplane representation as in this work https://anantarb.github.io/triplanenet
from scenerf.
Related Issues (20)
- Something wrong when I want to compute the depth metrics on all frames in each sequence HOT 7
- Some question about compute_transformation and dataset HOT 10
- Bugs in generate_novel_depths.py HOT 3
- About cam_pts_to_angle HOT 4
- How do I set the data if I want to move the image I acquired with this code? HOT 6
- Are there any changes to the code and configuration for indoor scene reconstruction? HOT 6
- Are this method scene-specific? HOT 2
- train semantickitti problem HOT 2
- Some questions about performance against baseline Adabins HOT 2
- Question about FPS in inference HOT 4
- Asking for preprocess tsdf of 13.84 IoU ckpt HOT 5
- No Module named scenerf" HOT 8
- The details of converting image coordinates to spherical coordinates are somewhat confusing HOT 1
- [Question] 3D reconstruction from image slides HOT 2
- Error in Chekcpoints Saving HOT 1
- Question about Function "depth2disp" HOT 2
- About dataset HOT 5
- depth estimation on other images HOT 3
- Can the scene be reconstructed in 3D? HOT 4
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 scenerf.