object-removal-api / server /segmentation.py

Commit History

  1. feat: pad SAM2's returned mask by a few pixels so it comfortably covers the object⁠

    nmdbbb
    df402fb
  2. fix: recompute SAM2 embedding inside decode() instead of caching a CUDA tensor across requests⁠

    nmdbbb
    8dc9082
  3. Defer SAM2/LaMa construction to first real GPU-decorated call

    nmdbbb
    37fcc27
  4. Build SAM2/LaMa on CPU, move to GPU lazily for ZeroGPU compatibility

    nmdbbb
    4bc6028
  5. Fix SAM2/LaMa model loading to match real library APIs

    nmdbbb
    523a925
  6. Deploy object removal API (SAM2 + LaMa on ZeroGPU)

    nmdbbb
    ea2b072