Comments (11)
@chenhsuanlin
I've checked the shape again.
the appear_embed
is Embedding(2,8)
, but the sample_idx
is tensor([2,3])
.
So I changed the num_images
from 2 to 4 in toy_example.yaml
and then it can run successfully.
But idk why the num is incorrect.
I followed the instructions in Data Preparation step-by-step and generated the toy_example.yaml
file correctly without running into any issues along the way.
from neuralangelo.
Hi @SenVy-WH, could you run with the environment variable CUDA_LAUNCH_BLOCKING=1
as suggested in the log, and help pin down which line in the Pytorch code it fails at? Thanks!
from neuralangelo.
Hi @SenVy-WH, could you run with the environment variable
CUDA_LAUNCH_BLOCKING=1
as suggested in the log, and help pin down which line in the Pytorch code it fails at? Thanks!
Sorry, I accidentally closed this issue by mistake. Reopening it now.
I've tried the CUDA_LAUNCH_BLOCKING=1
but nothing changed & happend.
But I got this when I tried debug it step by step.
Evaluating: 50%|██████████████████████████████████████████████████████ | 1/2 [00:23<00:23, 23.53s/it]
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [0,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [1,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [2,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [3,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [4,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [5,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [6,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/home/conda/feedstock_root/build_artifacts/pytorch-recipe_1680542704550/work/aten/src/ATen/native/cuda/Indexing.cu:1093: indexSelectSmallIndex: block: [0,0,0], thread: [7,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
It happened in model.py
on line 220
app = self.appear_embed(sample_idx)[:, None, None] # [B,1,1,C]
Could the data preparation cause this problem or have I configured the image parameters incorrectly?
from neuralangelo.
Thanks for the feedback! Though it's weird, this is likely because num_images
in our example was set to too small (2). We are working on replacing the toy example with a workable example -- will push the update soon!
from neuralangelo.
@SenVy-WH we have just updated the toy example video. Could you also try pulling and following the new instructions? If you still run into further issues, please let me know. Thanks!
from neuralangelo.
@SenVy-WH we have just updated the toy example video. Could you also try pulling and following the new instructions? If you still run into further issues, please let me know. Thanks!
the colmap still can only register two images which is leading to the same issue
from neuralangelo.
@chenhsuanlin Thanks for being so responsive! I've tried the new video but still get the same issue as @GondorFu said.
btw, I found the output always has
Train dataset length: 2
Val dataset length: 4
so i change the subset
from 4
to 2
in the base.yaml
and it can run successfully.
maybe this num should be sync with num_images: 2
in lego.yaml
?
from neuralangelo.
Yes, indeed if there are <4 training images, data.val.subset
should be adjusted as well (though these cases should be very rare!). Marking this as a bug to fix.
It seems weird that COLMAP only finds two images on the new toy example though; ideally it should be able to extract 100 frames. I will look into this.
from neuralangelo.
Yes, indeed if there are <4 training images,
data.val.subset
should be adjusted as well (though these cases should be very rare!). Marking this as a bug to fix.It seems weird that COLMAP only finds two images on the new toy example though; ideally it should be able to extract 100 frames. I will look into this.
Hi @chenhsuanlin, I've tried using COLMAP GUI (rather than scripts) to change some settings and keep other settings as default to extract feature and here is what I found:
- With
camera_model=RADIAL
¬ selected "Shared for all image"
, COLMAP only finds two images as the scripts. - With
camera_model=RADIAL
&selected "Shared for all image"
, COLMAP can finds 100 images SOMETIMES. - With
camera_model=SAMPLE_RADIAL
&selected "Shared for all image"
, COLMAP can finds 100 images ALWAYS.
in case 3, I got
Train dataset length: 100
Val dataset length: 1
So I think this two options may be the key to this issue.
from neuralangelo.
Thanks @SenVy-WH for the feedback! It seems that complex camera model could somewhat hurt registration. We will look into this.
from neuralangelo.
The num_images
problem has been fixed (4b2e18e) and the COLMAP script now defaults to the SIMPLE_RADIAL
camera model (a4e5690). Thanks @SenVy-WH for the feedback -- please feel free to reopen if there are further issues.
from neuralangelo.
Related Issues (20)
- Fixed poses for Courthouse no longer avaliable HOT 1
- MacBook Pro M1 compatibility HOT 1
- Colab Demo Broken HOT 1
- What is the difference between numerical taps 4 and 6? HOT 1
- oom problem during train
- ModuleNotFoundError: No module named 'tinycudann'
- I'm curious about how the F1 score was calculated in the paper.
- CondaEnvException: Pip failed------failed to build tinycudann HOT 2
- How to add texture HOT 1
- How to "run neuralangelo"
- Save rendered images from the trained model
- Can I ask if this code can be used for scene reconstruction?
- Load a trained model and generate novel view
- how to get the envirement mesh
- Correlation of training speed influencing hyperparameters
- RGB View Synthesis
- merits
- Configuration file for Blender dataset
- Colab Notebook Throws Error: No such file or directory: 'datasets/lego_ds2/images HOT 1
- PSNR Evaluation
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 neuralangelo.