DeepGlobalRegistration icon indicating copy to clipboard operation
DeepGlobalRegistration copied to clipboard

KeyError: 'feat_model'

Open houyongkuo opened this issue 3 years ago • 4 comments

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'

houyongkuo avatar Apr 23 '21 12:04 houyongkuo

I got the same error.

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

cattaneod avatar Apr 30 '21 14:04 cattaneod

any updates on this?

JKViswanadham14 avatar Jun 15 '22 10:06 JKViswanadham14

same error

Feegooddddd avatar Aug 25 '22 09:08 Feegooddddd

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

gitouni avatar Sep 05 '22 01:09 gitouni