You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node_modules\@tensorflow\tfjs-tflite\dist\tf-tflite.node.js:9723
var a = self.location, b = a.origin;
^
ReferenceError: self is not defined
at module$exports$google3$third_party$tensorflow_lite_support$web$task$codegen$common$emscripten_module_loader.EmscriptenModuleLoader.getLocation (C:\dev\Arduino-Ai-Image-Classification\node_modules\@tensorflow\tfjs-tflite\dist\tf-tflite.node.js:9723:13)
at $jscomp.generator.Engine_.program_ (C:\dev\Arduino-Ai-Image-Classification\node_modules\@tensorflow\tfjs-tflite\dist\tf-tflite.node.js:9682:333)
at $jscomp.generator.Engine_.nextStep_ (C:\dev\Arduino-Ai-Image-Classification\node_modules\@tensorflow\tfjs-tflite\dist\tf-tflite.node.js:321:22)
at $jscomp.generator.Engine_.next_ (C:\dev\Arduino-Ai-Image-Classification\node_modules\@tensorflow\tfjs-tflite\dist\tf-tflite.node.js:304:130)
at $jscomp.generator.Generator_.next (C:\dev\Arduino-Ai-Image-Classification\node_modules\@tensorflow\tfjs-tflite\dist\tf-tflite.node.js:334:83)
at b (C:\dev\Arduino-Ai-Image-Classification\node_modules\@tensorflow\tfjs-tflite\dist\tf-tflite.node.js:336:80)
Describe the expected behavior
the model loads
Standalone code to reproduce the issue
package.json
I have tested the code snippet that you provided on macOS, and it is producing the same error.
I have included the error for your reference below. I will let you know if there are any updates regarding this issue.
var a = self.location, b = a.origin;
^
ReferenceError: self is not defined
at module$exports$google3$third_party$tensorflow_lite_support$web$task$codegen$common$emscripten_module_loader.EmscriptenModuleLoader.getLocation (/Users/name/TFJS/issue8512/node_modules/@tensorflow/tfjs-tflite/dist/tf-tflite.node.js:9723:13)
at $jscomp.generator.Engine_.program_ (/Users/name/TFJS/issue8512/node_modules/@tensorflow/tfjs-tflite/dist/tf-tflite.node.js:9682:333)
at $jscomp.generator.Engine_.nextStep_ (/Users/name/TFJS/issue8512/node_modules/@tensorflow/tfjs-tflite/dist/tf-tflite.node.js:321:22)
at $jscomp.generator.Engine_.next_ (/Users/xxx/name/issue8512/node_modules/@tensorflow/tfjs-tflite/dist/tf-tflite.node.js:304:130)
at $jscomp.generator.Generator_.next (/Users/name/TFJS/issue8512/node_modules/@tensorflow/tfjs-tflite/dist/tf-tflite.node.js:334:83)
at b (/Users/name/TFJS/issue8512/node_modules/@tensorflow/tfjs-tflite/dist/tf-tflite.node.js:336:80)
System information
Describe the current behavior
Describe the expected behavior
the model loads
Standalone code to reproduce the issue
package.json
index.js
The text was updated successfully, but these errors were encountered: