msluszniak's picture
Core ML: emit a (1,520,520) int32 index map instead of (1,21,520,520) logits
264226f verified
Raw History Blame Contribute Delete
1.55 kB
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "fcn",
"family": "fcn",
"capabilities": [
"semantic-segmentation"
],
"backend": "coreml",
"license": "bsd-3-clause",
"variants": [
{
"file": "fcn_resnet50_coreml_fp16.pte",
"precision": "fp16",
"quantized": false,
"default": true,
"size": "resnet50",
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
520,
520
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
520,
520
],
"dtype": "int32"
}
]
}
}
},
{
"file": "fcn_resnet101_coreml_fp16.pte",
"precision": "fp16",
"quantized": false,
"default": false,
"size": "resnet101",
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
520,
520
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
1,
520,
520
],
"dtype": "int32"
}
]
}
}
}
]
}