msluszniak commited on
Commit
9a6e970
·
verified ·
1 Parent(s): 68db771

Apply the model card standard

Browse files
Files changed (1) hide show
  1. README.md +31 -17
README.md CHANGED
@@ -3,25 +3,39 @@ license: apache-2.0
3
  pipeline_tag: keypoint-detection
4
  library_name: executorch
5
  ---
6
- # Introduction
7
 
8
- This repository hosts the [BlazeFace](https://github.com/hollance/BlazeFace-PyTorch) models for the [React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch) library.
9
- It includes the model exported for xnnpack in `.pte` format, ready for use in the **ExecuTorch** runtime.
10
 
11
- If you'd like to run these models in your own ExecuTorch runtime, refer to the
12
- [official documentation](https://pytorch.org/executorch/stable/index.html) for
13
- setup instructions.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  ## Compatibility
16
 
17
- If you intend to use this models outside of React Native ExecuTorch, make sure
18
- your runtime is compatible with the **ExecuTorch** version used to export the
19
- `.pte` files. For more details, see the compatibility note in the [ExecuTorch
20
- GitHub
21
- repository](https://github.com/pytorch/executorch/blob/11d1742fdeddcf05bc30a6cfac321d2a2e3b6768/runtime/COMPATIBILITY.md?plain=1#L4).
22
- If you work with React Native ExecuTorch, the constants shipped with the library
23
- will guarantee compatibility with runtime used behind the scenes.
24
-
25
- These models were exported using **ExecuTorch** version 1.2.0 and **no forward
26
- compatibility** is guaranteed. Older versions of the runtime may not work with
27
- these files.
 
3
  pipeline_tag: keypoint-detection
4
  library_name: executorch
5
  ---
 
6
 
7
+ # blazeface
 
8
 
9
+ This repository hosts the **blazeface** models exported for the
10
+ [React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch)
11
+ library as ExecuTorch `.pte` programs, ready to run on device.
12
+
13
+ Upstream model: [BlazeFace](https://github.com/hollance/BlazeFace-PyTorch)
14
+
15
+ ## Variants
16
+
17
+ | Path | Backend | Precision |
18
+ | --- | --- | --- |
19
+ | `xnnpack/blazeface_xnnpack_fp32.pte` | xnnpack | fp32 |
20
+
21
+ ## Repository structure
22
+
23
+ ```
24
+ config.json 31 B
25
+ xnnpack/blazeface_xnnpack_fp32.pte 635 kB
26
+ xnnpack/config.json 1.2 kB
27
+ ```
28
 
29
  ## Compatibility
30
 
31
+ These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch
32
+ gives no forward compatibility guarantee, so an older runtime may fail to load
33
+ them.
34
+
35
+ To use them in React Native ExecuTorch, pass the model constant shipped in the
36
+ library's model registry to the corresponding task pipeline. See the
37
+ [documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/loading-models).
38
+
39
+ To load these files in your own ExecuTorch runtime, read the
40
+ [compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)
41
+ first.