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

AttributeError: 'numpy.ndarray' object has no attribute 'layers' #9

Open
L-JunJie opened this issue Aug 9, 2023 · 0 comments
Open

Comments

@L-JunJie
Copy link

L-JunJie commented Aug 9, 2023

Traceback (most recent call last):
File "/home/ljj/AutoRecon-main/third_party/AutoDecomp/auto_decomp/inference_transformer.py", line 79, in main
sfm.main(cfg.sparse_recon)
File "/home/ljj/AutoDecomp/auto_decomp/sfm/sfm.py", line 610, in main
reconstruct_instance(copy.deepcopy(args), args.inst_rel_dir, *_queue_args, task_id=0)
File "/home/ljj/AutoDecomp/auto_decomp/sfm/sfm.py", line 521, in reconstruct_instance
pairs_from_sequential.main(
File "/home/ljj/AutoDecomp/auto_decomp/sfm/pairs_from_sequential.py", line 129, in main
loop_det_pairs = build_loop_detection_pairs(
File "/home/ljj/AutoDecomp/auto_decomp/sfm/pairs_from_sequential.py", line 61, in build_loop_detection_pairs
retrival_feat_path = extract_features.main(
File "/root/miniconda3/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/root/3Dvision/AutoRecon-main/third_party/AutoDecomp/third_party/Hierarchical-Localization/hloc/extract_features.py", line 253, in main
model = Model(conf['model']).eval().to(device)
File "/root/3Dvision/AutoRecon-main/third_party/AutoDecomp/third_party/Hierarchical-Localization/hloc/utils/base_model.py", line 17, in init
self._init(conf)
File "/root/3Dvision/AutoRecon-main/third_party/AutoDecomp/third_party/Hierarchical-Localization/hloc/extractors/netvlad.py", line 86, in _init
mat['net'].layers):
AttributeError: 'numpy.ndarray' object has no attribute 'layers'

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