Skip to content

Commit 80529b8

Browse files
committed
Merge branch 'feature/cpp_refactoring' into rhecker/cpp-refactor-load-cleanup
2 parents 4138666 + b5aa3b5 commit 80529b8

File tree

4 files changed

+3
-17
lines changed

4 files changed

+3
-17
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ repos:
3030
- id: mypy
3131
additional_dependencies: [types-PyYAML, types-setuptools]
3232

33-
- repo: https://github.com/pre-commit/mirrors-prettier
34-
rev: v4.0.0-alpha.8
33+
- repo: https://github.com/rbubley/mirrors-prettier
34+
rev: v3.6.2
3535
hooks:
3636
- id: prettier
3737

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,11 @@ Training Extensions embed all the metadata required for inference into model fil
5555
- Build library:
5656

5757
- Create `build` folder and navigate into it:
58-
<!-- prettier-ignore-start -->
5958

6059
```bash
6160
mkdir build && cd build
6261
```
6362

64-
<!-- prettier-ignore-end -->
65-
6663
- Run cmake:
6764

6865
```bash

examples/cpp/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,17 @@ This example demonstrates how to use a C++ API of OpenVINO Model API for synchro
1717

1818
- Build example:
1919
- Create `build` folder and navigate into it:
20-
<!-- prettier-ignore-start -->
2120

2221
```bash
2322
mkdir build && cd build
2423
```
2524

26-
<!-- prettier-ignore-end -->
27-
2825
- Run cmake:
29-
<!-- prettier-ignore-start -->
3026

3127
```bash
3228
cmake ../
3329
```
3430

35-
<!-- prettier-ignore-end -->
36-
3731
- Build:
3832

3933
```bash

tests/cpp/test_accuracy.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,7 @@ TEST_P(ModelParameterizedTest, SerializedAccuracyTest) {
209209
TEST_P(ModelParameterizedTest, AccuracyTestBatch) {
210210
auto data = GetParam();
211211

212-
const std::string& basename = data.name.substr(data.name.find_last_of("/\\") + 1);
213-
auto model_path = DATA_DIR + "/serialized/" + basename;
214-
215-
if (model_path.find(".onnx") != std::string::npos) {
216-
GTEST_SKIP() << "ONNX models are not serializable";
217-
}
212+
auto model_path = DATA_DIR + '/' + data.name;
218213

219214
if (data.type == "DetectionModel") {
220215
auto use_tiling = !data.input_res.empty();

0 commit comments

Comments
 (0)