Dependencies

NPM

Select the NPM button and add new script URLs.

Scripts are available in the global scope. For example console.log(tf.version) produces:

862

Examples of common dependencies

https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@3.2.0/dist/tf.min.js
https://unpkg.com/ml5@0.6.1/dist/ml5.min.js
https://docs.opencv.org/master/opencv.js

Example of a model
https://cdn.jsdelivr.net/npm/@tensorflow-models/body-pix@2.1

Please see the respective library docs for the latest versions and information

1493

Did this page help you?