Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixes a small bug with detection_filter so that instance methods
should work...so hypothetically one could create a detection filter like: ```python class DetectionFilter(): def init(self, data): self.data = data def __call__(self, box, mask, logit, phrase, i): return phrase == self.data sam.predict(..., detection_filter=DetectionFilter(data='mystring')) ```
- Loading branch information