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

crash in Darknet::load_weights() when load tiny weights #4

Closed
jjqcat opened this issue Feb 13, 2019 · 2 comments
Closed

crash in Darknet::load_weights() when load tiny weights #4

jjqcat opened this issue Feb 13, 2019 · 2 comments

Comments

@jjqcat
Copy link

jjqcat commented Feb 13, 2019

module_list.size() is 24

void Darknet::load_weights(const char *weight_file)
{
...
for (int i = 0; i < module_list.size(); i++)
{

}
...
conv_weights = conv_weights.view_as(conv_imp->weight);//------crah when i == 22
}

@walktree
Copy link
Owner

what version of libtorch you are using? v1.0.0 has been tested.

@jjqcat
Copy link
Author

jjqcat commented Feb 14, 2019

I also tested it with libtorch CPU V1.0

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