Download configs/default.yaml from InternsProgressUpdate/Venket: direct link, hf CLI and curl.
- Browser
- Download file 4 kB
-
https://huggingface.co/InternsProgressUpdate/Venket/resolve/main/configs/default.yaml
- Command line
-
hf download hf://InternsProgressUpdate/Venket/configs/default.yaml
-
curl -L -o default.yaml https://huggingface.co/InternsProgressUpdate/Venket/resolve/main/configs/default.yaml
4 kB
| # Base configuration for the synthetic signed bank document generator. | |
| # | |
| # This file defines every default value used by src.config.schema.PipelineConfig. | |
| # User configs (see configs/generate.yaml, configs/examples/*.yaml) are merged | |
| # on top of this file, so they only need to specify what they want to change. | |
| # | |
| # Any numeric placement/augmentation "strength"-like value may be given either | |
| # as a fixed scalar (e.g. `0.4`) or as a range (e.g. `{min: 0.2, max: 0.6}`), | |
| # which is resolved by a seeded RNG independently for every generated sample. | |
| seed: 1234 | |
| paths: | |
| image_dir: image | |
| dataset_dir: dataset | |
| annotations_dir: annotations | |
| output_dir: output | |
| cache_dir: output/.cache | |
| generation: | |
| count: 10 | |
| workers: 1 | |
| save_visualization: false | |
| overwrite: false | |
| run_validation: true | |
| start_index: 1 | |
| filename_prefix: sample | |
| filename_digits: 6 | |
| document: | |
| template: null # null = pick uniformly at random (deterministically, via seed) | |
| page: null # null = use the template's first page | |
| signer: | |
| name: null # null = generate a deterministic synthetic name | |
| role: null # null = use the signature box's annotated role | |
| signature_selection: | |
| source_filter: genuine # genuine | forged | any | |
| signature_id: null # null = pick uniformly at random from the filtered pool | |
| placement: | |
| x_offset: 0.0 | |
| y_offset: 0.0 | |
| rotation_deg: | |
| min: -4.0 | |
| max: 4.0 | |
| scale_factor: | |
| min: 0.78 | |
| max: 0.95 | |
| anchor_point: center | |
| margin: 0.08 | |
| misplacement_probability: 0.12 | |
| misplacement_strength: 0.35 | |
| allow_partial_outside: false | |
| rendering: | |
| blend_mode: multiply | |
| ink_opacity: | |
| min: 0.75 | |
| max: 0.95 | |
| blur_sigma: | |
| min: 0.15 | |
| max: 0.55 | |
| feather_px: | |
| min: 0.5 | |
| max: 1.8 | |
| scanner_noise: 0.02 | |
| anti_alias: true | |
| augmentation: | |
| rotation: | |
| enabled: false | |
| strength: 0.0 | |
| probability: 0.0 | |
| seed: null | |
| stroke_dilation: | |
| enabled: false | |
| strength: 0.2 | |
| probability: 0.25 | |
| seed: null | |
| motion_blur: | |
| enabled: false | |
| strength: 0.2 | |
| probability: 0.15 | |
| seed: null | |
| gaussian_blur: | |
| enabled: true | |
| strength: 0.15 | |
| probability: 0.3 | |
| seed: null | |
| perspective: | |
| enabled: false | |
| strength: 0.1 | |
| probability: 0.1 | |
| seed: null | |
| scanner_noise: | |
| enabled: true | |
| strength: 0.06 | |
| probability: 1.0 | |
| seed: null | |
| salt_pepper: | |
| enabled: false | |
| strength: 0.03 | |
| probability: 0.15 | |
| seed: null | |
| jpeg_compression: | |
| enabled: true | |
| strength: 0.3 | |
| probability: 0.5 | |
| seed: null | |
| min_quality: 35 | |
| max_quality: 90 | |
| contrast: | |
| enabled: true | |
| strength: 0.15 | |
| probability: 0.4 | |
| seed: null | |
| gamma: | |
| enabled: false | |
| strength: 0.15 | |
| probability: 0.2 | |
| seed: null | |
| coffee_stain: | |
| enabled: false | |
| strength: 0.4 | |
| probability: 0.1 | |
| seed: null | |
| stain: | |
| enabled: false | |
| strength: 0.4 | |
| probability: 0.1 | |
| seed: null | |
| type: random | |
| shadow: | |
| enabled: true | |
| strength: 0.35 | |
| probability: 0.4 | |
| seed: null | |
| type: random | |
| crumple: | |
| enabled: false | |
| strength: 0.2 | |
| probability: 0.15 | |
| seed: null | |
| wrinkle_density: 0.4 | |
| discoloration: | |
| enabled: true | |
| strength: 0.2 | |
| probability: 0.5 | |
| seed: null | |
| tone: random | |
| page_tilt: | |
| enabled: true | |
| strength: 0.3 | |
| probability: 0.3 | |
| seed: null | |
| dust: | |
| enabled: false | |
| strength: 0.2 | |
| probability: 0.2 | |
| seed: null | |
| scanner_streaks: | |
| enabled: false | |
| strength: 0.2 | |
| probability: 0.1 | |
| seed: null | |
| ink_fading: | |
| enabled: false | |
| strength: 0.3 | |
| probability: 0.2 | |
| seed: null | |
| ink_bleed: | |
| enabled: false | |
| strength: 0.25 | |
| probability: 0.15 | |
| seed: null | |
| quality: | |
| case_type: null | |
| notes: null | |
| scanner_quality: 0.85 | |
| paper_quality: 0.85 | |
| render_quality: 0.85 | |
| difficulty: | |
| misplacement: 0.35 | |
| whitespace: 0.20 | |
| faintness: 0.20 | |
| smallness: 0.15 | |
| low_texture: 0.10 | |
| easy_threshold: 0.33 | |
| hard_threshold: 0.66 | |
| validation: | |
| strict: false | |
| max_coordinate_epsilon: 0.5 | |