-
Notifications
You must be signed in to change notification settings - Fork 202
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
Runtime Error #17
Comments
@jagadeesh09 The type of parameter "bias" in torch.nn.Conv2d should be bool(Check API at http://pytorch.org/docs/master/nn.html), but conv.bias is FloatTensor, change to bias = True if conv.bias is not None, otherwise False. |
Hi , I meet the problem, can your help me solved it
|
@MrLinNing |
@XUHUAKing I met this problem, but I don't know how to solve it: Can you help me? Thanks! |
@RgZhangLihao I am not sure of your error because I didn't meet this when I ran my own modified program. However, in my program, I added constraint This is just my guess, hope this help. |
@XUHUAKing I have the same issue with the list index out of the range. Can you share the prune.py script with me, as I don't know where to put the if condition exactly. Thanks! |
If I want to use trained bias parameters, how to do ? |
Hi
I have encountered this error while running the code. After getting the information about the filters which are to be pruned, while pruning the filters this issue occured.
The text was updated successfully, but these errors were encountered: