Add a Dataset.
param | type | required | desc |
---|---|---|---|
tag | str | true | |
data_type | int | true | TRAIN: 1, VAL: 2 |
file | blob | true | image data |
Update dataset datatype.
param | type | required | desc |
---|---|---|---|
data_type | int | true | TRAIN: 1, VAL: 2 |
Get the datasets list.
param | type | required | desc |
---|---|---|---|
tag | str | false | |
data_type | str | false | train, val, default: all |
max | int | false | max dataset_id |
limit | int | false | max 100, default 10 |
Get a dataset.
Delete a dataset.
Add a Dataset.
param | type | required | desc |
---|---|---|---|
tag | str | true | the dataset label. |
Update tag datatype.
param | type | required | desc |
---|---|---|---|
tag | str | true | the dataset label. |
Get the tags list.
param | type | required | desc |
---|---|---|---|
max | int | false | max tag_id |
limit | int | false | max 100, default 10 |
Get a tag.
Delete a tag.
Get a word hint.
param | type | required | desc |
---|---|---|---|
word | str | true | the word which want hint |
Train the network.
Get the train status
Stop train
Build file train.txt
Build file val.txt
Draw train loss
Draw test acc
Predict a image tags.
param | type | required | desc |
---|---|---|---|
img_url | str | true | the image url. |
Proxy to load image.
param | type | required | desc |
---|---|---|---|
url | str | true | the image url. |
POST /api/upload
Upload a file.
param | type | required | desc |
---|---|---|---|
file | blob | true | the image blob data. |