1.1.1 • Published 2 years ago

@paddlejs-models/mobilenet v1.1.1

Weekly downloads
2
License
ISC
Repository
-
Last release
2 years ago

中文版

mobilenet

mobilenet model can classify img. It provides simple interfaces to use. You can use your own category model to classify img.

Run Demo

  1. Execute in the current directory
npm install
npm run dev
  1. Visit http://0.0.0.0:8867

Usage

import * as mobilenet from '@paddlejs-models/mobilenet';

// You need to specify your model path and the binary file count
// If your has mean and std params, you need to specify them.
// map is the results your model can classify.
await mobilenet.load({
    path,
    mean: [0.485, 0.456, 0.406],
    std: [0.229, 0.224, 0.225]
}, map);

// get the result the mobilenet model classified.
const res = await mobilenet.classify(img);

Online experience

mobileNet:https://paddlejs.baidu.com/mobilenet

wine:https://paddlejs.baidu.com/wine

Performance

1.1.1

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago