Skip to content
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

The program freezes when importing a model #88

Open
520jz opened this issue Oct 22, 2023 · 1 comment
Open

The program freezes when importing a model #88

520jz opened this issue Oct 22, 2023 · 1 comment

Comments

@520jz
Copy link

520jz commented Oct 22, 2023

Hi, thanks for this fantastic work. When I trained the model using the scannet dataset, I had a strange issue where the program froze at 107 lines when running monosdf_train.py file
image

After using debug to go in, you will find that the program has been stuck in the import (module)
image

This is the output information of the terminal
image

No matter how long I wait, the program will not run any further
The conf file follows the default settings

The command line is as follows:
CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --nproc_per_node 1 --nnodes=1 --node_rank=0 training/exp_runner.py --conf confs/scannet_mlp.conf --scan_id 9

The input data structure is as follows
image

please, I need your help!
thank you very much

@niujinshuchong
Copy link
Member

Hi, we use our own implementation of hash-encoding so it will try to compile it for the first time when you run it which might takes some time. Here is the setup code: https://github.com/autonomousvision/monosdf/blob/main/code/hashencoder/backend.py

Can you also try to delete the tmp_build and rerun the training command again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants