You're looking at a specific version of this model. Jump to the model overview.

stspanho /spectacles-yolov7-trainer:ed4d9340

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
images_zip_url
string
URL to a .zip of real Spectacles frames (flat folder of images).
classes
string
coffee cup
Comma-separated class list. Must line up with the objects described in synthetic_prompts and the objects visible in the real Spectacles frames, e.g. "coffee cup" or "banana, apple".
synthetic_prompts
string
None
synthetic_count
integer
100

Max: 1000

Number of synthetic frames to generate (0 = skip Flux entirely).
epochs
integer
200

Min: 1

Max: 1000

None
batch_size
integer
64

Min: 1

Max: 128

None
img_size
None
224
Training + export image size (must be a multiple of 32). 224 is Snap's SnapML recipe for Spectacles; 320/416/512/640 give higher accuracy at higher on-device cost.
sam_score_threshold
number
0.5

Max: 1

None
include_dataset
boolean
False
If true, bundle the SAM 3-annotated train/val dataset into the output zip.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}