question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined is not an object (evaluating 'env().platform.fetch') for poseNet in React Native

See original GitHub issue

System information

Describe the problem

I always get this response when I tried to load() the posenet from @tensorflow-models/posenet. I am using React Native CLI not Expo. I installed and configured the packages as per the document.

Is TensorFlow supported for React Native CLI or just Expo projects?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
shahanijacommented, Jun 9, 2021

Thanks again @rthadur

1reaction
rthadurcommented, Jun 8, 2021

Sorry,I did not quite get it , are you trying to use tflite models in tfjs ? if yes please refer here https://github.com/tensorflow/tfjs/blob/master/tfjs-tflite/README.md cc @jinjingforever

Read more comments on GitHub >

github_iconTop Results From Across the Web

In react native, on executing posenet.load() getting error ...
TypeError: undefined is not an object (evaluating 'env().platform.fetch'), on calling the posenet.load(). It used to work fine until last week.
Read more >
Getting Error 'Undefined Is Not An Object' When Using ...
undefined is not an object evaluating 'env.platform.fetch' for poseNet in TensorFlow.js version:3.6.0; @tensorflowmodels/tfjsreactnative ...
Read more >
Platform and environment | TensorFlow.js
When an operation is called, like tf.matMul(a, b), the resulting tf.Tensor is synchronously returned, however the computation of the matrix ...
Read more >
How to resolve an ' [unhandled promise rejection: typeerror ...
Lets break it down bit by bit: [unhandled promise rejection: typeerror: undefined is not an object (evaluating '_expopermissions.permissions.getasync')].
Read more >
Practical Machine Learning in JavaScript - DOKUMEN.PUB
in Node.js, Angular.js, and React.js. He currently develops applications in Scala and Python for deep learning neural networks using TensorFlow.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found