MCPcopy Create free account

hub / github.com/AhmedZgaren/Save / functions

Functions163 in github.com/AhmedZgaren/Save

Method__init__
(self, inplace: bool = False)
model/activations.py:116
Method__init__
(self, d_model)
model/transformer.py:63
Method__init__
(self, d_model: int, dropout: float = 0.1, max_len: int = 5000)
model/transformer.py:82
Method__init__
(self, d_model=768,h = 8, d_ff = 2048, num_layers=1, enc_in = 256, drop = 0.1, visualize = False)
model/trcount.py:14
Method__init__
(self, dim, kernel_size)
model/cotLayer.py:11
Method__init__
Initializes the YOLO model. Args: model (Union[str, Path], optional): Path or name of the model to load or create. D
model/backbone.py:69
Method__len__
(self)
utils/utils.py:132
Method_apply
`_apply()` is a function that applies a function to all the tensors in the model that are not parameters or registered buffers
utils/tasks.py:147
Method_load
Initializes a new model and infers the task type from the model head. Args: weights (str): model checkpoint to be lo
model/backbone.py:131
Method_weights_init
(m)
model/transformer.py:38
Functionattempt_load_weights
Loads an ensemble of models weights=[a,b,c] or a single model weights=[a] or weights=a.
utils/tasks.py:295
Methodbackward
(ctx, grad_output)
model/activations_me.py:40
Methodbackward
(ctx, grad_output)
model/activations_me.py:114
Methodbackward
(ctx, grad_output)
model/activations_me.py:151
Methodbackward
(ctx, grad_output)
model/activations_me.py:191
Methodbackward
(ctx, grad_output)
model/aggregation_zeropad.py:148
Functioncreate_act_layer
(name, inplace=False, **kwargs)
model/create_act.py:124
Methodforward
Forward pass of the model on a single scale. Wrapper for `_forward_once` method. Args: x (torch.Tensor): Th
utils/tasks.py:35
Methodforward
Concatenates and returns predicted bounding boxes and class probabilities.
utils/tasks.py:512
Methodforward
(self, x)
model/activations_jit.py:36
Methodforward
(self, x)
model/activations_jit.py:44
Methodforward
(self, x)
model/activations_jit.py:58
Methodforward
(self, x)
model/activations_jit.py:72
Methodforward
(self, x)
model/activations_jit.py:89
Methodforward
(ctx, x)
model/activations_me.py:35
Methodforward
(self, x)
model/activations_me.py:53
Methodforward
(ctx, x)
model/activations_me.py:74
Methodforward
(self, x)
model/activations_me.py:92
Methodforward
(ctx, x)
model/activations_me.py:109
Methodforward
(self, x)
model/activations_me.py:127
Methodforward
(ctx, x)
model/activations_me.py:146
Methodforward
(self, x)
model/activations_me.py:164
Methodforward
(ctx, x)
model/activations_me.py:186
Methodforward
(self, x)
model/activations_me.py:204
Methodforward
(ctx, input, weight, kernel_size, stride, padding, dilation)
model/aggregation_zeropad.py:114
Methodforward
(self, input: Tensor, weight: Tensor)
model/aggregation_zeropad.py:219
Methodforward
(self, x)
model/regressor.py:20
Methodforward
(self, x)
model/activations.py:25
Methodforward
(self, x)
model/activations.py:42
Methodforward
(self, x)
model/activations.py:56
Methodforward
(self, x)
model/activations.py:70
Methodforward
(self, x)
model/activations.py:84
Methodforward
(self, x)
model/activations.py:100
Methodforward
(self, x)
model/activations.py:120
Methodforward
(self, x)
model/transformer.py:46
Methodforward
(self, x)
model/transformer.py:72
Methodforward
Arguments: x: Tensor, shape ``[seq_len, batch_size, embedding_dim]``
model/transformer.py:93
Methodforward
(self, x)
model/cotLayer.py:53
Methodfuse
Fuse PyTorch Conv2d and BatchNorm2d layers.
model/backbone.py:191
Functionget_act_fn
Activation Function Factory Fetching activation fns by name with this function allows export or torch script friendly functions to be returne
model/create_act.py:90
Functionget_individual_augmentations
()
utils/augment.py:282
Functionhard_mish_me
(x, inplace: bool = False)
model/activations_me.py:196
Functionhard_sigmoid_me
(x, inplace: bool = False)
model/activations_me.py:119
Functionhard_swish_me
(x, inplace=False)
model/activations_me.py:156
Methodload
Transfers parameters with matching names and shapes from 'weights' to model.
model/backbone.py:179
Functionload_inference_source
Loads an inference source for object detection and applies necessary transformations. Args: source (str, Path, Tensor, PIL.Image
utils/utils.py:64
Functionmish_me
(x, inplace=False)
model/activations_me.py:84
Functionmosaic
Implement mosaic augmentation image_file_list: list of 4 images (only name of image, not path), [img_1.jpg, img_2.jpg, img_3.png, i
utils/augment.py:52
Functionpreprocess
Prepares input image before inference. Args: im (torch.Tensor | List(np.ndarray)): (N, 3, h, w) for tensor, [(h, w, 3) x N] for list.
utils/utils.py:36
Methodreset_weights
Resets the model modules parameters to randomly initialized values, losing all training information.
model/backbone.py:166
Functionsigmoid
(x, inplace: bool = False)
model/activations.py:46
Functionswish_me
(x, inplace=False)
model/activations_me.py:45
Functiontanh
(x, inplace: bool = False)
model/activations.py:60
← previous101–163 of 163, ranked by callers