Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA-AI-IOT/nanosam
/ functions
Functions
234 in github.com/NVIDIA-AI-IOT/nanosam
⨍
Functions
234
◇
Types & classes
40
Method
fuse
(self)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:33
Method
generate
Generates masks for the given image. Arguments: image (np.ndarray): The image to generate masks for, in HWC uint8 format.
nanosam/mobile_sam/automatic_mask_generator.py:137
Function
get_face_points
(pose)
examples/segment_from_pose.py:28
Method
get_image_embedding
Returns the image embeddings for the currently set image, with shape 1xCxHxW, where C is the embedding dimension and (H,W) are
nanosam/mobile_sam/predictor.py:247
Function
get_left_hand_points
(pose)
examples/segment_from_pose.py:49
Function
get_left_leg_points
(pose)
examples/segment_from_pose.py:56
Function
get_right_hand_points
(pose)
examples/segment_from_pose.py:42
Function
get_right_leg_points
(pose)
examples/segment_from_pose.py:63
Function
get_torso_points
(pose)
examples/segment_from_pose.py:21
Method
init
(self, image, point=None, box=None)
nanosam/utils/tracker_online_learning.py:146
Function
init_track
(event,x,y,flags,param)
examples/demo_click_segment_track.py:45
Method
mask_postprocessing
(self, masks: torch.Tensor, orig_im_size: torch.Tensor)
nanosam/mobile_sam/utils/onnx.py:76
Function
mask_to_box
(mask)
nanosam/utils/tracker.py:38
Function
mask_to_centroid
(mask)
nanosam/utils/tracker_online_learning.py:48
Function
mask_to_centroid_soft
(mask)
nanosam/utils/tracker_online_learning.py:57
Function
mask_to_sample_points
(mask)
nanosam/utils/tracker_online_learning.py:73
Function
mask_to_sample_points
(mask)
nanosam/utils/tracker.py:57
Method
no_weight_decay_keywords
(self)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:597
Method
predict
(self, points, point_labels, mask_input=None)
nanosam/utils/predictor.py:157
Method
predict
(self, image)
nanosam/utils/trt_pose.py:97
Method
predict
Predict masks for the given input prompts, using the currently set image. Arguments: point_coords (np.ndarray or None): A
nanosam/mobile_sam/predictor.py:93
Function
register_tiny_vit_model
Register a TinyViT model It is a wrapper of `register_model` with loading the pretrained checkpoint.
nanosam/mobile_sam/modeling/tiny_vit_sam.py:634
Method
reset
(self)
nanosam/utils/tracker_online_learning.py:199
Function
resnet18
()
nanosam/models/timm_image_encoder.py:78
Function
resnet34
()
nanosam/models/timm_image_encoder.py:83
Function
resnet50
()
nanosam/models/timm_image_encoder.py:88
Method
set_image
(self, image)
nanosam/utils/predictor.py:152
Function
tiny_vit_11m_224
(pretrained=False, num_classes=1000, drop_path_rate=0.1)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:672
Function
tiny_vit_21m_224
(pretrained=False, num_classes=1000, drop_path_rate=0.2)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:684
Function
tiny_vit_21m_384
(pretrained=False, num_classes=1000, drop_path_rate=0.1)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:696
Function
tiny_vit_21m_512
(pretrained=False, num_classes=1000, drop_path_rate=0.1)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:709
Function
tiny_vit_5m_224
(pretrained=False, num_classes=1000, drop_path_rate=0.0)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:660
Method
train
(self, mode=True)
nanosam/mobile_sam/modeling/tiny_vit_sam.py:251
Method
update
(self, image)
nanosam/utils/tracker_online_learning.py:204
← previous
201–234 of 234, ranked by callers