Comments (7)
Hi @anhquancao I tried your suggestion to change "squeeze()" to "squeeze(-1)" and the problem is solved! Really thanks for your time!
from scenerf.
Hi @wangqiwangyuqing, thank you for pointing out the error, let me check it and will get back to you this week.
from scenerf.
It's weird that you have ~4k frames. For validation, there are only 800 frames since we only use the frame_id % 5 == 0 as in this line of code.
https://github.com/astra-vision/SceneRF/blob/main/scenerf/data/semantic_kitti/kitti_dataset.py#L95
Can you check if the variable self.scans in the following line contains only frames with frame_id % 5 == 0
https://github.com/astra-vision/SceneRF/blob/main/scenerf/data/semantic_kitti/kitti_dataset.py#L165
from scenerf.
@anhquancao Hi. I met the same error and my validation only contains frame_id % 5 == 0
looking forward to your reply!
from scenerf.
Hi @BeileiCui, thanks for your info.
It's really weird, I cloned the code, downloaded the checkpoint and ran the evaluation. However, my evaluation passed item 92/799 and had no error.
Did you following my instruction to setup the dataset?
https://github.com/astra-vision/SceneRF#dataset
Which command did you use?
Can you print the length of weights_at_depth and the shape of the tensor inside?
from scenerf.
Can you change the line 737 as following in scenerf.py and try again @wangqiwangyuqing @BeileiCui ?
https://github.com/astra-vision/SceneRF/blob/main/scenerf/models/scenerf.py#L737
The error is when there is only 1 ray, the squeeze() function turns the array of 1 item into a scalar which causes the issue in torch.cat. So the solution is to change "squeeze()" to "squeeze(-1)".
from scenerf.
Great! You are welcome.
from scenerf.
Related Issues (20)
- code question HOT 3
- 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
- Error with training on single gpu. HOT 5
- About dataset HOT 5
- depth estimation on other images HOT 3
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.