@pipcook/plugins-tensorflow-resnet-model-define
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@pipcook/plugins-tensorflow-resnet-model-define

Description

This plugin defines a image classification model. This model is resnet. The model is built using python tensorflow.

Required Parameters

Parameter Type Description

Optional Parameters

Parameter Type Default Value Description
loss string categorical_crossentropy the loss function to be defined. Look more
metrics string[] [ 'accuracy' ] metrics used to evaluate model. Look more
learningRate number 0.001 base learning rate for Adam
decay number 0.05 decay rate for Adam
freeze boolean false Whether to freeze first several layers
labelMap object null label map, only specified when recoverPath is provided
recoverPath string null Recover path of pretrained model

Example

"modelDefine": {
  "package": "@pipcook/plugins-tensorflow-resnet-model-define",
  "params": {
    "freeze": true
  }
},

Readme

Keywords

none

Package Sidebar

Install

npm i @pipcook/plugins-tensorflow-resnet-model-define

Weekly Downloads

30

Version

1.1.1

License

Apache-2.0

Unpacked Size

23.2 kB

Total Files

6

Last publish

Collaborators

  • jan-www
  • gindis
  • rickycao
  • wcount
  • yorkie
  • ericlee98
  • feelychau