MCPcopy Create free account

hub / github.com/10Ring/LAA-Net / functions

Functions375 in github.com/10Ring/LAA-Net

↓ 1 callersMethodwait_n_get
(self)
package_utils/bi_online_generation.py:195
Method__call__
(self, x)
datasets/pipelines/color_transform.py:153
Method__call__
(self, x, mask=None, image_f=None, mask_f=None)
datasets/pipelines/geo_transform.py:90
Method__call__
(self, pred, y)
losses/losses.py:185
Method__contains__
(self, key)
register/register.py:131
Method__getitem__
(self, idx)
datasets/face_forensic_binary.py:61
Method__getitem__
(self, idx)
datasets/face_forensic_sbi.py:93
Method__getitem__
(self, idx)
datasets/common.py:323
Method__getitem__
(self, idx)
datasets/face_forensic_hm.py:161
Method__init__
(self, task='training')
logs/logger.py:17
Method__init__
(self, name, build_func=None, parent=None, scope=None)
register/register.py:104
Method__init__
(self)
lib/core_function.py:16
Method__init__
(self, optimizer, n_epoch, start_decay, last_epoch=-1, booster=2)
lib/scheduler/linear_decay.py:8
Method__init__
(self, params, base_optimizer, rho=0.05, **kwargs)
lib/optimizers/sam.py:23
Method__init__
(self, cfg, load_imgs=False, **kwargs)
package_utils/geo_landmarks_extraction.py:25
Method__init__
(self, landmarks, face, channels=4)
package_utils/deepfake_mask.py:40
Method__init__
(self, data_record, queue_size=1024, mlprocess=False, number=1, fake_type=None)
package_utils/bi_online_generation.py:145
Method__init__
(self, cfg, **kwargs)
datasets/master.py:14
Method__init__
@params: config: Dataset config split: train/val/test which directs to the split folders
datasets/face_forensic_binary.py:17
Method__init__
(self, cfg, **kwargs)
datasets/celebDF_v2.py:13
Method__init__
(self, cfg, **kwargs)
datasets/dfdc.py:12
Method__init__
@params: config: Dataset config split: train/val/test which directs to the split folders
datasets/face_forensic_sbi.py:22
Method__init__
(self, cfg, **kwargs)
datasets/common.py:25
Method__init__
(self, cfg, **kwargs)
datasets/dfw.py:12
Method__init__
(self, cfg, **kwargs)
datasets/dfdcp.py:12
Method__init__
(self, cfg, **kwargs)
datasets/dfd.py:12
Method__init__
(self, cfg, **kwargs)
datasets/ff.py:13
Method__init__
(self, cfg, **kwargs)
datasets/celebDF_v1.py:13
Method__init__
@params: config: Dataset config split: train/val/test which directs to the split folders
datasets/face_forensic_hm.py:23
Method__init__
(self, clahe: float, colorjitter: float, gaussianblur: floa
datasets/pipelines/color_transform.py:12
Method__init__
(self, resize: list, normalize: float, horizontal_flip: flo
datasets/pipelines/geo_transform.py:20
Method__init__
(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, groups=1, bias=True)
models/networks/efficientNet.py:140
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
models/networks/mrsa_resnet.py:79
Method__init__
(self, block, layers, heads, head_conv
models/networks/mrsa_resnet.py:123
Method__init__
(self,in_channels,out_channels,kernel_size=1,stride=1,padding=0,dilation=1,bias=False)
models/networks/xception.py:37
Method__init__
Constructor Args: num_classes: number of classes
models/networks/xception.py:107
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
models/networks/pose_hrnet.py:52
Method__init__
(self, num_branches, blocks, num_blocks, num_inchannels, num_channels, fuse_method, multi_sca
models/networks/pose_hrnet.py:91
Method__init__
(self, cfg, **kwargs)
models/networks/pose_hrnet.py:265
Method__init__
(self, inplanes, outplanes, stride=1, pool_size=3)
models/networks/common.py:32
Method__init__
(self, channels, reduction)
models/networks/arcface.py:34
Method__init__
(self, in_channel, depth, stride)
models/networks/arcface.py:55
Method__init__
(self, in_channel, depth, stride)
models/networks/arcface.py:74
Method__init__
(self, drop_ratio=0.6, in_planes=512, **kwargs)
models/networks/arcface.py:171
Method__init__
(self, cfg: dict, **kwargs)
models/networks/arcface.py:196
Method__init__
(self, in_c, out_c, kernel=(1, 1), stride=(1, 1), padding=(0, 0), groups=1)
models/networks/arcface.py:215
Method__init__
(self, in_c, out_c, kernel=(1, 1), stride=(1, 1), padding=(0, 0), groups=1)
models/networks/arcface.py:229
Method__init__
(self, in_c, out_c, residual = False, kernel=(3, 3), stride=(2, 2), padding=(1, 1), groups=1)
models/networks/arcface.py:241
Method__init__
(self, c, num_block, groups, kernel=(3, 3), stride=(1, 1), padding=(1, 1))
models/networks/arcface.py:262
Method__init__
(self, embedding_size)
models/networks/arcface.py:274
Method__init__
(self, embedding_size=512, classnum=51332, s=64., m=0.5)
models/networks/arcface.py:313
Method__init__
(self,embedding_size=512,classnum=51332)
models/networks/arcface.py:357
Method__init__
(self, blocks_args=None, global_params=None)
models/networks/pose_efficientNet.py:166
Method__init__
(self, model_name, in_channels=3, **override_params)
models/networks/pose_efficientNet.py:701
Method__init__
(self, reduction='mean')
losses/losses.py:180
Method__init__
(self, cfg, use_target_weight, **kwargs)
losses/losses.py:192
Method__init__
(self, use_target_weight, reduction='mean')
losses/losses.py:240
Method__init__
(self, use_target_weight, cls_lmda=0.2, dst_lmda=0.2, reduction='mean', dist_cal=True, cls_cal=True, **kwargs)
losses/losses.py:268
Method__init__
(self, use_target_weight, cls_lmda=0.2, reduction='mean', cls_cal=True, **kwargs)
losses/losses.py:298
Method__init__
(self, use_target_weight, epsilon=2.0, cls_lmda=0.05, reduction='mean', cls_cal=True, **kwargs)
losses/losses.py:335
Method__len__
(self)
register/register.py:128
Method__len__
(self)
datasets/face_forensic_binary.py:58
Method__len__
(self)
datasets/common.py:319
Method__repr__
(self)
register/register.py:134
Method__repr__
(self)
datasets/common.py:327
Method__repr__
()
models/networks/mrsa_resnet.py:117
Function_check_executable
(cmd)
register/misc.py:235
Function_check_py_package
(package)
register/misc.py:226
Method_conv_block
(self, inplanes, outplanes, kernel_size, stride=1)
models/networks/mrsa_resnet.py:248
Function_disable
(module)
lib/optimizers/sam.py:7
Function_enable
(module)
lib/optimizers/sam.py:15
Method_encode_target
(self, target_mask, normalize_max=True)
datasets/common.py:116
Method_encode_target_v2
(self, target_mask, normalize_max=True)
datasets/common.py:228
Method_load_from_path
(self, split)
datasets/master.py:17
Method_load_from_path
(self, split)
datasets/celebDF_v2.py:16
Method_load_from_path
(self, split)
datasets/dfdc.py:15
Method_load_from_path
(self, split)
datasets/common.py:47
Method_load_from_path
(self, split)
datasets/dfw.py:15
Method_load_from_path
(self, split)
datasets/dfdcp.py:15
Method_load_from_path
(self, split)
datasets/dfd.py:15
Method_load_from_path
(self, split)
datasets/celebDF_v1.py:16
Function_neg_loss
Modified focal loss. Exactly the same as CornerNet. Runs faster and costs a little bit more memory Arguments: pred (batch x c x h x w)
losses/losses.py:70
Function_neg_pos_loss
(hm_pred, hm_gt)
losses/losses.py:55
Method_new_encode_target
(self, target_mask, normalize_max=True)
datasets/common.py:170
Method_register
(module)
register/register.py:314
Method_reload_data
(self)
datasets/face_forensic_hm.py:86
Functionapi_warning_wrapper
(old_func)
register/misc.py:279
Methodapply
(self, img: np.array, **params)
datasets/pipelines/geo_transform.py:155
Methodbuild_mask
(self)
package_utils/deepfake_mask.py:74
Methodbuild_mask
(self)
package_utils/deepfake_mask.py:98
Methodbuild_mask
(self)
package_utils/deepfake_mask.py:127
Methodbuild_mask
(self)
package_utils/deepfake_mask.py:169
Functionbuild_model_from_cfg
Build a PyTorch model from config dict(s). Different from ``build_from_cfg``, if cfg is a list, a ``nn.Sequential`` will be built. Args:
models/builder.py:14
Methodchildren
(self)
register/register.py:195
Functionconcat_list
Concatenate a list of list into a single list. Args: in_list (list): The list of list to be merged. Returns: list: The concate
register/misc.py:180
Functiondebug_writing
(writer, outputs, labels, inputs, iterations)
logs/logger.py:70
Functiondeprecated_api_warning
A decorator to check if some arguments are deprecate and try to replace deprecate src_arg_name to dst_arg_name. Args: name_dict(dict):
register/misc.py:268
Functiondisable_running_stats
(model)
lib/optimizers/sam.py:6
Functionenable_running_stats
(model)
lib/optimizers/sam.py:14
Methodencode
Encode a list of BlockArgs to a list of strings. Args: blocks_args (list[namedtuples]): A list of BlockArgs namedtuples of block a
models/networks/efficientNet.py:367
← previousnext →201–300 of 375, ranked by callers