I am trying to load movenet model in react native ":
useEffect(async()=>{
console.log(‘modelName’)
await tf.ready()
const detectorConfig = {
modelUrl: "./model/lightning/model.json",
modelType: poseDetection.movenet.modelType.SINGLEPOSE_LIGHTNING
};
const detector = await poseDetection.createDetector(
poseDetection.SupportedModels.MoveNet, bundleResourceIO(detectorConfig)
);
// const predictions = await net.estimateSinglePose(imageTensor)
console.log(detector)
// tf.ready()
Please Help me …