Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
triopood
/
tr-ocr
like
0
Runtime error
App
Files
Files
Community
main
tr-ocr
1 contributor
History:
7 commits
This space has 1 file scanned as unsafe.
Show
files
triopood
Update app.py
cb825f4
verified
10 months ago
.gitattributes
Safe
1.52 kB
initial commit
10 months ago
README.md
Safe
242 Bytes
initial commit
10 months ago
app.py
Safe
1.91 kB
Update app.py
10 months ago
requirements.txt
Safe
127 Bytes
Create requirements.txt
10 months ago
trocrnew.pth
Unsafe
pickle
Detected Pickle imports (38)
"transformers.models.deit.modeling_deit.DeiTEncoder"
,
"transformers.models.trocr.modeling_trocr.TrOCRDecoder"
,
"torch.nn.modules.normalization.LayerNorm"
,
"transformers.models.trocr.modeling_trocr.TrOCRForCausalLM"
,
"transformers.models.trocr.modeling_trocr.TrOCRLearnedPositionalEmbedding"
,
"transformers.models.trocr.configuration_trocr.TrOCRConfig"
,
"transformers.models.deit.modeling_deit.DeiTSelfOutput"
,
"__builtin__.getattr"
,
"torch._utils._rebuild_tensor_v2"
,
"transformers.activations.GELUActivation"
,
"__builtin__.set"
,
"transformers.models.trocr.modeling_trocr.TrOCRDecoderLayer"
,
"torch.nn.modules.activation.Tanh"
,
"torch.nn.modules.linear.Linear"
,
"transformers.models.deit.configuration_deit.DeiTConfig"
,
"transformers.models.deit.modeling_deit.DeiTModel"
,
"transformers.models.deit.modeling_deit.DeiTPatchEmbeddings"
,
"torch.nn.modules.activation.ReLU"
,
"torch.nn.modules.conv.Conv2d"
,
"transformers.models.trocr.modeling_trocr.TrOCRDecoderWrapper"
,
"collections.OrderedDict"
,
"transformers.models.deit.modeling_deit.DeiTEmbeddings"
,
"transformers.models.deit.modeling_deit.DeiTIntermediate"
,
"torch.nn.modules.sparse.Embedding"
,
"torch._utils._rebuild_parameter"
,
"transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder.VisionEncoderDecoderModel"
,
"transformers.models.deit.modeling_deit.DeiTLayer"
,
"transformers.models.deit.modeling_deit.DeiTAttention"
,
"transformers.generation.configuration_utils.GenerationConfig"
,
"torch.FloatStorage"
,
"transformers.models.trocr.modeling_trocr.TrOCRAttention"
,
"transformers.models.deit.modeling_deit.DeiTOutput"
,
"transformers.models.deit.modeling_deit.DeiTPooler"
,
"torch.nn.modules.container.ModuleList"
,
"transformers.models.deit.modeling_deit.DeiTSelfAttention"
,
"torch._C._nn.gelu"
,
"torch.nn.modules.dropout.Dropout"
,
"transformers.models.vision_encoder_decoder.configuration_vision_encoder_decoder.VisionEncoderDecoderConfig"
How to fix it?
247 MB
LFS
Upload trocrnew.pth
10 months ago