You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, it should be preprocess_mask(). However, the code still works fine by coincidence because it reads a red mask from the file, and the positive values (255) of the mask are still normalized to positive values. 😂😂
https://github.com/ZrrSkywalker/Personalize-SAM/blob/a7e87245156e0b8efcba10a15a745e699c679d9d/per_segment_anything/predictor.py#L105C38-L105C38
The preprocess_mask() function in the sam.py should be used instead of the preprocess() function, right?
The text was updated successfully, but these errors were encountered: