Closed ADetilie closed 1 month ago
I just pushed a fix, it should work now.
@abwerby thank you for quick fix! I don't encounter such problems right now.
However, when I am trying to generate scene graph, I repeatedly face crashes:
(hovsg) ➜ HOV-SG git:(main) ✗ python application/create_graph.py main.dataset=hm3dsem main.dataset_path=data/hm3dsem_walks/val/00824-Dd4bFSTQ8gi/ main.save_path=data/scene_graphs/00824-Dd4bFSTQ8gi
/home/ncdev/miniforge3/envs/hovsg/lib/python3.9/site-packages/scipy/__init__.py:155: UserWarning: A NumPy version >=1.18.5 and <1.26.0 is required for this version of SciPy (detected version 1.26.4
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
[2024-07-23 12:37:18,487][root][INFO] - Loaded ViT-H-14 model config.
[2024-07-23 12:37:26,890][root][INFO] - Loading pretrained ViT-H-14 weights (checkpoints/laion2b_s32b_b79k.bin).
Creating RGB-D point cloud: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 226/226 [00:26<00:00, 8.58it/s]
Extracting features: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 226/226 [20:37<00:00, 5.47s/it]
Merging 3d masks sequentially
6%|██████████ | 14/225 [25:23<19:20:49, 330.09s/it][1] 100314 killed python application/create_graph.py main.dataset=hm3dsem
Traces show that some processes were killed on my machine, due to Out of memory
problem. Despite the machine having 62 gigs of RAM.
What are the memory requirements for this script to run properly?
Also, when I am trying to run "create_graph.py" script, I am getting the following error:
Have you seen such a problem previously? What could be the reason?
BTW, the command in the
README.md
seems incorrect. Path to the dataset should be:main.dataset_path=data/hm3dsem_walks/val/00824-Dd4bFSTQ8gi/
instead ofmain.dataset_path=hm3dsem_walks/val/00824-Dd4bFSTQ8gi/
like inREADME.md