jppgks / vgg19-tensorflowjs-model

πŸ“ Tensorflow.js pretrained model of VGG-19

Home Page:https://js.tensorflow.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vgg19-tensorflowjs-model

Tensorflow.js pretrained model of VGG-19.

How to use it?

Clone this repository

git clone https://github.com/DavidCai1993/vgg19-tensorflowjs-model.git

Load model.json in your tensorflow.js application

'use strict'
const tf = require('@tensorflow/tfjs')
require('@tensorflow/tfjs-node')

;(async function () {
  const vgg19 = await tf.loadModel(`file://${__dirname}/vgg19-tensorflowjs-model/model/model.json`)
  
  // ...
})(console.error)

About

πŸ“ Tensorflow.js pretrained model of VGG-19

https://js.tensorflow.org

License:MIT License