sam3 / detect-objects.py

Commit History

10 days ago

  1. Sync from davanstrien/uv-scripts via hub-sync

    davanstrien HF Staff
    Verified signature
    a80ec56

  1. Fix formatting in detection output message for better readability

    davanstrien HF Staff
    4a49870
  2. Add dataset card creation and visualization script for object detection results

    davanstrien HF Staff
    2063000

  1. Convert boxes and scores to float32 before numpy conversion in process_batch for compatibility

    davanstrien HF Staff
    6ba36e4
  2. Refactor imports for better organization and enable high-performance mode

    davanstrien HF Staff
    a9a3a95
  3. Refactor process_batch to return detections in list format for improved consistency

    davanstrien HF Staff
    67f6a39
  4. Refactor output format to use dict-of-lists for object detections and update output schema accordingly

    davanstrien HF Staff
    2def010
  5. Uncomment features parameter in object detection function call

    davanstrien HF Staff
    0be3fcd
  6. Comment out features parameter in object detection function call

    davanstrien HF Staff
    de977ae
  7. Refactor output schema to use list for objects and simplify feature definitions

    davanstrien HF Staff
    48b2886
  8. Refactor output schema creation to define features before processing dataset

    davanstrien HF Staff
    cc71572
  9. Enhance batch processing to set tensor dtype for model compatibility

    davanstrien HF Staff
    189463a
  10. Refactor image processing in batch to handle grayscale images and unify prompts for model input

    davanstrien HF Staff
    7ecd895
  11. Refactor object detection script to use single class detection and update argument naming

    davanstrien HF Staff
    db8245e
  12. Enhance input processing by moving tensors to the model's device and converting to the appropriate dtype

    davanstrien HF Staff
    b5861ea
  13. Refactor

    davanstrien HF Staff
    85c3e70
  14. Comment out torchvision and accelerate dependencies in detect-objects.py

    davanstrien HF Staff
    1ab0327
  15. draft]

    davanstrien HF Staff
    213c8b6