Closed the-lvol closed 2 years ago
Example of error message from workers
time: 2022-04-07 11:26:12.456567, level: INFO, message: Invalid argument(s): Failed to load dynamic library 'D:\OneDrive\NorseKode\data\blobs\libtensorflowlite_c-win.dll': error code 126, exception: #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12:43) #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23:12) #2 tflitelib.<anonymous closure> (package:tflite_flutter/src/bindings/dlib.dart:39:27) #3 tflitelib (package:tflite_flutter/src/bindings/dlib.dart:41:2) #4 tflitelib (package:tflite_flutter/src/bindings/dlib.dart) #5 tfLiteModelCreateFromFile (package:tflite_flutter/src/bindings/model.dart:20:5) #6 tfLiteModelCreateFromFile (package:tflite_flutter/src/bindings/model.dart) #7 new Model.fromFile (package:tflite_flutter/src/model.dart:23:19) #8 new Interpreter.fromFile (package:tflite_flutter/src/interpreter.dart:69:25) #9 SentimentClassifier._loadModel (package:waultar/core/ai/sentiment_classifier.dart:40:32) #10 SentimentClassifier.init (package:waultar/core/ai/sentiment_classifier.dart:28:5) #11 new SentimentClassifier (package:waultar/core/ai/sentiment_classifier.dart:35:5) #12 new SentimentClassifierTextClassifierTFLite (package:waultar/core/ai/sentiment_classifier_textClassification.dart:7:9) #13 sentimentWorkerBody (package:waultar/domain/workers/sentiment_worker.dart:29:11) <asynchronous suspension> #14 Worker._isolateInitializer (package:easy_isolate/src/worker.dart:195:9) <asynchronous suspension> , stackTrace: null time: 2022-04-07 11:26:55.464930, level: INFO, message: Invalid argument(s): Failed to load dynamic library 'D:\OneDrive\NorseKode\data\blobs\libtensorflowlite_c-win.dll': error code 126, exception: #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12:43) #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23:12) #2 tflitelib.<anonymous closure> (package:tflite_flutter/src/bindings/dlib.dart:39:27) #3 tflitelib (package:tflite_flutter/src/bindings/dlib.dart:41:2) #4 tflitelib (package:tflite_flutter/src/bindings/dlib.dart) #5 tfLiteInterpreterOptionsCreate (package:tflite_flutter/src/bindings/interpreter_options.dart:10:5) #6 tfLiteInterpreterOptionsCreate (package:tflite_flutter/src/bindings/interpreter_options.dart) #7 new InterpreterOptions (package:tflite_flutter/src/interpreter_options.dart:22:28) #8 new ImageClassifierMobileNetV3 (package:waultar/core/ai/image_classifier_mobilenetv3.dart:21:31) #9 imageClassifierWorkerBody (package:waultar/domain/workers/image_classifier_worker.dart:23:24) <asynchronous suspension> #10 Worker._isolateInitializer (package:easy_isolate/src/worker.dart:195:9) <asynchronous suspension> , stackTrace: null
Example of error message from workers