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 the definition of GCNMdynamic model, define the gated_conv as: self.gate_convs.append(nn.Conv1d(in_channels=residual_channels, out_channels=dilation_channels, kernel_size=(1, kernel_size), dilation=new_dilation))
when run the model in metr_la dataset, get an error when calculate gate = self.gate_convs[i](residual) # kernel=(1,2)
RuntimeError: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [32, 32, 207, 13]
I think the residual got the correct shape of (B, residual_size, D, F) as noted. Is this a problem caused by the improper vision of torch?
Could you please help me solve this problem, I will appreciate any assistance you can provide.
The text was updated successfully, but these errors were encountered:
In the definition of GCNMdynamic model, define the gated_conv as:
self.gate_convs.append(nn.Conv1d(in_channels=residual_channels, out_channels=dilation_channels, kernel_size=(1, kernel_size), dilation=new_dilation))
when run the model in metr_la dataset, get an error when calculate
gate = self.gate_convs[i](residual) # kernel=(1,2)
RuntimeError: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [32, 32, 207, 13]
I think the residual got the correct shape of (B, residual_size, D, F) as noted. Is this a problem caused by the improper vision of torch?
Could you please help me solve this problem, I will appreciate any assistance you can provide.
The text was updated successfully, but these errors were encountered: