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

KeyError: 'feat_model' #27

Open
houyongkuo opened this issue Apr 23, 2021 · 4 comments
Open

KeyError: 'feat_model' #27

houyongkuo opened this issue Apr 23, 2021 · 4 comments

Comments

@houyongkuo
Copy link

Hi!
Thank you for your interesting work.
When I tested the demo, I got the error about 'feat_model'. How to get this “feat_model”?
In addition, according to the current version of MinkowskiEngine, it may be possible to replace "has_bias" with "bias".
Thanks.

Best wishes.

log:
python demo.py
=> loading checkpoint 'ResUNetBN2C-feat32-3dmatch-v0.05.pth'
=> Setting voxel size to 0.05
Traceback (most recent call last):
File "/home/houyongkuo/Documents/DeepGlobalRegistration/core/deep_global_registration.py", line 94, in init
FCGFModel = load_model(network_config['feat_model'])
KeyError: 'feat_model'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "demo.py", line 40, in
dgr = DeepGlobalRegistration(config)
File "/home/houyongkuo/Documents/DeepGlobalRegistration/core/deep_global_registration.py", line 104, in init
self.fcgf_model = FCGFModel(num_feats,
File "/home/houyongkuo/Documents/DeepGlobalRegistration/model/resunet.py", line 518, in init
self.conv4_tr = conv_tr(
File "/home/houyongkuo/Documents/DeepGlobalRegistration/model/residual_block.py", line 72, in conv_tr
return ME.MinkowskiConvolutionTranspose(
TypeError: init() got an unexpected keyword argument 'has_bias'

@cattaneod
Copy link

I got the same error.

I solved the 'has_bias' by replacing it with 'bias', but I'm still getting the 'feat_model' error.

@JKViswanadham14
Copy link

any updates on this?

@Feegooddddd
Copy link

same error

@gitouni
Copy link

gitouni commented Sep 5, 2022

I think the best solution is to change the branch version to 0.5.

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

5 participants