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
Hi, everyone
I'm trying to turn resnet20 brevitas network into ONNX graph. However, it shows RuntimeError: step!=1 is currently not supported
Here is my resnet20 brevitas network.
class LambdaLayer(nn.Module):
def init(self, lambd):
super(LambdaLayer, self).init()
self.lambd = lambd
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, everyone
I'm trying to turn resnet20 brevitas network into ONNX graph. However, it shows RuntimeError: step!=1 is currently not supported
Here is my resnet20 brevitas network.
class LambdaLayer(nn.Module):
def init(self, lambd):
super(LambdaLayer, self).init()
self.lambd = lambd
class BasicBlock(nn.Module):
expansion = 1
class ResNet(nn.Module):
def init(self, block, num_blocks, num_classes=10, **kwargs):
super(ResNet, self).init()
self.in_planes = 16
def resnet20(num_classes=10, **kwargs):
return ResNet(BasicBlock, [3, 3, 3], num_classes=num_classes, **kwargs)
Can anyone help me? Thanks!!!
Beta Was this translation helpful? Give feedback.
All reactions