MCPcopy Create free account

hub / github.com/BICLab/SpikeYOLO / functions

Functions3,942 in github.com/BICLab/SpikeYOLO

↓ 9 callersMethod_check_is_pytorch_model
Raises TypeError is model is not a PyTorch model.
ultralytics/engine/model.py:161
↓ 9 callersMethod_check_is_pytorch_model
Raises TypeError is model is not a PyTorch model.
SpikeYOLO_for_Gen1/ultralytics/engine/model.py:161
↓ 9 callersFunction_multi_step_sew_resnet
(arch, block, layers, pretrained, progress, T, cnf, multi_step_neuron, **kwargs)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/sew_resnet.py:434
↓ 9 callersFunction_multi_step_spiking_resnet
(arch, block, layers, pretrained, progress, T, multi_step_neuron, **kwargs)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_resnet.py:410
↓ 9 callersFunction_sew_resnet
(arch, block, layers, pretrained, progress, cnf, single_step_neuron, **kwargs)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/sew_resnet.py:425
↓ 9 callersFunction_spiking_resnet
(arch, block, layers, pretrained, progress, single_step_neuron, **kwargs)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_resnet.py:401
↓ 9 callersMethodconvert_bbox
Convert bounding box format.
ultralytics/utils/instance.py:230
↓ 9 callersMethodconvert_bbox
Convert bounding box format.
SpikeYOLO_for_Gen1/ultralytics/utils/instance.py:230
↓ 9 callersFunctionde_parallel
De-parallelize a model: returns single-GPU model if model is of type DP or DDP.
ultralytics/utils/torch_utils.py:359
↓ 9 callersFunctionde_parallel
De-parallelize a model: returns single-GPU model if model is of type DP or DDP.
SpikeYOLO_for_Gen1/ultralytics/utils/torch_utils.py:359
↓ 9 callersMethodextra_repr
(self)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/neuron.py:641
↓ 9 callersMethodset_device
(self, gpus, chunk_sizes, device)
SpikeYOLO_for_Gen1/DESC/RENet/src/trainer/MOD_Trainer.py:118
↓ 9 callersMethodstates_num
* :ref:`API in English <SpikingRNNBase.states_num-en>` .. _SpikingRNNBase.states_num-cn: :return: 状态变量的数量。例如对于 :class:`~spi
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/rnn.py:333
↓ 9 callersMethodtext
Adds text to an image using PIL or cv2.
SpikeYOLO_for_Gen1/ultralytics/utils/plotting.py:229
↓ 8 callersMethod__init__
(self, levels, channels, num_classes=1000, block=BasicBlock, residual_root=False, linear_root
SpikeYOLO_for_Gen1/DESC/RENet/src/network/DLA.py:137
↓ 8 callersFunction_multi_step_spiking_vgg
(arch, cfg, batch_norm, pretrained, progress, norm_layer: callable = None, T: int = None, multi_step_neuron: c
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_vgg.py:163
↓ 8 callersFunction_spiking_vgg
(arch, cfg, batch_norm, pretrained, progress, norm_layer: callable = None, single_step_neuron: callable = None
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_vgg.py:149
↓ 8 callersMethoddrop
(self, batch_size: int)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/layer.py:735
↓ 8 callersFunctionget_cfg
Load and merge configuration data from a file or dictionary. Args: cfg (str | Path | Dict | SimpleNamespace): Configuration data.
ultralytics/cfg/__init__.py:95
↓ 8 callersFunctionget_cfg
Load and merge configuration data from a file or dictionary. Args: cfg (str | Path | Dict | SimpleNamespace): Configuration data.
SpikeYOLO_for_Gen1/ultralytics/cfg/__init__.py:95
↓ 8 callersMethodinfo
Logs model info. Args: detailed (bool): Show detailed information about model. verbose (bool): Controls verb
ultralytics/models/nas/model.py:70
↓ 8 callersMethodinfo
Logs model info. Args: detailed (bool): Show detailed information about model. verbose (bool): Controls verb
SpikeYOLO_for_Gen1/ultralytics/models/nas/model.py:70
↓ 8 callersFunctioniou2d
Compute the IoU between a set of boxes b1 and 1 box b2
SpikeYOLO_for_Gen1/DESC/RENet/src/ACT_utils/ACT_utils.py:58
↓ 8 callersFunctionis_colab
Check if the current script is running inside a Google Colab notebook. Returns: (bool): True if running inside a Colab notebook, Fal
ultralytics/utils/__init__.py:407
↓ 8 callersFunctionis_colab
Check if the current script is running inside a Google Colab notebook. Returns: (bool): True if running inside a Colab notebook, Fal
SpikeYOLO_for_Gen1/ultralytics/utils/__init__.py:407
↓ 8 callersMethodmul
Args: scale (tuple | list | int): the scale for four coords.
ultralytics/utils/instance.py:94
↓ 8 callersMethodpre_process
(self, images, is_flow=False, ninput=1)
SpikeYOLO_for_Gen1/DESC/RENet/src/detector/stream_mod_det.py:64
↓ 8 callersMethodpre_process_single_frame
(self, images, is_flow=False, ninput=1, data_last=None, data_last_flip=None)
SpikeYOLO_for_Gen1/DESC/RENet/src/detector/stream_mod_det.py:95
↓ 8 callersMethodprocess_batch
Update confusion matrix for object detection task. Args: detections (Array[N, 6]): Detected bounding boxes and their ass
ultralytics/utils/metrics.py:217
↓ 8 callersMethodprocess_batch
Update confusion matrix for object detection task. Args: detections (Array[N, 6]): Detected bounding boxes and their ass
SpikeYOLO_for_Gen1/ultralytics/utils/metrics.py:217
↓ 8 callersFunctionsafe_download
Downloads files from a URL, with options for retrying, unzipping, and deleting the downloaded file. Args: url (str): The URL of the
ultralytics/utils/downloads.py:240
↓ 8 callersFunctionsafe_download
Downloads files from a URL, with options for retrying, unzipping, and deleting the downloaded file. Args: url (str): The URL of the
SpikeYOLO_for_Gen1/ultralytics/utils/downloads.py:240
↓ 8 callersFunctionselect_device
Selects the appropriate PyTorch device based on the provided arguments. The function takes a string specifying the device or a torch.device
ultralytics/utils/torch_utils.py:65
↓ 8 callersFunctionselect_device
Selects the appropriate PyTorch device based on the provided arguments. The function takes a string specifying the device or a torch.device
SpikeYOLO_for_Gen1/ultralytics/utils/torch_utils.py:65
↓ 8 callersFunctionyaml_save
Save YAML data to a file. Args: file (str, optional): File name. Default is 'data.yaml'. data (dict): Data to save in YAML f
ultralytics/utils/__init__.py:312
↓ 8 callersFunctionyaml_save
Save YAML data to a file. Args: file (str, optional): File name. Default is 'data.yaml'. data (dict): Data to save in YAML f
SpikeYOLO_for_Gen1/ultralytics/utils/__init__.py:312
↓ 7 callersMethod__init__
(self, input_size, hidden_size, num_layers, bias=True, dropout_p=0, invariant_dropout_mask=Fa
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/rnn.py:883
↓ 7 callersMethodadd
Args: offset (tuple | list | int): the offset for four coords.
ultralytics/utils/instance.py:108
↓ 7 callersMethodadd
Args: offset (tuple | list | int): the offset for four coords.
SpikeYOLO_for_Gen1/ultralytics/utils/instance.py:108
↓ 7 callersFunctioncheck_backend
(backend: str)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/neuron.py:28
↓ 7 callersFunctionclean_url
Strip auth from URL, i.e. https://url.com/file.txt?auth -> https://url.com/file.txt.
ultralytics/utils/__init__.py:917
↓ 7 callersFunctionclean_url
Strip auth from URL, i.e. https://url.com/file.txt?auth -> https://url.com/file.txt.
SpikeYOLO_for_Gen1/ultralytics/utils/__init__.py:916
↓ 7 callersMethodcreate_fptt_kernel
(hard_reset: bool, dtype: str)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/neuron_kernel.py:19
↓ 7 callersMethoddevice
Returns device if PyTorch model.
ultralytics/engine/model.py:382
↓ 7 callersMethodforward
(self, x: torch.Tensor)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/neuron.py:303
↓ 7 callersMethodgather
(self, outputs, output_device)
SpikeYOLO_for_Gen1/DESC/RENet/src/MOD_utils/data_parallel.py:84
↓ 7 callersMethodget_float
(self, tk, spike_shape: torch.Size)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/tensor_cache.py:193
↓ 7 callersFunctionget_save_dir
Return save_dir as created from train/val/predict arguments.
ultralytics/cfg/__init__.py:148
↓ 7 callersFunctionget_save_dir
Return save_dir as created from train/val/predict arguments.
SpikeYOLO_for_Gen1/ultralytics/cfg/__init__.py:148
↓ 7 callersMethodload_state_dict
(self, state_dict)
ultralytics/nn/modules/spikformer_util/misc.py:276
↓ 7 callersMethodmean_results
Mean of results, return mp, mr, map50, map.
ultralytics/utils/metrics.py:620
↓ 7 callersMethodmean_results
Mean of results, return mp, mr, map50, map.
SpikeYOLO_for_Gen1/ultralytics/utils/metrics.py:624
↓ 7 callersMethodreset_parameters
* :ref:`API in English <SpikingRNNCellBase.reset_parameters-en>` .. _SpikingRNNCellBase.reset_parameters-cn: 初始化所有可学习参数。
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/rnn.py:108
↓ 7 callersMethodsave
Saves the current settings to the YAML file.
SpikeYOLO_for_Gen1/ultralytics/utils/__init__.py:892
↓ 7 callersMethodscale
This might be similar with denormalize func but without normalized sign.
SpikeYOLO_for_Gen1/ultralytics/utils/instance.py:239
↓ 7 callersMethodscatter
(self, inputs, kwargs, device_ids, chunk_sizes)
SpikeYOLO_for_Gen1/DESC/RENet/src/MOD_utils/data_parallel.py:78
↓ 7 callersFunctionval
(net, device, data_loader, T=None)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/ann2snn/examples/cnn_mnist.py:11
↓ 6 callersFunctionautopad
(k, p=None, d=1)
ultralytics/nn/modules/yolo_spikformer_bin.py:147
↓ 6 callersMethodbase_cell
* :ref:`API in English <SpikingRNNBase.base_cell-en>` .. _SpikingRNNBase.base_cell-cn: :return: 构成该RNN的基本RNN Cell。例如对于 :cla
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/rnn.py:312
↓ 6 callersMethodblock_2d
(self, in_channels: int, out_channels: int)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/examples/classify_dvsg.py:134
↓ 6 callersFunctioncheck_yaml
Search/download YAML file (if necessary) and return path, checking suffix.
ultralytics/utils/checks.py:453
↓ 6 callersFunctioncheck_yaml
Search/download YAML file (if necessary) and return path, checking suffix.
SpikeYOLO_for_Gen1/ultralytics/utils/checks.py:453
↓ 6 callersMethodclass_result
Class-aware result, return p[i], r[i], ap50[i], ap[i].
ultralytics/utils/metrics.py:624
↓ 6 callersMethodclass_result
Class-aware result, return p[i], r[i], ap50[i], ap[i].
SpikeYOLO_for_Gen1/ultralytics/utils/metrics.py:628
↓ 6 callersMethodcreate_bptt_kernel
(sg_cuda_code_fun, hard_reset: bool, detach_reset: bool, dtype: str)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/neuron_kernel.py:122
↓ 6 callersMethodcuda_code_end_comments
(self)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/surrogate.py:143
↓ 6 callersMethodcuda_code_start_comments
(self)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/surrogate.py:140
↓ 6 callersMethoddenormalize
Denormalizes boxes, segments, and keypoints from normalized coordinates.
SpikeYOLO_for_Gen1/ultralytics/utils/instance.py:250
↓ 6 callersFunctionincrement_path
Increments a file or directory path, i.e. runs/exp --> runs/exp{sep}2, runs/exp{sep}3, ... etc. If the path exists and exist_ok is not set t
ultralytics/utils/files.py:85
↓ 6 callersFunctionincrement_path
Increments a file or directory path, i.e. runs/exp --> runs/exp{sep}2, runs/exp{sep}3, ... etc. If the path exists and exist_ok is not set t
SpikeYOLO_for_Gen1/ultralytics/utils/files.py:85
↓ 6 callersFunctionis_git_dir
Determines whether the current file is part of a git repository. If the current file is not part of a git repository, returns None. Retu
ultralytics/utils/__init__.py:531
↓ 6 callersFunctionis_git_dir
Determines whether the current file is part of a git repository. If the current file is not part of a git repository, returns None. Retu
SpikeYOLO_for_Gen1/ultralytics/utils/__init__.py:531
↓ 6 callersFunctionis_pip_package
Determines if the file at the given filepath is part of a pip package. Args: filepath (str): The filepath to check. Returns:
ultralytics/utils/__init__.py:479
↓ 6 callersFunctionis_pip_package
Determines if the file at the given filepath is part of a pip package. Args: filepath (str): The filepath to check. Returns:
SpikeYOLO_for_Gen1/ultralytics/utils/__init__.py:479
↓ 6 callersFunctionmake_anchors
Generate anchors from features.
ultralytics/utils/tal.py:249
↓ 6 callersFunctionmodel_info_for_loggers
Return model info dict with useful model information. Example: YOLOv8n info for loggers ```python results = {'model/
ultralytics/utils/torch_utils.py:245
↓ 6 callersFunctionmodel_info_for_loggers
Return model info dict with useful model information. Example: YOLOv8n info for loggers ```python results = {'model/
SpikeYOLO_for_Gen1/ultralytics/utils/torch_utils.py:245
↓ 6 callersMethodneuronal_charge
(self, x: torch.Tensor)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/neuron.py:300
↓ 6 callersFunctionsmart_request
Makes an HTTP request using the 'requests' library, with exponential backoff retries up to a specified timeout. Args: method (str):
ultralytics/hub/utils.py:92
↓ 6 callersFunctionsmart_request
Makes an HTTP request using the 'requests' library, with exponential backoff retries up to a specified timeout. Args: method (str):
SpikeYOLO_for_Gen1/ultralytics/hub/utils.py:92
↓ 6 callersMethodstore_bool
(self, spike: torch.FloatTensor or torch.HalfTensor)
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/tensor_cache.py:175
↓ 5 callersFunctionDataParallel
(module, device_ids=None, output_device=None, dim=0, chunk_sizes=None)
SpikeYOLO_for_Gen1/DESC/RENet/src/MOD_utils/data_parallel.py:120
↓ 5 callersMethod__init__
Initialize the BboxLoss module with regularization maximum and DFL settings.
ultralytics/utils/loss.py:64
↓ 5 callersMethod__init__
Initialize an ensemble of models.
ultralytics/nn/tasks.py:499
↓ 5 callersMethod__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads in each ViT block.
ultralytics/models/sam/modules/encoders.py:338
↓ 5 callersMethod__init__
Initialize the BboxLoss module with regularization maximum and DFL settings.
SpikeYOLO_for_Gen1/ultralytics/utils/loss.py:64
↓ 5 callersMethod__init__
Initialize an ensemble of models.
SpikeYOLO_for_Gen1/ultralytics/nn/tasks.py:499
↓ 5 callersMethod__init__
Args: dim (int): Number of input channels. num_heads (int): Number of attention heads in each ViT block.
SpikeYOLO_for_Gen1/ultralytics/models/sam/modules/encoders.py:338
↓ 5 callersMethod__init__
* :ref:`API in English <LatencyEncoder.__init__-en>` .. _LatencyEncoder.__init__-cn: :param T: 最大(最晚)脉冲发放时刻 :type T
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/encoding.py:183
↓ 5 callersMethod__init__
(self, block, layers, num_classes=1000, zero_init_residual=False, groups=1, width_per_group=6
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/sew_resnet.py:207
↓ 5 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm
SpikeYOLO_for_Gen1/spikingjelly-0.0.0.0.12/spikingjelly/clock_driven/model/spiking_resnet.py:46
↓ 5 callersMethod_apply
Applies a function to all non-empty attributes and returns a new Results object with modified attributes. This function is internally
ultralytics/engine/results.py:127
↓ 5 callersMethod_apply
Applies a function to all non-empty attributes and returns a new Results object with modified attributes. This function is internally
SpikeYOLO_for_Gen1/ultralytics/engine/results.py:127
↓ 5 callersFunction_log_plots
Logs plots from the input dictionary if they haven't been logged already at the specified step.
ultralytics/utils/callbacks/wb.py:99
↓ 5 callersFunction_log_plots
Logs plot images for training progress if they have not been previously processed.
ultralytics/utils/callbacks/dvc.py:41
↓ 5 callersFunction_log_plots
Logs plots from the input dictionary if they haven't been logged already at the specified step.
SpikeYOLO_for_Gen1/ultralytics/utils/callbacks/wb.py:99
↓ 5 callersFunction_log_plots
Logs plot images for training progress if they have not been previously processed.
SpikeYOLO_for_Gen1/ultralytics/utils/callbacks/dvc.py:41
↓ 5 callersFunctionap_per_class
Computes the average precision per class for object detection evaluation. Args: tp (np.ndarray): Binary array indicating whether the
ultralytics/utils/metrics.py:416
↓ 5 callersFunctionap_per_class
Computes the average precision per class for object detection evaluation. Args: tp (np.ndarray): Binary array indicating whether the
SpikeYOLO_for_Gen1/ultralytics/utils/metrics.py:416
↓ 5 callersFunctionattempt_load_one_weight
Loads a single model weights.
ultralytics/nn/tasks.py:636
← previousnext →101–200 of 3,942, ranked by callers