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

How do I run this network to solve AttributeError: 'NoneType' object has no attribute 'items' #128

Open
mostafa501 opened this issue Sep 16, 2023 · 0 comments

Comments

@mostafa501
Copy link

mostafa501 commented Sep 16, 2023

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
main()
File "tools/inference.py", line 105, in main
config = cfg_from_yaml_file(args.model_config)
File "/media/navlab/GNSS/work/pc_completion/Pointtr_net/tools/../utils/config.py", line 44, in cfg_from_yaml_file
merge_new_config(config=config, new_config=new_config)
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.

@mostafa501 mostafa501 changed the title How do I run this network with my own data ? How do I run this network to solve AttributeError: 'NoneType' object has no attribute 'items' Sep 25, 2023
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

1 participant