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
params = []
for child in list(model.children())[:-1]:
params.extend(list(child.parameters()))
model.avg_pool = nn.Identity()
print(len(X),X.shape)
# shape of x: [N, T, C, H, W]
d = torch.rand((64,8,3,256,256),dtype=torch.float32).to(device)
preds = model(d,8)
File "/home/muhammadbsheikh/anaconda3/envs/open-mmlab2/lib/python3.7/site-packages/torch/nn/functional.py", line 1370, in linear
ret = torch.addmm(bias, input, weight.t())
RuntimeError: size mismatch, m1: [64 x 1572864], m2: [2048 x 101] at /pytorch/aten/src/THC/generic/THCTensorMathBlas.cu:290
(open-mmlab2) muhammadbsheikh@LambdaBlade:~/workspace/projects/AV_HAR_MBS$
The text was updated successfully, but these errors were encountered:
params = []
for child in list(model.children())[:-1]:
params.extend(list(child.parameters()))
model.avg_pool = nn.Identity()
print(len(X),X.shape)
# shape of x: [N, T, C, H, W]
d = torch.rand((64,8,3,256,256),dtype=torch.float32).to(device)
preds = model(d,8)
File "/home/muhammadbsheikh/anaconda3/envs/open-mmlab2/lib/python3.7/site-packages/torch/nn/functional.py", line 1370, in linear
ret = torch.addmm(bias, input, weight.t())
RuntimeError: size mismatch, m1: [64 x 1572864], m2: [2048 x 101] at /pytorch/aten/src/THC/generic/THCTensorMathBlas.cu:290
(open-mmlab2) muhammadbsheikh@LambdaBlade:~/workspace/projects/AV_HAR_MBS$
The text was updated successfully, but these errors were encountered: