csukuangfj
commited on
Commit
·
2e71e47
1
Parent(s):
84e9708
add models
Browse files- export-onnx.py +11 -6
- model.onnx +1 -1
export-onnx.py
CHANGED
@@ -70,12 +70,17 @@ def main():
|
|
70 |
# assert list(example_output.shape) == [1, 589, 7], example_output.shape
|
71 |
print(example_output.shape)
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
79 |
|
80 |
opset_version = 13
|
81 |
|
|
|
70 |
# assert list(example_output.shape) == [1, 589, 7], example_output.shape
|
71 |
print(example_output.shape)
|
72 |
|
73 |
+
print(model.receptive_field.step)
|
74 |
+
print(model.receptive_field.duration)
|
75 |
+
print(model.receptive_field.step * 16000)
|
76 |
+
print(model.receptive_field.duration * 16000)
|
77 |
+
|
78 |
+
# assert model.receptive_field.step == 0.016875, model.receptive_field.step
|
79 |
+
# assert model.receptive_field.duration == 0.0619375, model.receptive_field.duration
|
80 |
+
# assert model.receptive_field.step * 16000 == 270, model.receptive_field.step * 16000
|
81 |
+
# assert model.receptive_field.duration * 16000 == 991, (
|
82 |
+
# model.receptive_field.duration * 16000
|
83 |
+
# )
|
84 |
|
85 |
opset_version = 13
|
86 |
|
model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 9512157
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25cf9fc26f08ed5bf8fa8b1112af684848506bb3e2ec7cd5d524e5e32c17f74d
|
3 |
size 9512157
|