start_generation
Launch a background job to generate a poisoned dataset using a selected attack, then poll its status with the returned dataset ID.
Instructions
Start generating a poisoned dataset with one of the 4 attacks (see list_available_attacks). Runs as a background job -- poll get_generation_status with the returned dataset id. Constraints (enforced server-side): 'lc' requires clean_model_id (an uploaded model checkpoint); 'sa' and 'htb' require source_class AND pre-generated .npy files already present on disk -- generation fails at runtime without them. Each attack only supports specific base_dataset values (see list_available_attacks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eps | No | ||
| vis | No | ||
| name | Yes | ||
| seed | No | ||
| device | No | cpu | |
| attack_type | Yes | ||
| description | No | ||
| base_dataset | No | cifar10 | |
| poison_ratio | No | Percent of samples to poison | |
| source_class | No | Required for sa and htb | |
| target_class | No | ||
| clean_model_id | No | Dataset-table ID of an uploaded clean model checkpoint. Required for lc only. | |
| model_architecture | No | resnet18 |