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

shared index of groups in mobilenetV2 residual block missing one line code #15

Open
grayicon opened this issue Oct 25, 2019 · 3 comments

Comments

@grayicon
Copy link

grayicon commented Oct 25, 2019

the code logic in the #371 line of channel_pruning_env.py is missing one line code: self.shared_idx.append(share_group) should be added after the for loop.

@betterhalfwzm
Copy link

@grayicon 需要加吗?没看出来有啥影响啊

@grayicon
Copy link
Author

grayicon commented Nov 9, 2019

@grayicon 需要加吗?没看出来有啥影响啊
shared_ids.append(share_group)是在for loop下的if分支进行的,该分支为new group code block,这会导致,最后一个share_group 无法添加到shared_ids中去,因此在for loop后添加一句self.shared_idx.append(share_group) 将最后一个shared_group添加到shared_idx中去

@alan303138
Copy link

請問Mobilenetv2在搜尋完後怎麼導出權重檔案?

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

3 participants