Conversation
Co-authored-by: Abdullah Hamdi <ajhamdi@users.noreply.github.com>
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
Sets up the development environment for
colon-bench-evaland documents non-obvious caveats for future cloud agents.AGENTS.mdwith a## Cursor Cloud specific instructionssection covering:uv-managed install, the essentialgit lfs pullstep, CPU-only torch / skipped EdgeTAM CUDA extension, required secrets (HF_TOKEN,OPENROUTER_API_KEY), how to run the offline plot scripts and the Streamlit viewer, and the absence of first-party lint/test/CI.No application code is modified.
Environment setup
uv sync --extra all(CPU torch, EdgeTAM editable build; CUDA extension skipped gracefully — no GPU).git lfs pull— several files (edgetam/checkpoints/edgetam.pt,data/colon-bench/*_seg_*.json,benchmark_detection.json,benchmark_segmentation.json) are Git LFS pointers and must be materialized or segmentation plots/eval fail.Verification
Offline plot scripts (core functionality) reproduce the published leaderboard figures from the shipped result JSONs:
Segmentation benchmark plot
Streamlit viewer runs end-to-end (downloads colonoscopy clips from the gated HF dataset, plays them, and grades VQA answers):
colon_bench_viewer_vqa_demo.mp4
VQA answer feedback (red wrong / green correct)
Testing
uv sync --extra all+git lfs pulluv run python scripts/plot_vqa_accuracy.py/plot_classification_metrics.py/plot_detection_metrics.py/plot_segmentation_metrics.pyuv run --extra viewer streamlit run viewer/visualize_benchmark.py ... --mode vqa_prompted(manual VQA flow)To show artifacts inline, enable in settings.