-
Notifications
You must be signed in to change notification settings - Fork 49
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
Question about code? #8
Comments
Hi, the "cov53.pt" in the code was actually for testing, which I mistakenly uploaded it. Really sorry about that. Code has been corrected, please contact us if you have more questions. Thanks for correcting~ |
I have another problem, when I test the accuracy of pretrained resnet-50 on imagenet you provided, but the accuracy is just 0.0899, it's too low? |
Make sure you are using our data processing code and your imagenet is fine. Everything goes smooth in our testing. |
Thanks for your quick reply! |
I don't think this is our problem. Many readers adopt our pre-trained model and nothing goes wrong in our communication. You need to check your usage. |
老兄啊,你可以直接说中文. 一堆语法错误看不懂你在说什么. |
哈哈^-^ |
正常是同一个类别的数据放在一个文件里. 你需要分类下. |
好的,知道了,谢谢 |
不客气,有问题再留言~ 你也可以参考这个代码 https://github.com/lmbxmu/HRankPlus |
我刚刚测试了一下,发现精度还是不对,你能把你的测试集文件目录给我看看嘛? |
图片无法上传. 请联系你身边的人. 这是常识性问题,不属于我们代码bug范围. |
好的,已经解决了,主要之前没做过分类的实验。。。麻烦你了! |
不客气~ 任何关于我们代码和论文的问题,欢迎随时提问交流 |
Hi~ |
想通的、可以的。 都没有留言的必要 |
你好,我复现了一下ResNet-50在ImageNet上的剪枝实验,但是精度并没有达到文中那么高,大概低了4个点,我每层剪完后训练15个epoch,请问是不是要增加训练的epoch呢? |
大哥,你是怎么跑的能跑成这样. 麻烦移驾 https://github.com/lmbxmu/HRankPlus 看参数配置. 还有我实在不明白为什么微信留言下消失了一下又跑这里来??? |
Hi~Thanks for your great work!
In main.py, the code:
if args.arch=='resnet_50':
skip_list=[1,5,8,11,15,18,21,24,28,31,34,37,40,43,47,50,53]
if cov_id+1 not in skip_list:
continue
else:
pruned_checkpoint = torch.load(
args.job_dir + "/pruned_checkpoint/" + args.arch + "_cov" + str(53) + '.pt')
net.load_state_dict(pruned_checkpoint['state_dict'])
Why the model load cov53.pt?
The text was updated successfully, but these errors were encountered: