Commit History

Yesterday

  1. Drop the image-segmentation tag too - HF was inferring pipeline_tag back from it, which drove the misleading pipeline() snippet and task-specific Colab/Kaggle notebook templates (both assume single-label argmax output, which this multi-label model does not produce). artery-vein-segmentation tag already covers discoverability.

    Verified signature
    cf1f116
  2. Remove pipeline_tag: the model is genuinely multi-label (artery/vein channels overlap), so forcing HF image-segmentation pipeline compatibility (argmax-based post_process_semantic_segmentation) would silently produce wrong results. Kept image-segmentation as a plain tag for discoverability.

    Verified signature
    153cae0
  3. Quickstart: fully self-contained AutoModel + AutoImageProcessor snippet, no hf_hub_download needed

    Verified signature
    5344068
  4. Delegate preprocess_image to the new Swinv2SegmenterImageProcessor instead of inline torchvision transforms

    Verified signature
    6392fc6
  5. Register AutoImageProcessor in auto_map

    Verified signature
    69be905
  6. Add preprocessor_config.json so AutoImageProcessor.from_pretrained works

    Verified signature
    59f2657
  7. Add Swinv2SegmenterImageProcessor (standard BaseImageProcessor) - verified bit-identical output to the old manual preprocess_image

    Verified signature
    a627c2e
  8. Add library_name: transformers (enables the Use this model button), give a full runnable inference snippet instead of just pointing at infer.py

    Verified signature
    afc81b2
  9. Remove config.yaml - superseded by config.json

    Verified signature
    5fa111c
  10. Remove weights/model.safetensors - moved to root as model.safetensors

    Verified signature
    c71348b
  11. Drop pyyaml - no longer used now that config is plain JSON

    Verified signature
    2e94e7b
  12. Document the standard AutoModel(trust_remote_code=True) loading path; update weights path reference

    Verified signature
    ba54a19
  13. Simplify load_model: use Swinv2Segmenter.from_pretrained() directly (local dir or repo id), no more separate weights-dir/config-path plumbing

    Verified signature
    f80cf3d
  14. Move checkpoint to repo root as model.safetensors (standard from_pretrained layout, was weights/model.safetensors)

    Verified signature
    04a3e05
  15. Add config.json (replaces config.yaml) with auto_map for AutoConfig/AutoModel

    Verified signature
    c4ac2c8
  16. Convert Swinv2Segmenter to a real transformers.PreTrainedModel (PretrainedConfig + PreTrainedModel), enabling standard from_pretrained()/save_pretrained() and AutoModel with trust_remote_code=True

    Verified signature
    305d9bd
  17. Remove weights/model.yaml - superseded by the single root config.yaml

    Verified signature
    284a8d9
  18. Load the model config from the single root config.yaml instead of weights/model.yaml

    Verified signature
    16882cd
  19. Trim dead training-only code paths (loss-alpha bookkeeping, unused random-init branch, dead pre_load_model checkpoint-surgery block, unused imports) - none of it executes for inference; verified via strict safetensors load + identical forward-pass output

    Verified signature
    8e3e4ca
  20. Replace AV-WIDE example with a better-lit source image (the old one was nearly black, vessels looked like they were floating on nothing)

    Verified signature
    c0483dd
  21. Add root-level config.yaml so HF Hub counts downloads (its default download-tracker only watches config.json/config.yaml/etc. at repo root)

    Verified signature
    711ddbe
  22. Link the RLAD + PVBM end-to-end tutorial

    Verified signature
    6817c98
  23. Note bfloat16 inference precision in Quickstart

    Verified signature
    95ec695
  24. Load and run inference in bfloat16 (the precision the model was trained in)

    Verified signature
    2f18a01
  25. Fix: model output is already at content size (1444), crop_padding was incorrectly double-cropping it to 1416 and misaligning the mask

    Verified signature
    69f5882
  26. Rehost PVBM optic-disc-segmenter weights (Google Drive link was broken/rate-limited)

    Verified signature
    2a2c8c6

2 days ago

  1. Link both RLAD and REYIA in the intro sentence

    Verified signature
    10e691d
  2. Reorder: intro, qualitative examples, quickstart, example, results, ablations, license, citation

    Verified signature
    653de4c
  3. Add explanatory sentence before Table 1

    Verified signature
    a19c20a
  4. Condense intro and qualitative-figure section to one sentence each

    Verified signature
    a8c0afb
  5. Move qualitative figure right after intro, remove How it works section

    Verified signature
    e976b35
  6. Regenerate example with higher mask alpha

    Verified signature
    cf43740
  7. Add mBRSET, reorder with AV-WIDE last, higher mask alpha, native aspect ratios throughout

    Verified signature
    1faecea
  8. Fix overlay to preserve native aspect ratio instead of stretching to square; raise mask alpha

    Verified signature
    65265df
  9. AV-WIDE: show at native aspect ratio instead of stretched to square

    Verified signature
    1afd7f3
  10. LES2 is ENRICH; link UZLF to KU Leuven RDR, others to REYIA's own license detail

    Verified signature
    ddacb59
  11. Add Tables 3-4, stop asserting UZLF's release status without evidence

    Verified signature
    cdd735f
  12. Add Table 4 (pretraining/generation ablation)

    Verified signature
    2b8bee0
  13. Add Table 3 (dataset ablation)

    Verified signature
    a10499e
  14. Punch up the intro

    Verified signature
    4e81616
  15. Add benchmark example predictions section

    Verified signature
    d654a73
  16. Add benchmark dataset example predictions

    Verified signature
    835498d
  17. Lead with paper title, add results table, concrete license statuses, trim to match REYIA's voice

    Verified signature
    ca42171
  18. Fix naming: RLAD + SwinV2-Large is primary, LUNetV2 is the internal alias

    Verified signature
    10d3de4
  19. Initial release: LUNetv2 SwinV2-Large retinal AV segmentation, RLAD-augmented

    Verified signature
    7677375
  20. initial commit

    Verified signature
    3b0f214