Update app.py
4e96e31
-
1.52 kB
initial commit
-
232 Bytes
initial commit
-
2.39 kB
Update app.py
pretrained_vit_model_full.pth
Detected Pickle imports (18)
- "torch.nn.modules.activation.MultiheadAttention",
- "torchvision.models.vision_transformer.MLPBlock",
- "torch.nn.modules.activation.GELU",
- "torch.nn.modules.linear.Linear",
- "torch._utils._rebuild_parameter",
- "__builtin__.set",
- "torchvision.models.vision_transformer.Encoder",
- "torch.nn.modules.dropout.Dropout",
- "torch.nn.modules.normalization.LayerNorm",
- "torch.nn.modules.linear.NonDynamicallyQuantizableLinear",
- "torch.FloatStorage",
- "torch.nn.modules.conv.Conv2d",
- "torch.nn.modules.container.Sequential",
- "functools.partial",
- "collections.OrderedDict",
- "torch._utils._rebuild_tensor_v2",
- "torchvision.models.vision_transformer.VisionTransformer",
- "torchvision.models.vision_transformer.EncoderBlock"
How to fix it?
343 MB
Upload pretrained_vit_model_full.pth
-
36 Bytes
Create requirements.txt