Repository navigation
Edge-case image RI: target-accepted batching, scale switch, config guides, full-scale outputs - #77
Merged
Merged
Conversation
…/novelty plot, docs polish - NB2 batch now aims for TARGET_ACCEPTED accepted images per class with a per-class MAX_ATTEMPTS budget; classes below target revisit their seed pool with new variations, and the run reports classes that miss the target. - Record every judged edit (checkpoint/judged.jsonl) and add a fidelity-vs-novelty plot on the CLIP embedding proxies. - Batch summary (target, accepted, attempts, retries, rejects, rate, elapsed). - README conceptual overview; NB0.5 callout; NB1 multi-signal wording. - CLI: --target-accepted / --max-attempts. Co-authored-by: Cursor <cursoragent@cursor.com>
- Seed pools are drawn by cursor: first round target x (1 + oversample) fresh scenes; later rounds (1 + oversample) x deficit / rate, filled by retries then unused scenes, reusing scenes only when the pool runs out. - Summary reports scenes new/reused/pool per class; resume restores in-flight items instead of re-queuing the whole pool. - extract_max_generic 320 -> 1000 with an NB0 top-up (only missing scenes are downloaded); NB2 pools 300 scenes per class. - pick_synth_seeds shrinks pools to the clean scenes available instead of seeding from scenes that already contain a rare object. - CLI: --oversample, --n-synth-seeds default 300. Co-authored-by: Cursor <cursoragent@cursor.com>
…P PCA The scatter collapsed onto the diagonal because the neighbor bank includes the real images (neighbor_sim >= real_sim). Show per-class histograms of each gate signal with its threshold, plus a 2-D PCA of real vs judged CLIP vectors. Judged-edit and real-bank vectors are now persisted in the checkpoint. Co-authored-by: Cursor <cursoragent@cursor.com>
- configs/config.yaml: scale multiplies the NB0 Mapillary download and the NB2/NB3 counts (0.2 = bootcamp small mode); scaled() helper in config. - Notebooks: short 'where to change it' notes above config-driven cells (dataset/local images, anomalies, editor, detector, judge/API, NB3 knobs). - NB2: drop the embedding plot cells for now (library code kept). Co-authored-by: Cursor <cursoragent@cursor.com>
- NB2: replace runtime estimate with the measured full-scale run (484 edits, ~157 min). - NB3: runtime note for 200 synth; wrap-up states what the committed run shows. - NB0.5/NB1: tidy runtime callouts; drop internal 'slice B/C' labels. Co-authored-by: Cursor <cursoragent@cursor.com>
…generation-polish
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: VectorInstitute/synthetic-data-bootcamp/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
fatemetkl
approved these changes
Sep 28, 2026
fatemetkl
left a comment
Collaborator
There was a problem hiding this comment.
LGTM! Notebooks run with no issues!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clickup Ticket(s): Link(s) if applicable.
Type of Change
Changes Made
Clickup Ticket(s): Link(s) if applicable.
Testing
uv run pytest tests/)uv run mypy <src_dir>)uv run ruff check src_dir/)Manual testing details:
Screenshots/Recordings
Related Issues
Deployment Notes
Checklist