You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for ur project.
when i run GBLM-Pruner/gradient_computation.py, I meet a error whose details are below.
Traceback (most recent call last):
File "GBLM-Pruner/gradient_computation.py", line 206, in
grad_up.update_gradient(model, nsample)
File "GBLM-Pruner/gradient_computation.py", line 157, in update_gradient
assert int(all_zero) == 0, f"all the elements in the tensor are zero.: {all_zero}"
AssertionError: all the elements in the tensor are zero.: True
seems that some tensors are zero. I have no idea about this error. would u please tell me how to solve this?
The text was updated successfully, but these errors were encountered:
thanks for ur project.
when i run GBLM-Pruner/gradient_computation.py, I meet a error whose details are below.
Traceback (most recent call last):
File "GBLM-Pruner/gradient_computation.py", line 206, in
grad_up.update_gradient(model, nsample)
File "GBLM-Pruner/gradient_computation.py", line 157, in update_gradient
assert int(all_zero) == 0, f"all the elements in the tensor are zero.: {all_zero}"
AssertionError: all the elements in the tensor are zero.: True
seems that some tensors are zero. I have no idea about this error. would u please tell me how to solve this?
The text was updated successfully, but these errors were encountered: