patch for the case of `offload_state_to_cpu=True` in the new `SAM2VideoPredictor` (#490)
This PR adds a pathc for the case of `offload_state_to_cpu=True` where `pred_masks` might have been offload to CPU device (close https://github.com/facebookresearch/sam2/issues/489)
R
Ronghang Hu committed
722d1d15111c689908aeeb82d49a57780aac5153
Parent: 393ae33
Committed by GitHub <noreply@github.com>
on 12/12/2024, 11:12:13 PM