Update app.py
db06c5b
verified
-
1.52 kB
initial commit
Bottles_Cans_Classify_v1.pt
Detected Pickle imports (27)
- "ultralytics.nn.modules.conv.Conv",
- "torch._utils._rebuild_parameter",
- "torch.LongStorage",
- "torchvision.transforms.transforms.ToTensor",
- "ultralytics.nn.modules.block.C2f",
- "torch.nn.modules.container.ModuleList",
- "ultralytics.utils.loss.v8ClassificationLoss",
- "torch.nn.modules.conv.Conv2d",
- "ultralytics.nn.modules.block.Bottleneck",
- "collections.OrderedDict",
- "torchvision.transforms.transforms.Compose",
- "torch.nn.modules.activation.SiLU",
- "torchvision.transforms.transforms.CenterCrop",
- "torch.nn.modules.dropout.Dropout",
- "torch.FloatStorage",
- "torch.nn.modules.linear.Linear",
- "ultralytics.nn.tasks.ClassificationModel",
- "torch.HalfStorage",
- "torch.nn.modules.batchnorm.BatchNorm2d",
- "torch.nn.modules.pooling.AdaptiveAvgPool2d",
- "__builtin__.set",
- "torchvision.transforms.transforms.Resize",
- "torchvision.transforms.transforms.Normalize",
- "torch.nn.modules.container.Sequential",
- "ultralytics.nn.modules.head.Classify",
- "torchvision.transforms.functional.InterpolationMode",
- "torch._utils._rebuild_tensor_v2"
How to fix it?
31.7 MB
Upload Bottles_Cans_Classify_v1.pt
-
250 Bytes
initial commit
-
2.7 kB
Update app.py
-
11 Bytes
Create requirements.txt