Update model.py
a85377e
verified
-
1.52 kB
initial commit
-
343 Bytes
Transferred from from PyTorch -> Tensorflow
-
226 Bytes
initial commit
-
1.23 kB
Image rescaling bug fix
-
1.14 kB
Update model.py
model_script.pt
Detected Pickle imports (166)
- "__torch__.torch.nn.modules.container.___torch_mangle_62.Sequential",
- "__torch__.torchvision.ops.misc.___torch_mangle_21.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_3.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_55.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_40.Sequential",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_121.MBConv",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_111.BatchNorm2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_17.Conv2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_131.BatchNorm2d",
- "__torch__.torch.nn.modules.activation.SiLU",
- "__torch__.torchvision.models.efficientnet.EfficientNet",
- "__torch__.torch.nn.modules.conv.___torch_mangle_135.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_97.SqueezeExcitation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_98.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_105.Conv2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_91.BatchNorm2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_51.BatchNorm2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_116.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_19.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_13.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_115.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_108.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_10.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_136.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_33.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_28.Sequential",
- "__torch__.torch.nn.modules.linear.Linear",
- "__torch__.torch.nn.modules.container.___torch_mangle_88.Sequential",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_26.BatchNorm2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_34.Conv2dNormActivation",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_81.MBConv",
- "__torch__.torch.nn.modules.conv.___torch_mangle_75.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_11.SqueezeExcitation",
- "__torch__.torch.nn.modules.container.___torch_mangle_147.Sequential",
- "__torch__.torch.nn.modules.conv.Conv2d",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_69.MBConv",
- "__torch__.torchvision.ops.misc.___torch_mangle_134.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_137.SqueezeExcitation",
- "__torch__.torchvision.ops.misc.___torch_mangle_114.Conv2dNormActivation",
- "__torch__.torch.nn.modules.activation.Sigmoid",
- "__torch__.torchvision.ops.misc.___torch_mangle_145.Conv2dNormActivation",
- "torch.LongStorage",
- "__torch__.torch.nn.modules.container.___torch_mangle_48.Sequential",
- "__torch__.torchvision.ops.misc.___torch_mangle_104.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_20.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_67.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_138.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_0.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_143.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_27.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_50.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_128.Sequential",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_89.MBConv",
- "__torch__.torch.nn.modules.conv.___torch_mangle_73.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_14.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_123.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_59.Conv2dNormActivation",
- "__torch__.torch.nn.modules.container.___torch_mangle_122.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_36.Conv2d",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_61.MBConv",
- "__torch__.torch.nn.modules.container.___torch_mangle_146.Sequential",
- "__torch__.torchvision.ops.misc.___torch_mangle_52.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_23.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_102.Sequential",
- "collections.OrderedDict",
- "__torch__.torch.nn.modules.conv.___torch_mangle_25.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_132.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_30.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_130.Conv2d",
- "__torch__.torch.nn.modules.container.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_43.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_110.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_140.Sequential",
- "__torch__.torchvision.ops.misc.___torch_mangle_79.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_47.Conv2dNormActivation",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_106.BatchNorm2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_56.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_85.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_82.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_133.Conv2d",
- "torch.jit._pickle.build_intlist",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_71.BatchNorm2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_90.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_77.SqueezeExcitation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_38.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_103.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_37.SqueezeExcitation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_63.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_54.Conv2dNormActivation",
- "__torch__.torch.nn.modules.container.___torch_mangle_60.Sequential",
- "__torch__.torchvision.ops.misc.___torch_mangle_139.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_1.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_64.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_53.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_93.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_117.SqueezeExcitation",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_46.BatchNorm2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_92.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_6.Conv2dNormActivation",
- "torch._utils._rebuild_tensor_v2",
- "__torch__.torch.nn.modules.conv.___torch_mangle_2.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_84.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_99.Conv2dNormActivation",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_31.BatchNorm2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_80.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_58.Conv2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_86.BatchNorm2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_72.Conv2dNormActivation",
- "__torch__.torch.nn.modules.container.___torch_mangle_120.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_76.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_45.Conv2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_126.BatchNorm2d",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_101.MBConv",
- "__torch__.torchvision.ops.misc.___torch_mangle_57.SqueezeExcitation",
- "__torch__.torch.nn.modules.container.___torch_mangle_16.Sequential",
- "__torch__.torch.nn.modules.container.___torch_mangle_68.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_125.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_95.Conv2d",
- "__torch__.torchvision.ops.misc.SqueezeExcitation",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_15.MBConv",
- "torch.FloatStorage",
- "__torch__.torch.nn.modules.conv.___torch_mangle_22.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_107.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_9.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_119.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_70.Conv2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_18.BatchNorm2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_83.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_24.SqueezeExcitation",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_129.MBConv",
- "__torch__.torch.nn.modules.conv.___torch_mangle_4.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_113.Conv2d",
- "__torch__.torch.nn.modules.dropout.Dropout",
- "__torch__.torch.nn.modules.pooling.AdaptiveAvgPool2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_124.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_94.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_87.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_35.Conv2d",
- "__torch__.torch.nn.modules.conv.___torch_mangle_96.Conv2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_144.BatchNorm2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_44.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_78.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_39.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.Conv2dNormActivation",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_49.MBConv",
- "__torch__.torchvision.ops.misc.___torch_mangle_127.Conv2dNormActivation",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_141.MBConv",
- "__torch__.torchvision.models.efficientnet.MBConv",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_5.BatchNorm2d",
- "__torch__.torchvision.ops.stochastic_depth.StochasticDepth",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_109.MBConv",
- "__torch__.torch.nn.modules.container.___torch_mangle_142.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_118.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_74.Conv2dNormActivation",
- "__torch__.torch.nn.modules.container.___torch_mangle_100.Sequential",
- "__torch__.torch.nn.modules.conv.___torch_mangle_65.Conv2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_8.Conv2dNormActivation",
- "__torch__.torchvision.ops.misc.___torch_mangle_32.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_12.Conv2d",
- "__torch__.torch.nn.modules.batchnorm.___torch_mangle_66.BatchNorm2d",
- "__torch__.torchvision.ops.misc.___torch_mangle_112.Conv2dNormActivation",
- "__torch__.torch.nn.modules.conv.___torch_mangle_7.Conv2d",
- "__torch__.torch.nn.modules.container.___torch_mangle_42.Sequential",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_29.MBConv",
- "__torch__.torch.nn.modules.batchnorm.BatchNorm2d",
- "__torch__.torchvision.models.efficientnet.___torch_mangle_41.MBConv"
How to fix it?
257 MB
Uploaded the model script
-
146 Bytes
Upload requirements.txt
-
177 MB
Properly transfer learnt model