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

Fail to load model #28

Open
VimalrajXy opened this issue Dec 7, 2023 · 1 comment
Open

Fail to load model #28

VimalrajXy opened this issue Dec 7, 2023 · 1 comment

Comments

@VimalrajXy
Copy link

Traceback (most recent call last):
File "C:\Users\Vimalraj\PycharmProjects\Opensphere\main_inference.py", line 34, in
model = Model(config['model'])
File "C:\Users\Vimalraj\PycharmProjects\Opensphere\opensphere\model.py", line 25, in init
self.backbone = self.build_module(args['backbone']['net']).to(self.rank)
File "C:\Users\Vimalraj\PycharmProjects\Opensphere\opensphere\model.py", line 33, in build_module
return build_from_args(args, 'opensphere.module')
File "C:\Users\Vimalraj\PycharmProjects\Opensphere\opensphere\utils\build_helper.py", line 23, in build_from_args
return obj_cls(**args)
File "C:\Users\Vimalraj\PycharmProjects\Opensphere\opensphere\module\backbone\sfnet.py", line 253, in sfnet20
return _sfnet('sfnet20', BasicBlock, [1, 2, 4, 1], pretrained, progress,
File "C:\Users\Vimalraj\PycharmProjects\Opensphere\opensphere\module\backbone\sfnet.py", line 215, in _sfnet
model = SFNet(block, layers, **kwargs)
TypeError: init() got an unexpected keyword argument 'out_channel'

@ydwen
Copy link
Owner

ydwen commented Dec 7, 2023

Hi VimalrajXy. We rename 'out_channel' as 'embed_dim' in our new commit.

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

2 participants