Create app.py
73ca3f2
verified
-
1.52 kB
initial commit
-
249 Bytes
initial commit
-
646 Bytes
Create app.py
-
74.8 kB
Upload basset.jpg
model .pkl
Detected Pickle imports (93)
- "fastai.imports.noop",
- "fastai.vision.augment.Resize",
- "fastai.layers.AdaptiveConcatPool2d",
- "__builtin__.long",
- "fastai.data.transforms.IntToFloatTensor",
- "fastai.callback.progress.ProgressCallback",
- "fastcore.basics.fastuple",
- "fastai.learner.AvgLoss",
- "timm.layers.mlp.Mlp",
- "_codecs.encode",
- "fastai.data.load._FakeLoader",
- "inspect.Signature",
- "fastcore.dispatch.TypeDispatch",
- "collections.OrderedDict",
- "PIL.Image.Image",
- "fastai.metrics.error_rate",
- "fastai.losses.CrossEntropyLossFlat",
- "numpy.core.multiarray.scalar",
- "torch.nn.modules.dropout.Dropout",
- "fastai.callback.core.TrainEvalCallback",
- "fastai.data.core.DataLoaders",
- "torch.LongStorage",
- "PIL.Image.Resampling",
- "pathlib.PosixPath",
- "fastai.data.core.TfmdDL",
- "torch.nn.modules.linear.Identity",
- "torch.nn.modules.pooling.AdaptiveAvgPool2d",
- "inspect._empty",
- "inspect.Parameter",
- "fastai.data.transforms.ToTensor",
- "timm.layers.norm.LayerNorm2d",
- "fastai.torch_core.TensorBase",
- "torch._tensor._rebuild_from_type_v2",
- "fastai.data.transforms.Categorize",
- "__builtin__.object",
- "fastai.learner.AvgSmoothLoss",
- "inspect._ParameterKind",
- "fastai.torch_core.TensorCategory",
- "numpy.dtype",
- "torch.nn.modules.loss.CrossEntropyLoss",
- "fastai.vision.learner.TimmBody",
- "fastai.callback.fp16.MixedPrecision",
- "timm.layers.activations.GELU",
- "fastai.learner.Learner",
- "fastcore.foundation.L",
- "torch.Tensor",
- "fastcore.basics._using_attr",
- "torch._utils._rebuild_tensor_v2",
- "fastai.vision.learner.default_split",
- "__builtin__.bytes",
- "numpy.ndarray",
- "torch._utils._rebuild_parameter",
- "fastcore.transform.Pipeline",
- "fastcore.dispatch._TypeDict",
- "__builtin__.set",
- "__builtin__.float",
- "fastai.data.transforms.CategoryMap",
- "fastai.data.transforms.RegexLabeller",
- "__builtin__.tuple",
- "timm.models.convnext.ConvNeXt",
- "torch.nn.modules.conv.Conv2d",
- "torch.FloatStorage",
- "fastai.torch_core.TensorImage",
- "random.Random",
- "fastai.layers.Flatten",
- "timm.layers.norm.LayerNorm",
- "fastai.data.transforms.Normalize",
- "functools.partial",
- "fastai.data.core.TfmdLists",
- "__builtin__.getattr",
- "timm.models.convnext.ConvNeXtBlock",
- "fastai.vision.core.PILImage",
- "torch.device",
- "torch.nn.modules.flatten.Flatten",
- "timm.models.convnext.ConvNeXtStage",
- "__builtin__.unicode",
- "torch.nn.modules.container.Sequential",
- "fastai.data.core.Datasets",
- "torch.nn.modules.linear.Linear",
- "fastcore.transform.Transform",
- "re._compile",
- "pathlib.Path",
- "fastai.data.load._wif",
- "fastai.learner.AvgMetric",
- "torch.nn.modules.activation.ReLU",
- "torch.nn.modules.batchnorm.BatchNorm1d",
- "__builtin__.print",
- "timm.layers.classifier.NormMlpClassifierHead",
- "fastai.learner.CastToTensor",
- "timm.layers.adaptive_avgmax_pool.SelectAdaptivePool2d",
- "torch.nn.modules.pooling.AdaptiveMaxPool2d",
- "fastai.optimizer.Adam",
- "fastai.learner.Recorder"
How to fix it?
115 MB
Rename model (1).pkl to model .pkl
-
74 Bytes
Update requirements.txt