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
torch.jit.frontend.UnsupportedNodeError: GeneratorExp aren't supported:
File "/home/avatar/job/YOLOv8-qat/nets/nn.py", line 51
def forward(self, x):
y = list(self.conv1(x).chunk(2, 1))
y.extend(m(y[-1]) for m in self.res_m)
~ <--- HERE
return self.conv2(self.quant.cat(y, dim=1))
The text was updated successfully, but these errors were encountered:
torch.jit.frontend.UnsupportedNodeError: GeneratorExp aren't supported:
File "/home/avatar/job/YOLOv8-qat/nets/nn.py", line 51
def forward(self, x):
y = list(self.conv1(x).chunk(2, 1))
y.extend(m(y[-1]) for m in self.res_m)
~ <--- HERE
return self.conv2(self.quant.cat(y, dim=1))
The text was updated successfully, but these errors were encountered: