msluszniak's picture
Re-export under the get_model_schema contract; restructure to the MODEL_SPEC layout
6ac937a verified
Raw
History Blame Contribute Delete
2.67 kB
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "paddle_helpers",
"family": "paddleocr",
"capabilities": [
"classification"
],
"backend": "coreml",
"license": "apache-2.0",
"variants": [
{
"file": "paddle_helpers_coreml_int8.pte",
"precision": "int8",
"quantized": true,
"default": true,
"size_bytes": 11939898,
"methods": {
"dewarp": {
"inputs": [
{
"shape": [
1,
3,
712,
488
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
2,
45,
31
],
"dtype": "float32"
}
]
},
"orientation": {
"inputs": [
{
"shape": [
1,
3,
224,
224
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
4
],
"dtype": "float32"
}
]
},
"table_decode_step": {
"inputs": [
{
"shape": [
1,
256,
96
],
"dtype": "float32"
},
{
"shape": [
1,
256
],
"dtype": "float32"
},
{
"shape": [
1,
50
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
50
],
"dtype": "float32"
},
{
"shape": [
1,
256
],
"dtype": "float32"
}
]
},
"table_encode": {
"inputs": [
{
"shape": [
1,
3,
488,
488
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
256,
96
],
"dtype": "float32"
}
]
}
}
}
]
}