integrations/tfjs/ #13963
Replies: 6 comments 19 replies
-
Hello, i tried to use exported model with tfjs but it threw an error.
This is error message:
Can you help me? |
Beta Was this translation helpful? Give feedback.
-
@glenn-jocher thank you for your time. |
Beta Was this translation helpful? Give feedback.
-
buenas, alguien podria ayudarme a interpretar mi output? pude acceder al tensor mediante predictions.array() me podrian ayudar a interpretar este output porfabor |
Beta Was this translation helpful? Give feedback.
-
Hi All, I have tried converting yolov8n.pt which is purely pre-trained only (without any customization), that also giving 26 .bin files. Please some one help me here. Thanks in advance !! |
Beta Was this translation helpful? Give feedback.
-
@glenn-jocher Would you kindly help me with code example which can fix this issue ? #This is the code I have used to get web model from official yolov8m-obb.pt from ultralytics import YOLO Load the YOLO11 modelmodel = YOLO("yolov8m-obb.pt") Export the model to TF.js formatmodel.export(format="tfjs") # creates '/yolov8m-obb.pt_web_model' |
Beta Was this translation helpful? Give feedback.
-
I've been trying to export some models that I trained, but I keep getting several errors when trying to run the command. Erros: requirements: Ultralytics requirements ['sng4onnx>=1.0.1', 'onnx_graphsurgeon>=0.3.26', 'onnxslim>=0.1.31', 'tflite_support', 'onnxruntime'] not found, attempting AutoUpdate... The message says that the Ultralytics library is missing these dependencies (which is strange because I just installed Ultralytics, so it should be complete). The 'autoupdate' fails, and installing them manually also fails.. |
Beta Was this translation helpful? Give feedback.
-
integrations/tfjs/
Convert your Ultralytics YOLOv8 models to TensorFlow.js for high-speed, local object detection. Learn how to optimize ML models for browser and Node.js apps.
https://docs.ultralytics.com/integrations/tfjs/
Beta Was this translation helpful? Give feedback.
All reactions