Skip to content

Commit 683dba8

Browse files
committed
added model dir
1 parent 5860b54 commit 683dba8

12 files changed

+123318
-3
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ build-wasm-release
88
._.DS_Store
99
**/.DS_Store
1010
**/._.DS_Store
11-
web/crepe_wasm.js
12-
web/crepe_wasm.wasm

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
66

77
set(EXTERNAL_DIR "${CMAKE_SOURCE_DIR}/external")
88
set(DEPS_DIR "${CMAKE_SOURCE_DIR}/deps")
9+
set(MODEL_DIR "${CMAKE_SOURCE_DIR}/crepe-model")
910

1011
include_directories(${EXTERNAL_DIR}/onnxruntime/include)
1112

crepe-model/model.onnx

1.86 MB
Binary file not shown.

crepe-model/model.ort

1.88 MB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Generated from model/s:
2+
# - /Users/joeloftus/Projects/ort-builder/model.ort
3+
ai.onnx;12;MaxPool{"inputs": {"0": ["float"]}}
4+
ai.onnx;13;Add{"inputs": {"0": ["float"]}},Mul{"inputs": {"0": ["float"]}},Reshape,Transpose{"inputs": {"0": ["float"]}}
5+
com.microsoft;1;FusedConv,FusedGemm
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Generated from model/s:
2+
# - /Users/joeloftus/Projects/ort-builder/model.with_runtime_opt.ort
3+
# - /Users/joeloftus/Projects/ort-builder/tmpxhi0kgax.without_runtime_opt/model.ort
4+
ai.onnx;11;Conv{"inputs": {"0": ["float"]}}
5+
ai.onnx;12;MaxPool{"inputs": {"0": ["float"]}}
6+
ai.onnx;13;Add{"inputs": {"0": ["float"]}},Gemm{"inputs": {"0": ["float"]}},Mul{"inputs": {"0": ["float"]}},Relu{"inputs": {"0": ["float"]}},Reshape,Sigmoid{"inputs": {"0": ["float"]}},Transpose{"inputs": {"0": ["float"]}}
7+
com.microsoft;1;FusedConv
1.88 MB
Binary file not shown.

crepe-model/model/model.ort.c

+123,274
Large diffs are not rendered by default.

crepe-model/model/model.ort.h

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#ifndef ___MODEL_MODEL_ORT_H
2+
#define ___MODEL_MODEL_ORT_H
3+
/* Auto-generated by bin2c.py */
4+
#include <stddef.h>
5+
6+
extern const unsigned char model_ort_start[];
7+
extern const size_t model_ort_size;
8+
9+
#endif

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ else()
2828
endif()
2929

3030
target_sources(crepe_core PRIVATE
31-
${EXTERNAL_DIR}/model.ort.c
31+
${MODEL_DIR}/model/model.ort.c
3232
)

web/crepe_wasm.js

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/crepe_wasm.wasm

2.74 MB
Binary file not shown.

0 commit comments

Comments
 (0)