MCPcopy Create free account

hub / github.com/MrZihan/Dynam3D / functions

Functions4,346 in github.com/MrZihan/Dynam3D

↓ 4 callersMethodget_scenes_to_load
r"""Return a sorted list of scenes
Dynam3D_VLN/habitat_extensions/task.py:71
↓ 4 callersFunctionguess_model_task
Guess the task of a PyTorch model from its architecture or configuration. Args: model (nn.Module | dict): PyTorch model or model con
Dynam3D_VLN/ultralytics/nn/tasks.py:715
↓ 4 callersFunctionguess_model_task
Guess the task of a PyTorch model from its architecture or configuration. Args: model (nn.Module | dict): PyTorch model or model con
Dynam3D_Pretrain/ultralytics/nn/tasks.py:715
↓ 4 callersFunctionimg2label_paths
Define label paths as a function of image paths.
Dynam3D_VLN/ultralytics/yolo/data/dataloaders/v5loader.py:444
↓ 4 callersFunctionimg2label_paths
Define label paths as a function of image paths.
Dynam3D_Pretrain/ultralytics/yolo/data/dataloaders/v5loader.py:444
↓ 4 callersFunctionis_dir_writeable
Check if a directory is writeable. Args: dir_path (str | Path): The path to the directory. Returns: (bool): True if the
Dynam3D_VLN/ultralytics/yolo/utils/__init__.py:420
↓ 4 callersFunctionis_dir_writeable
Check if a directory is writeable. Args: dir_path (str | Path): The path to the directory. Returns: (bool): True if the
Dynam3D_Pretrain/ultralytics/yolo/utils/__init__.py:420
↓ 4 callersFunctionis_kaggle
Check if the current script is running inside a Kaggle kernel. Returns: (bool): True if running inside a Kaggle kernel, False otherw
Dynam3D_VLN/ultralytics/yolo/utils/__init__.py:338
↓ 4 callersFunctionis_kaggle
Check if the current script is running inside a Kaggle kernel. Returns: (bool): True if running inside a Kaggle kernel, False otherw
Dynam3D_Pretrain/ultralytics/yolo/utils/__init__.py:338
↓ 4 callersMethodload_checkpoint
(self, checkpoint_path, *args, **kwargs)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/common/base_il_trainer.py:165
↓ 4 callersMethodload_checkpoint
(self, checkpoint_path, *args, **kwargs)
Dynam3D_VLN/vlnce_baselines/common/base_il_trainer.py:165
↓ 4 callersMethodload_checkpoint
(self, checkpoint_path, *args, **kwargs)
Dynam3D_Pretrain/src_3dff/common/base_il_trainer.py:164
↓ 4 callersFunctionmake_anchors
Generate anchors from features.
Dynam3D_VLN/ultralytics/yolo/utils/tal.py:246
↓ 4 callersFunctionmake_anchors
Generate anchors from features.
Dynam3D_Pretrain/ultralytics/yolo/utils/tal.py:246
↓ 4 callersFunctionplot_results
Plot training results.csv. Usage: from utils.plots import *; plot_results('path/to/results.csv').
Dynam3D_VLN/ultralytics/yolo/utils/plotting.py:431
↓ 4 callersFunctionplot_results
Plot training results.csv. Usage: from utils.plots import *; plot_results('path/to/results.csv').
Dynam3D_Pretrain/ultralytics/yolo/utils/plotting.py:431
↓ 4 callersMethodpredict
Perform prediction using the YOLO model. Args: source (str | int | PIL | np.ndarray): The source of the image to make pr
Dynam3D_VLN/ultralytics/yolo/engine/model.py:221
↓ 4 callersMethodpredict
Perform prediction using the YOLO model. Args: source (str | int | PIL | np.ndarray): The source of the image to make pr
Dynam3D_Pretrain/ultralytics/yolo/engine/model.py:221
↓ 4 callersMethodrun_callbacks
Runs all callbacks associated with a specified event.
Dynam3D_VLN/ultralytics/yolo/engine/validator.py:203
↓ 4 callersMethodrun_callbacks
Runs all callbacks associated with a specified event.
Dynam3D_Pretrain/ultralytics/yolo/engine/validator.py:203
↓ 4 callersMethodsetup_model
Set up YOLO model with specified thresholds and device.
Dynam3D_VLN/ultralytics/vit/sam/predict.py:23
↓ 4 callersMethodsim_matrix_cross_entropy
(self, sim_matrix)
Dynam3D_Pretrain/src_3dff/ss_trainer_3DFF.py:626
↓ 4 callersFunctionstatic_to_grid
Return gridworld index of realworld coordinates assuming top-left corner is the origin. The real world coordinates of lower left corner are (c
Dynam3D_VLN/habitat_extensions/maps.py:102
↓ 4 callersFunctionstatic_to_grid
Return gridworld index of realworld coordinates assuming top-left corner is the origin. The real world coordinates of lower left corner are (c
Dynam3D_Pretrain/habitat_extensions/maps.py:102
↓ 4 callersMethodtext
Adds text to an image using PIL or cv2.
Dynam3D_VLN/ultralytics/yolo/utils/plotting.py:195
↓ 4 callersMethodtext
Adds text to an image using PIL or cv2.
Dynam3D_Pretrain/ultralytics/yolo/utils/plotting.py:195
↓ 4 callersMethodturn
angle: 0 ~ 360 degree
Dynam3D_Pretrain/src_3dff/common/environments.py:389
↓ 4 callersMethodupdate
Read stream `i` frames in daemon thread.
Dynam3D_VLN/ultralytics/yolo/data/dataloaders/v5loader.py:401
↓ 4 callersMethodupdate
Update a matched track :type new_track: STrack :type frame_id: int :return:
Dynam3D_VLN/ultralytics/tracker/trackers/byte_tracker.py:93
↓ 4 callersMethodupdate
Read stream `i` frames in daemon thread.
Dynam3D_Pretrain/ultralytics/yolo/data/dataloaders/v5loader.py:401
↓ 4 callersMethodupdate
Update a matched track :type new_track: STrack :type frame_id: int :return:
Dynam3D_Pretrain/ultralytics/tracker/trackers/byte_tracker.py:93
↓ 4 callersFunctionurl2file
Convert URL to filename, i.e. https://url.com/file.txt?auth -> file.txt.
Dynam3D_VLN/ultralytics/yolo/utils/__init__.py:757
↓ 4 callersFunctionurl2file
Convert URL to filename, i.e. https://url.com/file.txt?auth -> file.txt.
Dynam3D_Pretrain/ultralytics/yolo/utils/__init__.py:757
↓ 4 callersMethodval
Run validation given dataset.
Dynam3D_VLN/ultralytics/yolo/nas/model.py:86
↓ 4 callersMethodval
Run validation given dataset.
Dynam3D_Pretrain/ultralytics/yolo/nas/model.py:86
↓ 4 callersFunctionxywhn2xyxy
Convert normalized bounding box coordinates to pixel coordinates. Args: x (np.ndarray | torch.Tensor): The bounding box coordinates.
Dynam3D_VLN/ultralytics/yolo/utils/ops.py:380
↓ 4 callersFunctionxywhn2xyxy
Convert normalized bounding box coordinates to pixel coordinates. Args: x (np.ndarray | torch.Tensor): The bounding box coordinates.
Dynam3D_Pretrain/ultralytics/yolo/utils/ops.py:380
↓ 3 callersMethod__init__
Initialize the Boxes class.
Dynam3D_VLN/ultralytics/yolo/engine/results.py:386
↓ 3 callersMethod__init__
Args: equ_h: (int) the height of the generated equirect equ_w: (int) the width of the generated equirect
Dynam3D_VLN/habitat_extensions/obs_transformers.py:197
↓ 3 callersMethod__init__
Initialize the Boxes class.
Dynam3D_Pretrain/ultralytics/yolo/engine/results.py:386
↓ 3 callersMethod__init__
Args: equ_h: (int) the height of the generated equirect equ_w: (int) the width of the generated equirect
Dynam3D_Pretrain/habitat_extensions/obs_transformers.py:199
↓ 3 callersFunction_build_sam
Builds the selected SAM model architecture.
Dynam3D_VLN/ultralytics/vit/sam/build.py:53
↓ 3 callersFunction_build_sam
Builds the selected SAM model architecture.
Dynam3D_Pretrain/ultralytics/vit/sam/build.py:53
↓ 3 callersFunction_fetch_trainer_metadata
Returns metadata for YOLO training including epoch and asset saving status.
Dynam3D_VLN/ultralytics/yolo/utils/callbacks/comet.py:84
↓ 3 callersFunction_fetch_trainer_metadata
Returns metadata for YOLO training including epoch and asset saving status.
Dynam3D_Pretrain/ultralytics/yolo/utils/callbacks/comet.py:84
↓ 3 callersMethod_fuse_bn_tensor
(self, branch)
Dynam3D_VLN/ultralytics/nn/modules/conv.py:192
↓ 3 callersMethod_fuse_bn_tensor
(self, branch)
Dynam3D_Pretrain/ultralytics/nn/modules/conv.py:192
↓ 3 callersFunction_get_clones
(module, N)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/common/transformer.py:452
↓ 3 callersFunction_get_clones
(module, N)
Dynam3D_VLN/vlnce_baselines/common/transformer.py:452
↓ 3 callersFunction_get_clones
(module, N)
Dynam3D_Pretrain/src_3dff/common/transformer.py:452
↓ 3 callersMethod_get_return_value
(self, action)
Dynam3D_VLN/habitat_extensions/shortest_path_follower.py:59
↓ 3 callersMethod_get_return_value
(self, action)
Dynam3D_Pretrain/habitat_extensions/shortest_path_follower.py:59
↓ 3 callersMethod_initialize_policy
( self, config: Config, load_from_ckpt: bool, observation_space: Space,
Dynam3D_Pretrain/src_3dff/ss_trainer_3DFF.py:331
↓ 3 callersFunction_log_scalars
Log scalars to the NeptuneAI experiment logger.
Dynam3D_VLN/ultralytics/yolo/utils/callbacks/neptune.py:21
↓ 3 callersFunction_log_scalars
Log scalars to the NeptuneAI experiment logger.
Dynam3D_Pretrain/ultralytics/yolo/utils/callbacks/neptune.py:21
↓ 3 callersMethod_scene_from_episode
r"""Helper method to get the scene name from an episode. Assumes the scene_id is formated /path/to/<scene_name>.<ext>
Dynam3D_VLN/habitat_extensions/task.py:64
↓ 3 callersMethod_scene_from_episode
r"""Helper method to get the scene name from an episode. Assumes the scene_id is formated /path/to/<scene_name>.<ext>
Dynam3D_Pretrain/habitat_extensions/task.py:65
↓ 3 callersMethod_separate_heads
Separate the input tensor into the specified number of attention heads.
Dynam3D_VLN/ultralytics/vit/sam/modules/transformer.py:199
↓ 3 callersMethod_separate_heads
Separate the input tensor into the specified number of attention heads.
Dynam3D_Pretrain/ultralytics/vit/sam/modules/transformer.py:199
↓ 3 callersFunctionappend_text_to_image
r"""Appends text underneath an image of size (height, width, channels). The returned image has white text on a black background. Uses textwrap to
Dynam3D_VLN/habitat_extensions/utils.py:609
↓ 3 callersMethodapply_coords
Expects a numpy array of length 2 in the final dimension. Requires the original image size in (H, W) format.
Dynam3D_VLN/ultralytics/vit/sam/autosize.py:35
↓ 3 callersMethodapply_coords
Expects a numpy array of length 2 in the final dimension. Requires the original image size in (H, W) format.
Dynam3D_Pretrain/ultralytics/vit/sam/autosize.py:35
↓ 3 callersFunctionattempt_download_asset
Attempt file download from GitHub release assets if not found locally. release = 'latest', 'v6.2', etc.
Dynam3D_VLN/ultralytics/yolo/utils/downloads.py:193
↓ 3 callersFunctionattempt_download_asset
Attempt file download from GitHub release assets if not found locally. release = 'latest', 'v6.2', etc.
Dynam3D_Pretrain/ultralytics/yolo/utils/downloads.py:193
↓ 3 callersMethodattention
(self, x: torch.Tensor)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/models/encoders/clip/model.py:181
↓ 3 callersMethodattention
(self, x: torch.Tensor)
Dynam3D_VLN/vlnce_baselines/models/encoders/clip/model.py:181
↓ 3 callersMethodattention
(self, x: torch.Tensor)
Dynam3D_Pretrain/src_3dff/models/encoders/clip/model.py:181
↓ 3 callersMethodauthenticate
Attempt to authenticate with the server using either id_token or API key. Returns: bool: True if authentication is succe
Dynam3D_VLN/ultralytics/hub/auth.py:68
↓ 3 callersMethodauthenticate
Attempt to authenticate with the server using either id_token or API key. Returns: bool: True if authentication is succe
Dynam3D_Pretrain/ultralytics/hub/auth.py:68
↓ 3 callersMethodbbox_decode
Decode predicted object bounding box coordinates from anchor points and distribution.
Dynam3D_VLN/ultralytics/yolo/utils/loss.py:146
↓ 3 callersMethodbbox_decode
Decode predicted object bounding box coordinates from anchor points and distribution.
Dynam3D_Pretrain/ultralytics/yolo/utils/loss.py:146
↓ 3 callersFunctionbbox_ioa
Calculate the intersection over box2 area given box1 and box2. Boxes are in x1y1x2y2 format. Args: box1 (np.array): A numpy array of
Dynam3D_VLN/ultralytics/yolo/utils/metrics.py:24
↓ 3 callersFunctionbbox_ioa
Calculate the intersection over box2 area given box1 and box2. Boxes are in x1y1x2y2 format. Args: box1 (np.array): A numpy array of
Dynam3D_Pretrain/ultralytics/yolo/utils/metrics.py:24
↓ 3 callersMethodbox_label
Add one xyxy box to image with label.
Dynam3D_VLN/ultralytics/yolo/utils/plotting.py:78
↓ 3 callersMethodbox_label
Add one xyxy box to image with label.
Dynam3D_Pretrain/ultralytics/yolo/utils/plotting.py:78
↓ 3 callersFunctioncalc_position_distance
(a, b)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/models/graph_utils.py:13
↓ 3 callersFunctioncalc_position_distance
(a, b)
Dynam3D_VLN/vlnce_baselines/models/graph_utils.py:13
↓ 3 callersFunctioncheck_class_names
Check class names. Map imagenet class codes to human-readable names if required. Convert lists to dicts.
Dynam3D_VLN/ultralytics/nn/autobackend.py:24
↓ 3 callersFunctioncheck_class_names
Check class names. Map imagenet class codes to human-readable names if required. Convert lists to dicts.
Dynam3D_Pretrain/ultralytics/nn/autobackend.py:24
↓ 3 callersFunctioncheck_det_dataset
Download, check and/or unzip dataset if not found locally.
Dynam3D_VLN/ultralytics/yolo/data/utils.py:193
↓ 3 callersFunctioncheck_det_dataset
Download, check and/or unzip dataset if not found locally.
Dynam3D_Pretrain/ultralytics/yolo/data/utils.py:193
↓ 3 callersFunctioncheck_suffix
Check file(s) for acceptable suffix.
Dynam3D_VLN/ultralytics/yolo/utils/checks.py:253
↓ 3 callersFunctioncheck_suffix
Check file(s) for acceptable suffix.
Dynam3D_Pretrain/ultralytics/yolo/utils/checks.py:253
↓ 3 callersFunctionclip_boxes
It takes a list of bounding boxes and a shape (height, width) and clips the bounding boxes to the shape Args: boxes (torch.Tensor)
Dynam3D_VLN/ultralytics/yolo/utils/ops.py:269
↓ 3 callersFunctionclip_boxes
It takes a list of bounding boxes and a shape (height, width) and clips the bounding boxes to the shape Args: boxes (torch.Tensor)
Dynam3D_Pretrain/ultralytics/yolo/utils/ops.py:269
↓ 3 callersMethodcls
Return the class values of the boxes.
Dynam3D_Pretrain/ultralytics/yolo/engine/results.py:407
↓ 3 callersMethodconvert_coords
Convert a bounding box's top-left-width-height format to its x-y-angle-height equivalent.
Dynam3D_VLN/ultralytics/tracker/trackers/byte_tracker.py:113
↓ 3 callersMethodconvert_coords
Convert a bounding box's top-left-width-height format to its x-y-angle-height equivalent.
Dynam3D_Pretrain/ultralytics/tracker/trackers/byte_tracker.py:113
↓ 3 callersMethodencode_image
(self, image)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/models/encoders/clip/model.py:338
↓ 3 callersMethodencode_image
(self, image)
Dynam3D_VLN/vlnce_baselines/models/encoders/clip/model.py:338
↓ 3 callersMethodencode_image
(self, image)
Dynam3D_Pretrain/src_3dff/models/encoders/clip/model.py:338
↓ 3 callersMethodexport_onnx
YOLOv8 ONNX export.
Dynam3D_VLN/ultralytics/yolo/engine/exporter.py:294
↓ 3 callersMethodexport_onnx
YOLOv8 ONNX export.
Dynam3D_Pretrain/ultralytics/yolo/engine/exporter.py:294
↓ 3 callersMethodflipud
Flips the coordinates of bounding boxes, segments, and keypoints vertically.
Dynam3D_VLN/ultralytics/yolo/utils/instance.py:290
↓ 3 callersMethodflipud
Flips the coordinates of bounding boxes, segments, and keypoints vertically.
Dynam3D_Pretrain/ultralytics/yolo/utils/instance.py:290
↓ 3 callersFunctionfunc
Make HTTP requests with retries and timeouts, with optional progress tracking.
Dynam3D_Pretrain/ultralytics/hub/utils.py:109
↓ 3 callersMethodfuse
Fuse the `Conv2d()` and `BatchNorm2d()` layers of the model into a single layer, in order to improve the computation efficiency.
Dynam3D_VLN/ultralytics/nn/tasks.py:120
↓ 3 callersMethodfuse
Fuse the `Conv2d()` and `BatchNorm2d()` layers of the model into a single layer, in order to improve the computation efficiency.
Dynam3D_Pretrain/ultralytics/nn/tasks.py:120
↓ 3 callersMethodgenerate
Generates masks for the given image. Arguments: image (np.ndarray): The image to generate masks for, in HWC uint8 format.
Dynam3D_VLN/ultralytics/vit/sam/modules/mask_generator.py:125
↓ 3 callersFunctionget_camera_orientations12
()
Dynam3D_VLN/vlnce_baselines/utils.py:166
← previousnext →301–400 of 4,346, ranked by callers