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
I am currently facing some issues, regarding trying to put into PIT a predefined model from pytorch hub. Currently i ve faced multiple issues, such as, for annotation.py, line 255, n.meta has no key "tensor_meta" for example
The text was updated successfully, but these errors were encountered:
Yes, sorry about not leaving more details about it
so the PIT constructor fails if i call it using the following lines (you may try different networks as well, for some it will write unsupported OP such as adaptive avgpool2d, for others it will give KeyError: "tensor_meta"): model_pt = torch.hub.load('pytorch/vision:v0.10.0', 'resnet18', weights=tv.models.ResNet18_Weights.DEFAULT) model = PIT(model_pt, input_shape=input_shape, cost=params, discrete_cost=True)
where input_shape is given by the dataset and params is from from plinio.cost import params
I am currently facing some issues, regarding trying to put into PIT a predefined model from pytorch hub. Currently i ve faced multiple issues, such as, for annotation.py, line 255, n.meta has no key "tensor_meta" for example
The text was updated successfully, but these errors were encountered: