# US 2023/0410494 A1 · Unified ai model training platform

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0410494 A1
- Document ID: US20230410494A1
- Status: Published application
- Kind: A1
- Application number: 18/210,266
- Filed: 2023-06-15
- Published: 2023-12-21
- Earliest claimed: 2022-06-15
- Assignees: ZeroEyes, Inc.
- Applicants: ZeroEyes, Inc.
- Inventors: Quinn Graehling; Timothy Sulzer; Marcus Day; Samuel Mohebban
- Web page: https://patentgrep.com/patent/US20230410494A1

## CPC

- G06V 10/82: using neural networks
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/776: Validation; Performance evaluation
- G06V 10/778: Active pattern-learning, e.g. online learning of image or video features
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Systems, methods, apparatuses and non-transitory computer executable media configured to unify preprocessing, configuration, training, monitoring, and evaluation of multiple neural network based object detection algorithms under a singular development environment/platform (i.e., a “unified training platform”). The unified training platform may include a neural network agnostic model training environment that addresses the deficiencies described above and may allow for unified data annotation formatting. In addition to incorporating a wide variety of state-of-the-art neural networks into the unified training platform, the unified training platform may also provide full accessibility to available network optimizations. The present disclosure may also include a universal model converter.

## Claims

### Claim 1

A neural network agnostic method for unified data annotation, the method comprising:
retrieving a dataset from one or more databases based on a configuration file, the dataset comprising image files extracted from one or more video feeds along with corresponding label files comprising information about one or more annotations added to the image files;
determining that one or more of the image files and one or more of the label files are in a format that is not compatible with a required format of neural network architecture specified in the configuration file,
reformatting the one or more of the image files and the one or more of the label files, such that the dataset is formatted for the neural network architecture;
selecting the neural network architecture from a repository based on the configuration file;
training a machine learning (ML) model based on the formatted dataset and one or more hyperparameters;
evaluating a performance of the ML model over one or more object detection metrics;
adjusting the one or more hyperparameters and iterating the training until the performance of the ML model meets a determined threshold; and
once the performance of the ML model meets the determined threshold, converting the ML model to a file format that is compatible with a production platform.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
performing an integrity check on the dataset; and
removing any of image file and label file that fails the integrity check from the dataset.

### Claim 3 (depends on 2)

The method of claim 2, wherein the integrity check comprises comparing the image files and the label files to confirm they match.

### Claim 4 (depends on 2)

The method of claim 2, wherein the integrity check comprises determining whether any of the image files and the label files are one or more of corrupted, missing, or incorrectly formatted.

### Claim 5 (depends on 1)

The method of claim 1, wherein the ML model comprises an initial model obtained from pretrained weights.

### Claim 6 (depends on 5)

The method of claim 5, wherein the training the ML model comprises fine tuning the pretrained weights using the formatted dataset.

### Claim 7 (depends on 1)

The method of claim 1, wherein the evaluating a performance of the ML model over one or more object detection metrics comprises:
comparing the one or more object detection metrics against metrics of other ML models of to determine a relative performance and internal ranking of the ML model.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more object detection metrics comprise true positives and mean average precisions.

### Claim 9 (depends on 1)

The method of claim 1, wherein the converting the ML model to a file format that is compatible with a production platform comprises:
generating one or more frozen model graphs from the training the ML model;
converting the one or more frozen model graphs to supported model graph files compatible for use in a streaming platform for inference;
generating one or more final weight files from the supported model graph files; and
running one or more inferences over testing images using the one or more final weight files to evaluate an accuracy of the ML model.

### Claim 10 (depends on 9)

The method of claim 9, wherein the one or more weights comprise eight bit integer (INT8), floating point 16 (FP16), and floating point 32 (FP32).

### Claim 11

A system configured to provide a neural network agnostic method for unified data annotation, the system comprising:
a processor operatively coupled to a memory configured to store computer readable code that, when executed by the processor, causes the processor to:
retrieve a dataset from one or more databases based on a configuration file, the dataset comprising image files extracted from one or more video feeds along with corresponding label files comprising information about one or more annotations added to the image files;
determine that one or more of the image files and one or more of the label files are in a format that is not compatible with a required format of neural network architecture specified in the configuration file,
reformat the one or more of the image files and the one or more of the label files, such that the dataset is formatted for the neural network architecture;
select the neural network architecture from a repository based on the configuration file;
train a machine learning (ML) model based on the formatted dataset and one or more hyperparameters;
evaluate a performance of the ML model over one or more object detection metrics;
adjust the one or more hyperparameters and iterating the training until the performance of the ML model meets a determined threshold; and
once the performance of the ML model meets the determined threshold, convert the ML model to a file format that is compatible with a production platform.

### Claim 12 (depends on 11)

The system of claim 11, wherein the computer readable code, when executed by the processor, further causes the processor to:
perform an integrity check on the dataset; and
removing any of image file and label file that fails the integrity check from the dataset.

### Claim 13 (depends on 12)

The system of claim 12, wherein the integrity check comprises comparing the image files and the label files to confirm they match.

### Claim 14 (depends on 12)

The system of claim 12, wherein the integrity check comprises determining whether any of the image files and the label files are one or more of corrupted, missing, or incorrectly formatted.

### Claim 15 (depends on 11)

The system of claim 11, wherein the ML model comprises an initial model obtained from pretrained weights.

### Claim 16 (depends on 15)

The system of claim 15, wherein the training the ML model comprises fine tuning the pretrained weights using the formatted dataset.

### Claim 17 (depends on 11)

The system of claim 11, wherein the evaluating a performance of the ML model over one or more object detection metrics comprises:
comparing the one or more object detection metrics against metrics of other ML models of to determine a relative performance and internal ranking of the ML model.

### Claim 18 (depends on 11)

The system of claim 11, wherein the one or more object detection metrics comprise true positives and mean average precisions.

### Claim 19 (depends on 11)

The system of claim 11, wherein the converting the ML model to a file format that is compatible with a production platform comprises:
generating one or more frozen model graphs from the training the ML model;
converting the one or more frozen model graphs to supported model graph files compatible for use in a streaming platform for inference;
generating one or more final weight files from the supported model graph files; and
running one or more inferences over testing images using the one or more final weight files to evaluate an accuracy of the ML model.

### Claim 20 (depends on 19)

The system of claim 19, wherein the one or more weights comprise eight bit integer (INT8), floating point 16 (FP16), and floating point 32 (FP32).
