Skip to content

The Chinese version of this page was updated on 2026-11-13, so this translation may be out of date. Read the Chinese version.

Screenshots show the Chinese interface. This part of the system is in Chinese only, so each button name is given in Chinese with an English translation.

Set up the model and classes ​

Classes are the parts and objects the model must recognize. This page covers what to fill in each column of the class table, how to use global classes, how to set the training size and piece counting, and how to change and apply a model version.

Applies to: Admin console, live version of 2026-10-27Updated 2026-11-13

In the editor, select the operation and click the ③ Model & classes tab in the middle column.

Model & classes tab

Class table ​

The column headers are "标签名 / 中文名 / 英文名 / 检测短语(自动标注用)/ 描述" (Label name / Chinese name / English name / Detection phrase (for auto-labeling) / Description).

ColumnWhat to fill in
Label nameThe English label used for model training and detection rules, for example box_closed. It must start with a lowercase letter and can only use lowercase letters, digits and underscores. If you change it, you must train again
Chinese nameThe name shown in the admin console and in the workstation's Chinese interface. Required
English nameShown in the workstation's English interface. If empty, the label name is shown
Detection phraseTells the AI what to look for during auto-labeling. An English phrase

There is also a Description column: extra notes on what the part looks like and where it is.

For parts with easily confused numbers, write a clear description

In the description, say clearly how to tell them apart by eye.

Buttons on the table ​

  • AI 补全检测短语 / 描述 (AI fill detection phrases / descriptions): fills only the empty cells and never overwrites what you entered. Check "参考教学视频" (Use teaching video as reference) for better results. It takes 1 to 3 minutes. Above the table you see "N 个缺检测短语或描述" (N missing detection phrases or descriptions).
  • + 添加类别 (+ Add class), 清空自有类别 (Clear own classes) (asks you to confirm again).

Use global classes ​

Below the table you can select several classes shared across the whole company (hard hats, gloves and so on). They are read-only here. To change them, go to the Global detection classes page.

Training and counting settings ​

SettingNotes
Training size640 / 960 / 1280. The system suggests one based on how much of the image the smallest target takes up
Counting classWhich part this operation counts pieces by
Fixture class + fixture slotsOnly takes effect when both are filled in
Model fileYou can upload an RKNN or ONNX file by hand. Usually you don't need to; change it under "模型版本" (Model version) below

Change the model version ​

The "模型版本" (Model version) row shows the version in use: version number, stage, source and recognition accuracy. It only appears for operations that have been sent for training.

  1. Click 更换 (Change). The "选择模型版本" (Select model version) dialog lists every version trained for this operation or uploaded and registered by hand. Stages are "应用中" (In use), "测试" (Test) and "已归档" (Archived).
  2. Click 应用 (Apply) on the version you want. The confirmation says "应用后该版本将作为生产使用版本下发至关联设备,替换当前已应用版本" (After you apply it, this version is sent to the linked workstations as the production version and replaces the version currently applied). Click 应用 vN (Apply vN).
  3. You see "vN 已应用,正在下发至关联设备" (vN applied, sending to linked workstations), and the version is marked green "已应用" (Applied). If it fails you see "应用失败:原因" (Apply failed: reason) and the button turns red 重试 (Retry).

Once applied, the version replaces the model in both the draft and the released process, and the workstations sync automatically. Only one version is in use at a time; the previously applied version is archived automatically. Applying an older version is how you roll back.

Risky models are flagged

If a model may not be trained well enough, failed the field test, or has an unknown source, uploading it by hand or clicking 应用 (Apply) lists the reasons in red. It is only a reminder; no checkbox is needed. When uploading by hand, click 确认使用 (Confirm) to use it, or 不用这个模型 (Don't use this model). You are reminded again when submitting for review and when approving.

For how to train a version, see Train and choose a model.