-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
foreground mask cuda index error #305
Comments
same problem when I use neuralRecon in the Wild, the command is " ns-train neusW --machine.num-gpus 2 --vis viewer --pipeline.model.sdf-field.inside-outside False --pipeline.model.sdf-field.use-appearance-embedding True heritage-data --data /home/user/NeuralRecon-W/recon_data/IMG_6853/split_0" |
That's because your mask shape is [a, b], but the interface require shape like[a, b, 3] and it will transform it to [a, b, 1]. When you use a numpy array like [a, b], it will become [a, 1], that makes cuda index error.
|
@niujinshuchong
I trained with
ns-train neus --pipeline.datamanager.train-num-rays-per-batch 2048 --pipeline.model.sdf-field.inside-outside False
--pipeline.model.sdf-field.hidden-dim 256 --pipeline.model.sdf-field.num-layers 2
--pipeline.model.sdf-field.num-layers-color 2 --pipeline.model.sdf-field.use-grid-feature False
--pipeline.model.sdf-field.bias 0.3 --pipeline.model.sdf-field.beta-init 0.3 --pipeline.model.background-model mlp
--pipeline.model.sdf-field.use-appearance-embedding True --trainer.steps-per-eval-image 5000
--trainer.max-num-iterations 100000 --pipeline.model.near-plane 0.05 --pipeline.model.far-plane 2. --vis wandb
--pipeline.model.overwrite-near-far-plane True --pipeline.model.mono-normal-loss-mult 0.01 --viewer.websocket-port 7008 --pipeline.model.mono-depth-loss-mult 0.0
--experiment-name neusmask_bat sdfstudio-data --data /home/xiangyue/joonwon/sdfstudio/data/sdfdata/sdfbat --include-mono-prior True --include_foreground_mask True
The text was updated successfully, but these errors were encountered: