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

通道剪枝错误, get_mask2 未找到.. #24

Closed
Byronnar opened this issue Dec 10, 2019 · 1 comment
Closed

通道剪枝错误, get_mask2 未找到.. #24

Byronnar opened this issue Dec 10, 2019 · 1 comment

Comments

@Byronnar
Copy link

 Epoch   gpu_mem      GIoU       obj       cls     total      soft   targets  img_size

0%| | 0/309 [00:00<?, ?it/s]Traceback (most recent call last):
File "train.py", line 534, in
train() # train normally
File "train.py", line 313, in train
idx2mask = get_mask2(model, prune_idx, 0.95)
NameError: name 'get_mask2' is not defined
0%| | 0/309 [00:00<?, ?it/s]
请问是不是 命名有问题?
我改成 get_mask之后也报错

@tanluren
Copy link
Owner

嗯。。。实验代码,已删掉,使用新版本

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