Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MrZihan/Dynam3D
/ functions
Functions
4,346 in github.com/MrZihan/Dynam3D
⨍
Functions
4,346
◇
Types & classes
692
↓ 4 callers
Method
get_scenes_to_load
r"""Return a sorted list of scenes
Dynam3D_VLN/habitat_extensions/task.py:71
↓ 4 callers
Function
guess_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 callers
Function
guess_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 callers
Function
img2label_paths
Define label paths as a function of image paths.
Dynam3D_VLN/ultralytics/yolo/data/dataloaders/v5loader.py:444
↓ 4 callers
Function
img2label_paths
Define label paths as a function of image paths.
Dynam3D_Pretrain/ultralytics/yolo/data/dataloaders/v5loader.py:444
↓ 4 callers
Function
is_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 callers
Function
is_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 callers
Function
is_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 callers
Function
is_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 callers
Method
load_checkpoint
(self, checkpoint_path, *args, **kwargs)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/common/base_il_trainer.py:165
↓ 4 callers
Method
load_checkpoint
(self, checkpoint_path, *args, **kwargs)
Dynam3D_VLN/vlnce_baselines/common/base_il_trainer.py:165
↓ 4 callers
Method
load_checkpoint
(self, checkpoint_path, *args, **kwargs)
Dynam3D_Pretrain/src_3dff/common/base_il_trainer.py:164
↓ 4 callers
Function
make_anchors
Generate anchors from features.
Dynam3D_VLN/ultralytics/yolo/utils/tal.py:246
↓ 4 callers
Function
make_anchors
Generate anchors from features.
Dynam3D_Pretrain/ultralytics/yolo/utils/tal.py:246
↓ 4 callers
Function
plot_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 callers
Function
plot_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 callers
Method
predict
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 callers
Method
predict
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 callers
Method
run_callbacks
Runs all callbacks associated with a specified event.
Dynam3D_VLN/ultralytics/yolo/engine/validator.py:203
↓ 4 callers
Method
run_callbacks
Runs all callbacks associated with a specified event.
Dynam3D_Pretrain/ultralytics/yolo/engine/validator.py:203
↓ 4 callers
Method
setup_model
Set up YOLO model with specified thresholds and device.
Dynam3D_VLN/ultralytics/vit/sam/predict.py:23
↓ 4 callers
Method
sim_matrix_cross_entropy
(self, sim_matrix)
Dynam3D_Pretrain/src_3dff/ss_trainer_3DFF.py:626
↓ 4 callers
Function
static_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 callers
Function
static_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 callers
Method
text
Adds text to an image using PIL or cv2.
Dynam3D_VLN/ultralytics/yolo/utils/plotting.py:195
↓ 4 callers
Method
text
Adds text to an image using PIL or cv2.
Dynam3D_Pretrain/ultralytics/yolo/utils/plotting.py:195
↓ 4 callers
Method
turn
angle: 0 ~ 360 degree
Dynam3D_Pretrain/src_3dff/common/environments.py:389
↓ 4 callers
Method
update
Read stream `i` frames in daemon thread.
Dynam3D_VLN/ultralytics/yolo/data/dataloaders/v5loader.py:401
↓ 4 callers
Method
update
Update a matched track :type new_track: STrack :type frame_id: int :return:
Dynam3D_VLN/ultralytics/tracker/trackers/byte_tracker.py:93
↓ 4 callers
Method
update
Read stream `i` frames in daemon thread.
Dynam3D_Pretrain/ultralytics/yolo/data/dataloaders/v5loader.py:401
↓ 4 callers
Method
update
Update a matched track :type new_track: STrack :type frame_id: int :return:
Dynam3D_Pretrain/ultralytics/tracker/trackers/byte_tracker.py:93
↓ 4 callers
Function
url2file
Convert URL to filename, i.e. https://url.com/file.txt?auth -> file.txt.
Dynam3D_VLN/ultralytics/yolo/utils/__init__.py:757
↓ 4 callers
Function
url2file
Convert URL to filename, i.e. https://url.com/file.txt?auth -> file.txt.
Dynam3D_Pretrain/ultralytics/yolo/utils/__init__.py:757
↓ 4 callers
Method
val
Run validation given dataset.
Dynam3D_VLN/ultralytics/yolo/nas/model.py:86
↓ 4 callers
Method
val
Run validation given dataset.
Dynam3D_Pretrain/ultralytics/yolo/nas/model.py:86
↓ 4 callers
Function
xywhn2xyxy
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 callers
Function
xywhn2xyxy
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 callers
Method
__init__
Initialize the Boxes class.
Dynam3D_VLN/ultralytics/yolo/engine/results.py:386
↓ 3 callers
Method
__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 callers
Method
__init__
Initialize the Boxes class.
Dynam3D_Pretrain/ultralytics/yolo/engine/results.py:386
↓ 3 callers
Method
__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 callers
Function
_build_sam
Builds the selected SAM model architecture.
Dynam3D_VLN/ultralytics/vit/sam/build.py:53
↓ 3 callers
Function
_build_sam
Builds the selected SAM model architecture.
Dynam3D_Pretrain/ultralytics/vit/sam/build.py:53
↓ 3 callers
Function
_fetch_trainer_metadata
Returns metadata for YOLO training including epoch and asset saving status.
Dynam3D_VLN/ultralytics/yolo/utils/callbacks/comet.py:84
↓ 3 callers
Function
_fetch_trainer_metadata
Returns metadata for YOLO training including epoch and asset saving status.
Dynam3D_Pretrain/ultralytics/yolo/utils/callbacks/comet.py:84
↓ 3 callers
Method
_fuse_bn_tensor
(self, branch)
Dynam3D_VLN/ultralytics/nn/modules/conv.py:192
↓ 3 callers
Method
_fuse_bn_tensor
(self, branch)
Dynam3D_Pretrain/ultralytics/nn/modules/conv.py:192
↓ 3 callers
Function
_get_clones
(module, N)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/common/transformer.py:452
↓ 3 callers
Function
_get_clones
(module, N)
Dynam3D_VLN/vlnce_baselines/common/transformer.py:452
↓ 3 callers
Function
_get_clones
(module, N)
Dynam3D_Pretrain/src_3dff/common/transformer.py:452
↓ 3 callers
Method
_get_return_value
(self, action)
Dynam3D_VLN/habitat_extensions/shortest_path_follower.py:59
↓ 3 callers
Method
_get_return_value
(self, action)
Dynam3D_Pretrain/habitat_extensions/shortest_path_follower.py:59
↓ 3 callers
Method
_initialize_policy
( self, config: Config, load_from_ckpt: bool, observation_space: Space,
Dynam3D_Pretrain/src_3dff/ss_trainer_3DFF.py:331
↓ 3 callers
Function
_log_scalars
Log scalars to the NeptuneAI experiment logger.
Dynam3D_VLN/ultralytics/yolo/utils/callbacks/neptune.py:21
↓ 3 callers
Function
_log_scalars
Log scalars to the NeptuneAI experiment logger.
Dynam3D_Pretrain/ultralytics/yolo/utils/callbacks/neptune.py:21
↓ 3 callers
Method
_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 callers
Method
_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 callers
Method
_separate_heads
Separate the input tensor into the specified number of attention heads.
Dynam3D_VLN/ultralytics/vit/sam/modules/transformer.py:199
↓ 3 callers
Method
_separate_heads
Separate the input tensor into the specified number of attention heads.
Dynam3D_Pretrain/ultralytics/vit/sam/modules/transformer.py:199
↓ 3 callers
Function
append_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 callers
Method
apply_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 callers
Method
apply_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 callers
Function
attempt_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 callers
Function
attempt_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 callers
Method
attention
(self, x: torch.Tensor)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/models/encoders/clip/model.py:181
↓ 3 callers
Method
attention
(self, x: torch.Tensor)
Dynam3D_VLN/vlnce_baselines/models/encoders/clip/model.py:181
↓ 3 callers
Method
attention
(self, x: torch.Tensor)
Dynam3D_Pretrain/src_3dff/models/encoders/clip/model.py:181
↓ 3 callers
Method
authenticate
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 callers
Method
authenticate
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 callers
Method
bbox_decode
Decode predicted object bounding box coordinates from anchor points and distribution.
Dynam3D_VLN/ultralytics/yolo/utils/loss.py:146
↓ 3 callers
Method
bbox_decode
Decode predicted object bounding box coordinates from anchor points and distribution.
Dynam3D_Pretrain/ultralytics/yolo/utils/loss.py:146
↓ 3 callers
Function
bbox_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 callers
Function
bbox_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 callers
Method
box_label
Add one xyxy box to image with label.
Dynam3D_VLN/ultralytics/yolo/utils/plotting.py:78
↓ 3 callers
Method
box_label
Add one xyxy box to image with label.
Dynam3D_Pretrain/ultralytics/yolo/utils/plotting.py:78
↓ 3 callers
Function
calc_position_distance
(a, b)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/models/graph_utils.py:13
↓ 3 callers
Function
calc_position_distance
(a, b)
Dynam3D_VLN/vlnce_baselines/models/graph_utils.py:13
↓ 3 callers
Function
check_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 callers
Function
check_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 callers
Function
check_det_dataset
Download, check and/or unzip dataset if not found locally.
Dynam3D_VLN/ultralytics/yolo/data/utils.py:193
↓ 3 callers
Function
check_det_dataset
Download, check and/or unzip dataset if not found locally.
Dynam3D_Pretrain/ultralytics/yolo/data/utils.py:193
↓ 3 callers
Function
check_suffix
Check file(s) for acceptable suffix.
Dynam3D_VLN/ultralytics/yolo/utils/checks.py:253
↓ 3 callers
Function
check_suffix
Check file(s) for acceptable suffix.
Dynam3D_Pretrain/ultralytics/yolo/utils/checks.py:253
↓ 3 callers
Function
clip_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 callers
Function
clip_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 callers
Method
cls
Return the class values of the boxes.
Dynam3D_Pretrain/ultralytics/yolo/engine/results.py:407
↓ 3 callers
Method
convert_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 callers
Method
convert_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 callers
Method
encode_image
(self, image)
Dynam3D_VLN/vlnce_baselines/vlnce_baselines/models/encoders/clip/model.py:338
↓ 3 callers
Method
encode_image
(self, image)
Dynam3D_VLN/vlnce_baselines/models/encoders/clip/model.py:338
↓ 3 callers
Method
encode_image
(self, image)
Dynam3D_Pretrain/src_3dff/models/encoders/clip/model.py:338
↓ 3 callers
Method
export_onnx
YOLOv8 ONNX export.
Dynam3D_VLN/ultralytics/yolo/engine/exporter.py:294
↓ 3 callers
Method
export_onnx
YOLOv8 ONNX export.
Dynam3D_Pretrain/ultralytics/yolo/engine/exporter.py:294
↓ 3 callers
Method
flipud
Flips the coordinates of bounding boxes, segments, and keypoints vertically.
Dynam3D_VLN/ultralytics/yolo/utils/instance.py:290
↓ 3 callers
Method
flipud
Flips the coordinates of bounding boxes, segments, and keypoints vertically.
Dynam3D_Pretrain/ultralytics/yolo/utils/instance.py:290
↓ 3 callers
Function
func
Make HTTP requests with retries and timeouts, with optional progress tracking.
Dynam3D_Pretrain/ultralytics/hub/utils.py:109
↓ 3 callers
Method
fuse
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 callers
Method
fuse
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 callers
Method
generate
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 callers
Function
get_camera_orientations12
()
Dynam3D_VLN/vlnce_baselines/utils.py:166
← previous
next →
301–400 of 4,346, ranked by callers