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

Some issue about non-random Initialization and accuracy when reproducing your work #12

Open
zhiwei-roy-0803 opened this issue Apr 23, 2019 · 5 comments

Comments

@zhiwei-roy-0803
Copy link

Hi, thanks for your kind work for implementing the CVPR18 paper DFL-CNN for the community. I notice that your code did not implement the non-random initialization part which the authors claimed it was very important. I found some similar issues like mine, and can I discuss some ideas about non-random initialization with your? In the original paper, the author first calculate the conv4_3 feature map and got C * H * W feature maps. Then they calculated l2-norm along the channel dimension and got H * W heat map. If I did not understand wrongly till now, how should I understand their following operations: for each class i, obtain the initialization weights for k 1 * 1 conv filters by non-maximium suppression and k-means? Does it mean the author first calculate the feature maps of all images in the training set and obtain C_k heat maps per class and performance non-maxium suppression and k-means over the peak regions in the C_k heat maps?

Furthermore, when I ran your code, I only got 56.6% test accuracy in the test set, I did not know what the problem was and it really confused me for a couple day, could you please help me tackle it?

Thanks for your job!

@deepblue0822
Copy link

My test accuracy is 57%!

@zhiwei-roy-0803
Copy link
Author

My test accuracy is 57%!
hhh~~Interesting to find someone like me

@LLY6321
Copy link

LLY6321 commented Jun 5, 2019

@czw123456 @deepblue0822 When I run the code always appear a question,could you give me some help?Thanks a lot! In train.py

for i, (data, target, paths) in enumerate(train_loader):←←←←←←←←←←there
if args.gpu is not None:
data = data.cuda()
target = target.cuda()

AttributeError: Can't pickle local object 'get_transform_for_train..'

@pshroff04
Copy link

@czw123456 Can you please share the weights? I am not able to download the weights. Thanks

@limengyang9368
Copy link

the same question. i have no idea how to operate the non-random initialization, could u please share the 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

5 participants