Comments (4)
Hi @dkurt
Thank you for you feedback!
It seems we could support Slice operation natively, since it's presented in ACL: https://arm-software.github.io/ComputeLibrary/latest/classarm__compute_1_1_n_e_slice.xhtml
We'll plan to support Slice.
from openvino_contrib.
With PR #470 , the --use_legacy_frontend model on arm64 produces:
-0.187376
-0.857422
0.599576
-1.00753
0.591569
-1.41945
-1.16889
0.599556
5.81516
0.357172
0.113763
-1.51495
from openvino_contrib.
With #473 we have result for mentioned test data
-0.187376 -0.857422 0.599577 -1.00753 0.591569 -1.41945 -1.16889 0.599557 5.81516 0.357172 0.113763 -1.51495
on aarch64. These results matched w/ results we have on ARM if use --use_legacy_frontend
from openvino_contrib.
With --use_legacy_frontend
model is compiled but there is an accuracy problem.
ONNX model: https://drive.google.com/file/d/10xXdXNk_AD9_X8BPSjk-P-pgRJzZl3Oi/view?usp=sharing
Test data: https://drive.google.com/file/d/1joc6OdO2uFWbduHLawuBsGc2NS3x4TAt/view?usp=sharing
test script:
import numpy as np
from openvino.runtime import Core, Tensor
with open('stop.txt', 'rt') as f:
values = f.read().strip().split('\n')
values = np.array([float(v) for v in values])
core = Core()
model = core.read_model('model.xml')
model = core.compile_model(model, 'CPU')
ireq = model.create_infer_request()
values = Tensor(values.reshape(1, -1).astype(np.float32))
ireq.set_input_tensor(values)
ireq.infer()
out = ireq.get_output_tensor()
for i, v in enumerate(out.data.reshape(-1)):
print(i, v)
Output:
x86 CPU (correct):
0 -0.18749128
1 -0.8572464
2 0.6001833
3 -1.0074832
4 0.5908476
5 -1.4191537
6 -1.1693075
7 0.59931487
8 5.8151817
9 0.35858256
10 0.11403769
11 -1.5154142
ARM64 CPU (wrong):
0 -0.026862225
1 -0.03582457
2 -0.05018249
3 0.008348335
4 -0.0019003607
5 0.018424992
6 -0.020563617
7 -0.07890658
8 -0.027402868
9 0.0029288789
10 -0.15934415
11 0.18829146
from openvino_contrib.
Related Issues (20)
- Build Arm cpu plugin got error: undefined reference to `std::__ndk1xxx` HOT 9
- Remove deprecated API usage from ARM plugin
- GetCore1: Can't get absolute file path libopenvino.so HOT 1
- [CustomOps] Max Unpooling decomposition HOT 1
- ImportError: libopencv_gapi.so.407: cannot open shared object file: No such file or directory HOT 2
- Run tests for user_ov_extensions on Windows HOT 1
- Build arm plugin falied while building onnx. HOT 4
- Arm plugin build failed while native compiling HOT 16
- Model failed to load on ARM CPU HOT 2
- Migrate to 23.02.1 ARM Compute
- Can the java_api load onnx model directly? HOT 1
- Android model loading and inference example in java/kotlin? HOT 2
- The demo crashed on the most recent android studio HOT 4
- Java tests failed on macOS x86 HOT 7
- Tedious to build and test the demo apps seamlessly HOT 2
- Arm plugin build failed while cross compiling HOT 9
- Java API: Async requests using API 2.0
- Compile Error on Debug Build for Version 2021.4
- [Question] Moving rust_api into OpenVINO Contrib HOT 2
- [NVIDIA][Issue] ov_nvidia_unit_tests has 11 failed tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvino_contrib.