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

Problems when training the model #39

Open
Mumuwei opened this issue Mar 18, 2021 · 2 comments
Open

Problems when training the model #39

Mumuwei opened this issue Mar 18, 2021 · 2 comments

Comments

@Mumuwei
Copy link

Mumuwei commented Mar 18, 2021

When training the model, I encountered the following problems:

in logger.py line 35
module.state_dict()['affine.weight'].copy_(checkpoint['kp_detector']['jacobian.weight'])
RuntimeError: The expanded size of the tensor (60) must match the existing size (40) at non-singleton dimension 0. Target sizes: [60, 35, 7, 7]. Tensor sizes: [40, 35, 7, 7]

@zhan-xu
Copy link

zhan-xu commented Nov 4, 2021

how did you solve the problem?

@zhan-xu
Copy link

zhan-xu commented Nov 4, 2021

i think we need to modify num_kp in first-order code to match num_segments in this code

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