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
We run PENCL model on cifar-10 datasets. the "--arch" uses resnet-18 as backbone network.
when running.....:
File "PENCIL-master/PENCIL.py", line 355, in train
lc = torch.mean(softmax(output)*(logsoftmax(output)-torch.log((last_y_var))))
RuntimeError: The size of tensor a (1000) must match the size of tensor b (10) at non-singleton dimension 1
output size: (128,1000). last_y_var size: (128,10)
so, is this code missing a classifier?
The text was updated successfully, but these errors were encountered:
We run PENCL model on cifar-10 datasets. the "--arch" uses resnet-18 as backbone network.
when running.....:
File "PENCIL-master/PENCIL.py", line 355, in train
lc = torch.mean(softmax(output)*(logsoftmax(output)-torch.log((last_y_var))))
RuntimeError: The size of tensor a (1000) must match the size of tensor b (10) at non-singleton dimension 1
output size: (128,1000). last_y_var size: (128,10)
so, is this code missing a classifier?
The text was updated successfully, but these errors were encountered: