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
However, I am not sure whether there is easier way to do it in ggml
I mean sam2 not sam,https://github.com/facebookresearch/sam2/blob/main/sam2/modeling/backbones/image_encoder.py, in line 116 F.interpolate (fpn_interp_model: str = "bilinear")as follow
top_down_features = F.interpolate(
prev_features.to(dtype=torch.float32),
scale_factor=2.0,
mode=self.fpn_interp_model,
align_corners=(
None if self.fpn_interp_model == "nearest" else False
),
import torch.nn.functional as F
F.interpolate(...,mode = "bilinear")
The text was updated successfully, but these errors were encountered: