msluszniak's picture
Add spec-compliant config.json files
a0c7153 verified
{
"$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
"model": "rfdetr_nano",
"family": "rfdetr",
"capabilities": [
"object-detection",
"instance-segmentation"
],
"backend": "xnnpack",
"license": "apache-2.0",
"variants": [
{
"file": "rfdetr_nano_xnnpack_fp32.pte",
"precision": "fp32",
"quantized": false,
"default": true,
"methods": {
"forward": {
"inputs": [
{
"shape": [
1,
3,
384,
384
],
"dtype": "float32"
}
],
"outputs": [
{
"shape": [
300,
4
],
"dtype": "float32"
},
{
"shape": [
300
],
"dtype": "float32"
},
{
"shape": [
300
],
"dtype": "float32"
}
]
}
}
}
]
}