Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when make check in a Arm64 board, ERROR: Mmap of 'resources/invalid.tflite' failed. #114

Open
shenfangqi123 opened this issue Feb 8, 2021 · 0 comments

Comments

@shenfangqi123
Copy link

============================================================================
RidgeRun inference library 0.9.0: tests/unit/r2i/tflite/test-suite.log

TOTAL: 42

PASS: 41

SKIP: 0

XFAIL: 0

FAIL: 1

XPASS: 0

ERROR: 0

.. contents:: :depth: 2

RUN: loader

TEST(TensorflowliteLoader, LoadSuccess) - 1 ms
TEST(TensorflowliteLoader, LoadInvalidModel)ERROR: Mmap of 'resources/invalid.tflite' failed.

  • 2 ms
    TEST(TensorflowliteLoader, LoadNonExistentFile) - 1 ms
    TEST(TensorflowliteLoader, InvalidPath) - 1 ms
    TEST(TensorflowliteLoader, EmptyString) - 1 ms

OK (5 tests, 0 ran, 0 checks, 0 ignored, 0 filtered out, 7 ms)

RUN: engine

TEST(TfLiteEngine, PredictEngine)
engine.cc:187: error: Failure in TEST(TfLiteEngine, PredictEngine)
Failed in separate process - killed by signal 11

  • 492 ms
    TEST(TfLiteEngine, StopStopEngine) - 1 ms
    TEST(TfLiteEngine, StopEngine) - 0 ms
    TEST(TfLiteEngine, StartStopEngineTwice) - 3 ms
    TEST(TfLiteEngine, StartStopEngine) - 3 ms
    TEST(TfLiteEngine, StartEngineTwice) - 3 ms
    TEST(TfLiteEngine, StartEngineEmpty) - 1 ms
    TEST(TfLiteEngine, StartEngine) - 2 ms
    TEST(TfLiteEngine, SetModelInvalid) - 1 ms
    TEST(TfLiteEngine, SetModelNull) - 1 ms
    TEST(TfLiteEngine, SetModel) - 1 ms

Errors (1 failures, 11 tests, 0 ran, 0 checks, 0 ignored, 0 filtered out, 509 ms)

RUN: prediction

TEST(TfLitePrediction, PredictionNonExistentIndex) - 1 ms
TEST(TfLitePrediction, PredictionNoTensorValues) - 1 ms
TEST(TfLitePrediction, Prediction) - 1 ms
TEST(TfLitePrediction, SetTensorZeroSize) - 1 ms
TEST(TfLitePrediction, SetTensorNullValue) - 1 ms
TEST(TfLitePrediction, SetTensorSuccess) - 0 ms

OK (6 tests, 0 ran, 0 checks, 0 ignored, 0 filtered out, 6 ms)

RUN: frame

TEST(TfLiteFrame, FrameGetFormat) - 1 ms
TEST(TfLiteFrame, FrameGetHeight) - 1 ms
TEST(TfLiteFrame, FrameGetWidth) - 1 ms
TEST(TfLiteFrame, FrameGetData) - 1 ms
TEST(TfLiteFrame, FrameConfigureNegativeHeight) - 1 ms
TEST(TfLiteFrame, FrameConfigureNegativeWidth) - 0 ms
TEST(TfLiteFrame, FrameConfigureNullData) - 1 ms
TEST(TfLiteFrame, FrameConfigure) - 1 ms

OK (8 tests, 0 ran, 0 checks, 0 ignored, 0 filtered out, 7 ms)

RUN: parameters

TEST(TliteParameters, GetList) - 1 ms
TEST(TliteParameters, GetWrongType) - 2 ms
TEST(TliteParameters, SetWrongType) - 1 ms
TEST(TliteParameters, SetMissingInteger) - 1 ms
TEST(TliteParameters, GetMissingInteger) - 1 ms
TEST(TliteParameters, SetAndGetAllowFP16) - 1 ms
TEST(TliteParameters, SetAndGetNumberOfThreads) - 0 ms
TEST(TliteParameters, SetAndGetEngine) - 1 ms
TEST(TliteParameters, ConfigureSuccess) - 1 ms
TEST(TliteParameters, ConfigureNullModel) - 1 ms
TEST(TliteParameters, ConfigureNullEngine) - 1 ms
TEST(TliteParameters, ConfigureIncompatibleEngine) - 0 ms

OK (12 tests, 0 ran, 0 checks, 0 ignored, 0 filtered out, 12 ms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant