Fetching metadata from the HF Docker repository... model_malware_lstm (1).pkl Detected Pickle imports (20)
- "torch.nn.modules.pooling.MaxPool2d",
- "torch.nn.modules.flatten.Flatten",
- "__main__.CombinedMalwareDetectionModel",
- "torch.nn.modules.sparse.Embedding",
- "torch.nn.modules.pooling.AdaptiveAvgPool2d",
- "torch.nn.modules.container.Sequential",
- "torch.nn.modules.linear.Linear",
- "__main__.ImprovedCNN",
- "torch._utils._rebuild_parameter",
- "torch._utils._rebuild_tensor_v2",
- "__main__.CNNBiGRU",
- "torch.nn.modules.dropout.Dropout",
- "collections.OrderedDict",
- "torch.nn.modules.pooling.MaxPool1d",
- "torch.nn.modules.batchnorm.BatchNorm2d",
- "torch.nn.modules.conv.Conv1d",
- "torch.nn.modules.rnn.LSTM",
- "torch.nn.modules.activation.ReLU",
- "torch.storage._load_from_bytes",
- "torch.nn.modules.conv.Conv2d"
How to fix it?
7.32 MB add model