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
in add_layer
inner_product_param['num_output'] = func.next_functions[0][0].variable.size(0)
AttributeError: 'NoneType' object has no attribute 'variable'
to the use of bias=False for a nn.Linear layer in Pytorch. Note that this parameter for nn.Conv2d works fine. Any idea for a quick fix or do I have to do surgery on my Pytorch pretrained model and add some zero biases?
The text was updated successfully, but these errors were encountered:
I've traced down this error:
to the use of
bias=False
for ann.Linear
layer in Pytorch. Note that this parameter fornn.Conv2d
works fine. Any idea for a quick fix or do I have to do surgery on my Pytorch pretrained model and add some zero biases?The text was updated successfully, but these errors were encountered: