PoinTr
PoinTr copied to clipboard
How do I run this network to solve AttributeError: 'NoneType' object has no attribute 'items'
Hi @yuxumin, thank you for publishing this excellent work, I tried to use this model to complete my partial collected own dara. I installed all the required libraries and solved the faced problems with previous issues. Simply i tried to inference the demo data using ("python tools/inference.py cfgs/PCN_models/AdaPoinTr.yaml ckpts/AdaPoinTr_PCN.pth --pc_root demo/ --save_vis_img --out_pc_root inference_result/") as illustrated. However, I got this error:
(pointr) navlab@navlab-ProLiant-DL380-Gen10:/media/navlab/GNSS/work/pc_completion/Pointtr_net$ python tools/inference.py cfgs/PCN_models/AdaPoinTr.yaml ckpts/AdaPoinTr_PCN.pth --pc_root demo/ --save_vis_img --out_pc_root inference_result/
Traceback (most recent call last):
File "tools/inference.py", line 120, in
File "/media/navlab/GNSS/work/pc_completion/Pointtr_net/tools/../utils/config.py", line 19, in merge_new_config
for key, val in new_config.items():
AttributeError: 'NoneType' object has no attribute 'items'
(pointr) navlab@navlab-ProLiant-DL380-Gen10:/media/navlab/GNSS/work/pc_completion/Pointtr_net$
Please help me to solve it, so I can test my own data after that. Waiting your reply.