{"_id":"@adri1336/tensorflow-models","_rev":"1-6814e001a6bad87a596ad297d5221b24","name":"@adri1336/tensorflow-models","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@adri1336/tensorflow-models","version":"0.0.1","scripts":{"diff":"./scripts/diff.js","link-local":"yalc link","presubmit":"ts-node presubmit.ts"},"devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-typescript":"^11.0.0","@types/jasmine":"^3.4.0","@types/node":"~18.13.0","@types/shelljs":"~0.8.0","clang-format":"~1.2.2","fs":"~0.0.1-security","jasmine":"~3.1.0","rollup":"^3.15.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-visualizer":"^5.9.0","semver":"^6.3.0","shelljs":"0.8.2","ts-node":"~5.0.0","tslint":"~6.1.3","tslint-no-circular-imports":"~0.7.0","typescript":"4.9.5","yalc":"~1.0.0-pre.50"},"license":"Apache-2.0","description":"This repository hosts a set of pre-trained models that have been ported to TensorFlow.js.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/adri1336/tfjs-models-rn3.git"},"author":{"name":"adri1336"},"bugs":{"url":"https://github.com/adri1336/tfjs-models-rn3/issues"},"homepage":"https://github.com/adri1336/tfjs-models-rn3#readme","_id":"@adri1336/tensorflow-models@0.0.1","gitHead":"f27de99cebefc5facd33f3d61b536c0402df08e2","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-jxayjwtfL4EeJDeoMyfiTI2KDxiqUtc076D/KJelDHRlzeOoyX8PEwqpHLiId5TUrDHdrR4xDwo6SWha2KPrcQ==","shasum":"59a26efaab087e1daffe226eded298e2b58892c6","tarball":"https://registry.npmjs.org/@adri1336/tensorflow-models/-/tensorflow-models-0.0.1.tgz","fileCount":329,"unpackedSize":9694154,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClY4YSuQ94RiSo8N0EuDP8isVI94/9mCKR5JPNTbr0vgIgFHMFw5V7VeRDV7wd3KOzUFFLZ7eBnGyXh0E+U6Euadg="}]},"_npmUser":{"name":"adri1336","email":"adri1pawn@gmail.com"},"directories":{},"maintainers":[{"name":"adri1336","email":"adri1pawn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tensorflow-models_0.0.1_1708339252881_0.9946559856202408"},"_hasShrinkwrap":false},"0.0.2":{"name":"@adri1336/tensorflow-models","version":"0.0.2","scripts":{"diff":"./scripts/diff.js","link-local":"yalc link","presubmit":"ts-node presubmit.ts"},"devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-typescript":"^11.0.0","@types/jasmine":"^3.4.0","@types/node":"~18.13.0","@types/shelljs":"~0.8.0","clang-format":"~1.2.2","fs":"~0.0.1-security","jasmine":"~3.1.0","rollup":"^3.15.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-visualizer":"^5.9.0","semver":"^6.3.0","shelljs":"0.8.2","ts-node":"~5.0.0","tslint":"~6.1.3","tslint-no-circular-imports":"~0.7.0","typescript":"4.9.5","yalc":"~1.0.0-pre.50"},"license":"Apache-2.0","description":"This repository hosts a set of pre-trained models that have been ported to TensorFlow.js.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/adri1336/tfjs-models-rn3.git"},"author":{"name":"adri1336"},"bugs":{"url":"https://github.com/adri1336/tfjs-models-rn3/issues"},"homepage":"https://github.com/adri1336/tfjs-models-rn3#readme","_id":"@adri1336/tensorflow-models@0.0.2","gitHead":"7ea880d48dff7ab1c44267279283863de20f2ef9","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-1+9HFywFrPnmNFFAiOZJ6q8LH9R2FokvbfLOUaCGmBtrs7U71QA8oWm2PENHL50LThCuOgTn8ffpHX001Mer5w==","shasum":"a1ff684c0a8c4407dcd1c6461e972f0b65c74735","tarball":"https://registry.npmjs.org/@adri1336/tensorflow-models/-/tensorflow-models-0.0.2.tgz","fileCount":329,"unpackedSize":9694156,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICgq2wRQSt2ZwfIz2LdJvszcvQWrXFNnUMR6mHPagb12AiEA67DBhEEhMuiRxaRCg6CwKwLR9G+YL9DKUhIL7Et+C0E="}]},"_npmUser":{"name":"adri1336","email":"adri1pawn@gmail.com"},"directories":{},"maintainers":[{"name":"adri1336","email":"adri1pawn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tensorflow-models_0.0.2_1708339426209_0.09127353285416362"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-19T10:40:52.796Z","0.0.1":"2024-02-19T10:40:53.246Z","modified":"2024-02-19T10:43:46.908Z","0.0.2":"2024-02-19T10:43:46.479Z"},"maintainers":[{"name":"adri1336","email":"adri1pawn@gmail.com"}],"description":"This repository hosts a set of pre-trained models that have been ported to TensorFlow.js.","homepage":"https://github.com/adri1336/tfjs-models-rn3#readme","repository":{"type":"git","url":"git+https://github.com/adri1336/tfjs-models-rn3.git"},"author":{"name":"adri1336"},"bugs":{"url":"https://github.com/adri1336/tfjs-models-rn3/issues"},"license":"Apache-2.0","readme":"# Pre-trained TensorFlow.js models\n\nThis repository hosts a set of pre-trained models that have been ported to\nTensorFlow.js.\n\nThe models are hosted on NPM and unpkg so they can be used in any project out of the box. They can be used directly or used in a transfer learning\nsetting with TensorFlow.js.\n\nTo find out about APIs for models, look at the README in each of the respective\ndirectories. In general, we try to hide tensors so the API can be used by\nnon-machine learning experts.\n\nFor those interested in contributing a model, please file a [GitHub issue on tfjs](https://github.com/tensorflow/tfjs/issues) to gauge\ninterest. We are trying to add models that complement the existing set of models\nand can be used as building blocks in other apps.\n\n## Models\n\n<table style=\"max-width:100%;table-layout:auto;\">\n  <tr style=\"text-align:center;\">\n    <th>Type</th>\n    <th>Model</th>\n    <th>Demo</th>\n    <th>Details</th>\n    <th>Install</th>\n  </tr>\n  <!-- Images -->\n  <!-- ** MobileNet -->\n  <tr>\n    <td rowspan=\"12\"><b>Images</b></td>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./mobilenet\"><div style='vertical-align:middle; display:inline;'>MobileNet</div></a></b></td>\n    <td><a href=\"https://storage.googleapis.com/tfjs-models/demos/mobilenet/index.html\">live</a></td>\n    <td rowspan=\"2\">Classify images with labels from the <a href=\"http://www.image-net.org/\">ImageNet database</a>.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/mobilenet</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./mobilenet/demo/index.html\">source</a></td>\n  </tr>\n  <!-- ** Hand -->\n  <tr>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./hand-pose-detection\"><div style='vertical-align:middle; display:inline;'>Hand</div></a></b></td>\n    <td><a href=\"https://storage.googleapis.com/tfjs-models/demos/hand-pose-detection/index.html?model=mediapipe_hands\">live</a></td>\n    <td rowspan=\"2\">Real-time hand pose detection in the browser using TensorFlow.js.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/hand-pose-detection</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./hand-pose-detection/demos/live_video/index.html\">source</a></td>\n  </tr>\n    <!-- ** Pose -->\n  <tr>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./pose-detection\"><div style='vertical-align:middle; display:inline;'>Pose</div></a></b></td>\n    <td><a href=\"https://storage.googleapis.com/tfjs-models/demos/pose-detection/index.html?model=movenet\">live</a></td>\n    <td rowspan=\"2\">An API for real-time human pose detection in the browser.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/pose-detection</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./pose-detection/demos/live_video/index.html\">source</a></td>\n  </tr>\n  <!-- ** Coco SSD -->\n  <tr>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./coco-ssd\"><div style='vertical-align:middle; display:inline;'>Coco SSD</div></a></b></td>\n    <td><a href=\"\"></a></td>\n    <td rowspan=\"2\">Object detection model that aims to localize and identify multiple objects in a single image. Based on the <a href=\"https://github.com/tensorflow/models/blob/master/research/object_detection/README.md\">TensorFlow object detection API</a>.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/coco-ssd</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./coco-ssd/demo\">source</a></td>\n  </tr>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./deeplab\"><div style='vertical-align:middle; display:inline;'>DeepLab v3</div></a></b></td>\n    <td><a href=\"\"></a></td>\n    <td rowspan=\"2\">Semantic segmentation</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/deeplab</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./deeplab/demo\">source</a></td>\n  </tr>\n    <!-- ** Face Landmark Detection -->\n  <tr>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./face-landmarks-detection\"><div style='vertical-align:middle; display:inline;'>Face Landmark Detection</div></a></b></td>\n    <td><a href=\"https://storage.googleapis.com/tfjs-models/demos/face-landmarks-detection/index.html?model=mediapipe_face_mesh\">live</a></td>\n    <td rowspan=\"2\">Real-time 3D facial landmarks detection to infer the approximate surface geometry of a human face</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/face-landmarks-detection</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./face-landmarks-detection/demos\">source</a></td>\n  </tr>\n\n  <!-- * Audio -->\n  <!-- ** Speech Commands -->\n  <tr>\n    <td rowspan=\"2\"><b>Audio</b></td>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./speech-commands\"><div style='vertical-align:middle; display:inline;'>Speech Commands</div></a></b></td>\n    <td><a href=\"https://storage.googleapis.com/tfjs-speech-model-test/2019-01-03a/dist/index.html\">live</a></td>\n    <td rowspan=\"2\">Classify 1 second audio snippets from the <a href=\"https://www.tensorflow.org/tutorials/sequences/audio_recognition\">speech commands dataset</a>.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/speech-commands</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./speech-commands/demo/index.html\">source</a></td>\n  </tr>\n  <!-- * Text -->\n  <!-- ** Universal Sentence Encoder -->\n  <tr>\n    <td rowspan=\"4\"><b>Text</b></td>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./universal-sentence-encoder\"><div style='vertical-align:middle; display:inline;'>Universal Sentence Encoder</div></a></b></td>\n    <td><a href=\"\"></a></td>\n    <td rowspan=\"2\">Encode text into a 512-dimensional embedding to be used as inputs to natural language processing tasks such as sentiment classification and textual similarity.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/universal-sentence-encoder</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./universal-sentence-encoder/demo\">source</a></td>\n  </tr>\n  <!-- ** Text Toxicity -->\n  <tr>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./toxicity\"><div style='vertical-align:middle; display:inline;'>Text Toxicity</div></a></b></td>\n    <td><a href=\"https://storage.googleapis.com/tfjs-models/demos/toxicity/index.html\">live</a></td>\n    <td rowspan=\"2\">Score the perceived impact a comment might have on a conversation, from \"Very toxic\" to \"Very healthy\".</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/toxicity</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./toxicity/demo/index.html\">source</a></td>\n  </tr>\n  <!-- * Depth Estimation -->\n  <!-- ** Portrait Depth -->\n  <tr>\n    <td rowspan=\"2\"><b>Depth Estimation</b></td>\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./depth-estimation\"><div style='vertical-align:middle; display:inline;'>Portrait Depth</div></a></b></td>\n    <td><a href=\"https://storage.googleapis.com/tfjs-models/demos/3dphoto/index.html\">live</a></td>\n    <td rowspan=\"2\">Estimate per-pixel depth (the distance to the camera center) for a single portrait image, which can be further used for creative applications such as <a href=\"https://blog.tensorflow.org/2022/05/portrait-depth-api-turning-single-image.html?linkId=8063793\">3D photo</a> and <a href=\"https://storage.googleapis.com/tfjs-models/demos/relighting/index.html\">relighting</a>.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/depth-estimation</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./depth-estimation/demos/3d_photo/index.html\">source</a></td>\n  </tr>\n  <!-- * General Utilities -->\n  <tr>\n    <td rowspan=\"2\"><b>General Utilities</b></td>\n  <!-- ** KNN Classifier -->\n    <td rowspan=\"2\"><b><a style=\"white-space:nowrap; display:inline-block;\" href=\"./knn-classifier\"><div style='vertical-align:middle; display:inline;'>KNN Classifier</div></a></b></td>\n    <td><a href=\"\"></a></td>\n    <td rowspan=\"2\">This package provides a utility for creating a classifier using the K-Nearest Neighbors algorithm. Can be used for transfer learning.</td>\n    <td rowspan=\"2\"><code>npm i @tensorflow-models/knn-classifier</code></td>\n  </tr>\n  <tr>\n    <td><a href=\"./knn-classifier/demo\">source</a></td>\n  </tr>\n</table>\n\n## Development\n\nYou can run the unit tests for any of the models by running the following\ninside a directory:\n\n`yarn test`\n\nNew models should have a test NPM script (see [this](./mobilenet/package.json) `package.json` and `run_tests.ts` [helper](./mobilenet/run_tests.ts) for reference).\n\nTo run all of the tests, you can run the following command from the root of this\nrepo:\n\n`yarn presubmit`\n","readmeFilename":"README.md"}