MCPcopy Create free account

hub / github.com/BICLab/SpikeYOLO / functions

Functions3,942 in github.com/BICLab/SpikeYOLO

↓ 5 callersFunctionattempt_load_one_weight
Loads a single model weights.
SpikeYOLO_for_Gen1/ultralytics/nn/tasks.py:636
↓ 5 callersMethodbackward
(ctx, grad_output)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/surrogate.py:1019
↓ 5 callersFunctionbbox_iou
Calculate Intersection over Union (IoU) of box1(1, 4) to box2(n, 4). Args: box1 (torch.Tensor): A tensor representing a single bound
ultralytics/utils/metrics.py:72
↓ 5 callersFunctionbbox_iou
Calculate Intersection over Union (IoU) of box1(1, 4) to box2(n, 4). Args: box1 (torch.Tensor): A tensor representing a single bound
SpikeYOLO_for_Gen1/ultralytics/utils/metrics.py:72
↓ 5 callersFunctioncheck_det_dataset
Download, verify, and/or unzip a dataset if not found locally. This function checks the availability of a specified dataset, and if not foun
ultralytics/data/utils.py:225
↓ 5 callersFunctioncheck_det_dataset
Download, verify, and/or unzip a dataset if not found locally. This function checks the availability of a specified dataset, and if not foun
SpikeYOLO_for_Gen1/ultralytics/data/utils.py:317
↓ 5 callersFunctioncheck_dict_alignment
This function checks for any mismatched keys between a custom configuration list and a base configuration list. If any mismatched keys are fo
ultralytics/cfg/__init__.py:181
↓ 5 callersFunctioncheck_dict_alignment
This function checks for any mismatched keys between a custom configuration list and a base configuration list. If any mismatched keys are fo
SpikeYOLO_for_Gen1/ultralytics/cfg/__init__.py:181
↓ 5 callersFunctioncheck_imgsz
Verify image size is a multiple of the given stride in each dimension. If the image size is not a multiple of the stride, update it to the ne
ultralytics/utils/checks.py:100
↓ 5 callersFunctioncheck_imgsz
Verify image size is a multiple of the given stride in each dimension. If the image size is not a multiple of the stride, update it to the ne
SpikeYOLO_for_Gen1/ultralytics/utils/checks.py:100
↓ 5 callersMethoddenormalize
Denormalizes boxes, segments, and keypoints from normalized coordinates.
ultralytics/utils/instance.py:250
↓ 5 callersFunctionexport_formats
YOLOv8 export formats.
ultralytics/engine/exporter.py:79
↓ 5 callersFunctionexport_formats
YOLOv8 export formats.
SpikeYOLO_for_Gen1/ultralytics/engine/exporter.py:79
↓ 5 callersMethodfitness
Model fitness as a weighted combination of metrics.
ultralytics/utils/metrics.py:636
↓ 5 callersMethodfitness
Model fitness as a weighted combination of metrics.
SpikeYOLO_for_Gen1/ultralytics/utils/metrics.py:640
↓ 5 callersFunctionget_dataset
(dataset)
SpikeYOLO_for_Gen1/DESC/RENet/src/datasets/init_dataset.py:15
↓ 5 callersMethodload
Load the weights into the model. Args: weights (dict | torch.nn.Module): The pre-trained weights to be loaded.
ultralytics/nn/tasks.py:193
↓ 5 callersMethodload
Load the weights into the model. Args: weights (dict | torch.nn.Module): The pre-trained weights to be loaded.
SpikeYOLO_for_Gen1/ultralytics/nn/tasks.py:193
↓ 5 callersFunctionmake_anchors
Generate anchors from features.
SpikeYOLO_for_Gen1/ultralytics/utils/tal.py:256
↓ 5 callersMethodprofile
Logs the benchmarking results of a model, checks metrics against floor and returns the results.
ultralytics/utils/benchmarks.py:209
↓ 5 callersMethodprofile
Logs the benchmarking results of a model, checks metrics against floor and returns the results.
SpikeYOLO_for_Gen1/ultralytics/utils/benchmarks.py:209
↓ 5 callersMethodrun_callbacks
Runs all registered callbacks for a specific event.
ultralytics/engine/predictor.py:355
↓ 5 callersMethodrun_callbacks
Runs all registered callbacks for a specific event.
SpikeYOLO_for_Gen1/ultralytics/engine/predictor.py:363
↓ 5 callersFunctiontime_sync
PyTorch-accurate time.
ultralytics/utils/torch_utils.py:151
↓ 5 callersFunctiontime_sync
PyTorch-accurate time.
SpikeYOLO_for_Gen1/ultralytics/utils/torch_utils.py:151
↓ 4 callersFunctionBlobFromImage
SpikeYOLO_for_Gen1/examples/YOLOv8-ONNXRuntime-CPP/inference.cpp:25
↓ 4 callersFunctionBlobFromImage
examples/YOLOv8-ONNXRuntime-CPP/inference.cpp:25
↓ 4 callersMethod__init__
Initializes MixUp object with dataset, pre_transform, and probability of applying MixUp.
ultralytics/data/augment.py:287
↓ 4 callersMethod__init__
Initialize YOLO network with default parameters and Convolutional Layers.
ultralytics/nn/modules/head.py:115
↓ 4 callersMethod__init__
Initializes MixUp object with dataset, pre_transform, and probability of applying MixUp.
SpikeYOLO_for_Gen1/ultralytics/data/augment.py:289
↓ 4 callersMethod__init__
Initialize YOLO network with default parameters and Convolutional Layers.
SpikeYOLO_for_Gen1/ultralytics/nn/modules/head.py:115
↓ 4 callersMethod__len__
(self)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/examples/DQN_state.py:34
↓ 4 callersFunction_build_sam
Builds the selected SAM model architecture.
ultralytics/models/sam/build.py:67
↓ 4 callersFunction_build_sam
Builds the selected SAM model architecture.
SpikeYOLO_for_Gen1/ultralytics/models/sam/build.py:67
↓ 4 callersFunction_gather_feature
(feature, index, index_all=None)
SpikeYOLO_for_Gen1/DESC/RENet/src/MOD_utils/utils.py:32
↓ 4 callersFunction_log_images
Logs images to the experiment with optional annotations.
ultralytics/utils/callbacks/comet.py:220
↓ 4 callersFunction_log_images
Logs images to the experiment with optional annotations.
SpikeYOLO_for_Gen1/ultralytics/utils/callbacks/comet.py:220
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
SpikeYOLO_for_Gen1/DESC/RENet/src/network/ResNet.py:147
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False, cnf: str=None, single_step_neuron: callable = None, **kw
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/sew_resnet.py:258
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False, cnf: str = None, multi_step_neuron: callable = None, **k
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/sew_resnet.py:360
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False, single_step_neuron: callable = None, **kwargs)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_resnet.py:235
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False, multi_step_neuron: callable = None, **kwargs)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_resnet.py:337
↓ 4 callersMethod_make_layer
(self, block, planes, num_blocks, stride)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/ann2snn/sample_models/cifar10_resnet.py:94
↓ 4 callersMethod_smart_load
Load model/trainer/validator/predictor.
ultralytics/engine/model.py:415
↓ 4 callersMethod_smart_load
Load model/trainer/validator/predictor.
SpikeYOLO_for_Gen1/ultralytics/engine/model.py:417
↓ 4 callersFunctionarea2d
Compute the areas for a set of 2D boxes
SpikeYOLO_for_Gen1/DESC/RENet/src/ACT_utils/ACT_utils.py:38
↓ 4 callersFunctionattempt_download_asset
Attempt file download from GitHub release assets if not found locally. release = 'latest', 'v6.2', etc.
ultralytics/utils/downloads.py:343
↓ 4 callersFunctionattempt_download_asset
Attempt file download from GitHub release assets if not found locally. release = 'latest', 'v6.2', etc.
SpikeYOLO_for_Gen1/ultralytics/utils/downloads.py:343
↓ 4 callersMethodbackward
(ctx, grad_output)
SpikeYOLO_for_Gen1/ultralytics/nn/modules/surrogate.py:115
↓ 4 callersFunctionbox_iou
Calculate intersection-over-union (IoU) of boxes. Both sets of boxes are expected to be in (x1, y1, x2, y2) format. Based on https://gith
ultralytics/utils/metrics.py:49
↓ 4 callersFunctionbox_iou
Calculate intersection-over-union (IoU) of boxes. Both sets of boxes are expected to be in (x1, y1, x2, y2) format. Based on https://gith
SpikeYOLO_for_Gen1/ultralytics/utils/metrics.py:49
↓ 4 callersFunctionbuild_dataloader
Return an InfiniteDataLoader or DataLoader for training or validation set.
ultralytics/data/build.py:99
↓ 4 callersFunctionbuild_dataloader
Return an InfiniteDataLoader or DataLoader for training or validation set.
SpikeYOLO_for_Gen1/ultralytics/data/build.py:99
↓ 4 callersFunctioncategoryFromOutput
(output)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/examples/spiking_lstm_text.py:92
↓ 4 callersFunctioncheck_file
Search/download file (if necessary) and return path.
ultralytics/utils/checks.py:429
↓ 4 callersFunctioncheck_file
Search/download file (if necessary) and return path.
SpikeYOLO_for_Gen1/ultralytics/utils/checks.py:429
↓ 4 callersMethodclose
(self)
SpikeYOLO_for_Gen1/DESC/RENet/src/trainer/logger.py:51
↓ 4 callersFunctionconv1x1
1x1 convolution
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/sew_resnet.py:49
↓ 4 callersFunctionconv1x1
1x1 convolution
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_resnet.py:38
↓ 4 callersMethodconv3x3
(in_channels: int, out_channels)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/examples/classify_dvsg.py:95
↓ 4 callersMethodconvert
Converts bounding box format from one type to another.
ultralytics/utils/instance.py:59
↓ 4 callersMethodconvert
Converts bounding box format from one type to another.
SpikeYOLO_for_Gen1/ultralytics/utils/instance.py:59
↓ 4 callersFunctioncreate_same_directory_structure
:param source_dir: Path of the directory that be copied from :type source_dir: str :param target_dir: Path of the directory that be copie
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/datasets/__init__.py:429
↓ 4 callersFunctioncrop_mask
It takes a mask and a bounding box, and returns a mask that is cropped to the bounding box. Args: masks (torch.Tensor): [n, h, w] te
ultralytics/utils/ops.py:599
↓ 4 callersFunctioncrop_mask
It takes a mask and a bounding box, and returns a mask that is cropped to the bounding box. Args: masks (torch.Tensor): [n, h, w] te
SpikeYOLO_for_Gen1/ultralytics/utils/ops.py:599
↓ 4 callersMethodcuda
Return a copy of the Results object with all tensors on GPU memory.
ultralytics/engine/results.py:155
↓ 4 callersFunctiondist2bbox
Transform distance(ltrb) to box(xywh or xyxy).
ultralytics/utils/tal.py:265
↓ 4 callersMethodexport
Export model. Args: **kwargs : Any other args accepted by the Exporter. To see all args check 'configuration' section in
ultralytics/engine/model.py:301
↓ 4 callersMethodexport
Export model. Args: **kwargs : Any other args accepted by the Exporter. To see all args check 'configuration' section in
SpikeYOLO_for_Gen1/ultralytics/engine/model.py:303
↓ 4 callersFunctionexport_fmts_hub
Returns a list of HUB-supported export formats.
ultralytics/hub/__init__.py:53
↓ 4 callersFunctionexport_fmts_hub
Returns a list of HUB-supported export formats.
SpikeYOLO_for_Gen1/ultralytics/hub/__init__.py:53
↓ 4 callersFunctionfile_size
Return file/dir size (MB).
ultralytics/utils/files.py:132
↓ 4 callersFunctionfile_size
Return file/dir size (MB).
SpikeYOLO_for_Gen1/ultralytics/utils/files.py:132
↓ 4 callersFunctionflip_tensor
(x)
SpikeYOLO_for_Gen1/DESC/RENet/src/MOD_utils/utils.py:56
↓ 4 callersMethodforward
Function generates the YOLO network's final layer.
ultralytics/nn/tasks.py:503
↓ 4 callersMethodforward
Function generates the YOLO network's final layer.
SpikeYOLO_for_Gen1/ultralytics/nn/tasks.py:503
↓ 4 callersFunctionget_hash
Returns a single hash value of a list of paths (files or dirs).
ultralytics/data/utils.py:38
↓ 4 callersFunctionget_hash
Returns a single hash value of a list of paths (files or dirs).
SpikeYOLO_for_Gen1/ultralytics/data/utils.py:38
↓ 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
ultralytics/nn/tasks.py:812
↓ 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
SpikeYOLO_for_Gen1/ultralytics/nn/tasks.py:812
↓ 4 callersFunctionheaviside
(x: torch.Tensor)
SpikeYOLO_for_Gen1/ultralytics/nn/modules/surrogate.py:7
↓ 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
ultralytics/utils/__init__.py:498
↓ 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
SpikeYOLO_for_Gen1/ultralytics/utils/__init__.py:498
↓ 4 callersFunctionlineToTensor
(line)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/examples/spiking_lstm_text.py:86
↓ 4 callersMethodnew
Return a new Results object with the same image, path, and names.
ultralytics/engine/results.py:163
↓ 4 callersMethodnew
Return a new Results object with the same image, path, and names.
SpikeYOLO_for_Gen1/ultralytics/engine/results.py:163
↓ 4 callersFunctionon_master
()
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/train_classify.py:20
↓ 4 callersFunctionplot_results
Plot training results from a results CSV file. The function supports various types of data including segmentation, pose estimation, and class
ultralytics/utils/plotting.py:515
↓ 4 callersFunctionplot_results
Plot training results from a results CSV file. The function supports various types of data including segmentation, pose estimation, and class
SpikeYOLO_for_Gen1/ultralytics/utils/plotting.py:595
↓ 4 callersFunctionpr_to_ap
Compute AP given precision-recall pr is a Nx2 array with first row being precision and second row being recall
SpikeYOLO_for_Gen1/DESC/RENet/src/ACT_utils/ACT_utils.py:233
↓ 4 callersMethodpredict
Perform prediction using the YOLO model. Args: source (str | int | PIL | np.ndarray): The source of the image to make pr
ultralytics/engine/model.py:207
↓ 4 callersMethodpredict
Perform prediction using the YOLO model. Args: source (str | int | PIL | np.ndarray): The source of the image to make pr
SpikeYOLO_for_Gen1/ultralytics/engine/model.py:207
↓ 4 callersFunctionrandomChoice
(l)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/examples/spiking_lstm_text.py:97
↓ 4 callersFunctionread_bits
(arr, mask=None, shift=None)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/datasets/cifar10_dvs.py:17
↓ 4 callersMethodreset
* :ref:`API in English <Monitor.reset-en>` .. _Monitor.reset-cn: 清空之前的记录数据 * :ref:`中文API <Monitor.reset-cn>`
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/monitor.py:134
↓ 4 callersMethodrun_callbacks
Runs all callbacks associated with a specified event.
ultralytics/engine/validator.py:252
↓ 4 callersMethodrun_callbacks
Runs all callbacks associated with a specified event.
SpikeYOLO_for_Gen1/ultralytics/engine/validator.py:252
↓ 4 callersMethodscale
This might be similar with denormalize func but without normalized sign.
ultralytics/utils/instance.py:239
↓ 4 callersFunctionseq_to_ann_forward
:param x_seq: shape=[T, batch_size, ...] :type x_seq: Tensor :param stateless_module: a stateless module, e.g., 'torch.nn.Conv2d' or a li
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/functional.py:555
↓ 4 callersFunctionsew_function
(x: torch.Tensor, y: torch.Tensor, cnf:str)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/sew_resnet.py:31
← previousnext →201–300 of 3,942, ranked by callers