Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Changchoichang2104
/
cat-dog-classification
like
0
Sleeping
App
Files
Files
Community
1
main
cat-dog-classification
1 contributor
History:
14 commits
This space has 1 file scanned as unsafe.
Show
files
Changchoichang2104
Update README.md
56f55bb
verified
10 months ago
.gitattributes
Safe
1.52 kB
initial commit
11 months ago
README.md
Safe
262 Bytes
Update README.md
10 months ago
app.py
Safe
1.06 kB
Update app.py
11 months ago
dog.jpeg
Safe
33.6 kB
Upload dog.jpeg
11 months ago
foo.py
Safe
1.06 kB
Upload foo.py
11 months ago
model.pkl
Unsafe
pickle
Detected Pickle imports (84)
"fastai.data.transforms.Categorize"
,
"torch.nn.modules.batchnorm.BatchNorm2d"
,
"torch.nn.modules.pooling.AdaptiveAvgPool2d"
,
"fastai.callback.progress.ProgressCallback"
,
"torch._tensor._rebuild_from_type_v2"
,
"fastcore.basics.fastuple"
,
"__builtin__.bytes"
,
"torch._utils._rebuild_tensor_v2"
,
"torchvision.models.resnet.resnet18"
,
"fastai.layers.Flatten"
,
"fastai.data.transforms.ToTensor"
,
"fastai.data.core.TfmdLists"
,
"fastai.imports.noop"
,
"torch.nn.modules.linear.Linear"
,
"torch.device"
,
"fastai.data.load._FakeLoader"
,
"fastai.learner.AvgMetric"
,
"fastai.torch_core.TensorImage"
,
"pathlib.Path"
,
"fastcore.dispatch._TypeDict"
,
"fastai.data.transforms.CategoryMap"
,
"torch.nn.modules.container.Sequential"
,
"torch.FloatStorage"
,
"fastai.layers.AdaptiveConcatPool2d"
,
"torchvision.models.resnet.BasicBlock"
,
"fastai.learner.Learner"
,
"fastai.data.transforms.Normalize"
,
"fastai.vision.learner._resnet_split"
,
"numpy.ndarray"
,
"inspect.Parameter"
,
"__builtin__.object"
,
"torch.nn.modules.batchnorm.BatchNorm1d"
,
"torch.LongStorage"
,
"numpy.dtype"
,
"fastai.losses.CrossEntropyLossFlat"
,
"fastai.optimizer.Adam"
,
"functools.partial"
,
"collections.OrderedDict"
,
"fastai.callback.core.TrainEvalCallback"
,
"__main__.is_cat"
,
"torch._utils._rebuild_parameter"
,
"fastcore.basics._using_attr"
,
"torch.nn.modules.loss.CrossEntropyLoss"
,
"__builtin__.float"
,
"PIL.Image.Image"
,
"__builtin__.long"
,
"torch.nn.modules.dropout.Dropout"
,
"fastai.vision.core.PILImage"
,
"fastai.torch_core.TensorBase"
,
"fastcore.transform.Pipeline"
,
"fastai.data.core.TfmdDL"
,
"fastai.learner.CastToTensor"
,
"fastcore.transform.Transform"
,
"torch.nn.modules.pooling.AdaptiveMaxPool2d"
,
"__builtin__.getattr"
,
"_codecs.encode"
,
"inspect._empty"
,
"torch.nn.modules.activation.ReLU"
,
"fastai.vision.augment.Resize"
,
"PIL.Image.Resampling"
,
"fastai.data.transforms.IntToFloatTensor"
,
"inspect._ParameterKind"
,
"torch.nn.modules.pooling.MaxPool2d"
,
"torch.Tensor"
,
"inspect.Signature"
,
"fastai.metrics.error_rate"
,
"fastai.torch_core.TensorCategory"
,
"fastcore.foundation.L"
,
"__builtin__.tuple"
,
"fastai.learner.AvgSmoothLoss"
,
"__builtin__.set"
,
"fastai.data.load._wif"
,
"fastai.data.core.DataLoaders"
,
"torch.nn.modules.conv.Conv2d"
,
"pathlib.PosixPath"
,
"__builtin__.unicode"
,
"fastai.learner.Recorder"
,
"random.Random"
,
"fastai.data.core.Datasets"
,
"__builtin__.print"
,
"__builtin__.bool"
,
"fastai.learner.AvgLoss"
,
"numpy.core.multiarray.scalar"
,
"fastcore.dispatch.TypeDispatch"
How to fix it?
47.1 MB
LFS
Upload model.pkl
11 months ago
requirements.txt
Safe
6 Bytes
Create requirements.txt
11 months ago