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

why my experiment results can't reach the original performance? #7

Open
JaminLi opened this issue Sep 28, 2020 · 1 comment
Open

why my experiment results can't reach the original performance? #7

JaminLi opened this issue Sep 28, 2020 · 1 comment

Comments

@JaminLi
Copy link

JaminLi commented Sep 28, 2020

Hi, thanks for your nice repo!
When I used your method for my experiment, I found my experiment results can't reach the original performance whether the first iteration or the 35th iteration.

In <main.py>
#Freezing Pruned weights by making their gradients Zero
grad_tensor = np.where(tensor < EPS, 0, grad_tensor)

Does this issue?

@l1teng
Copy link

l1teng commented Sep 22, 2022

In my implementation, I refactored all of the NumPy operations to the PyTorch ones. It worked, and the accuracy can reach training from scratch.

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