MCPcopy Create free account

hub / github.com/endo-yuki-t/Fewshot-SMIS / functions

Functions246 in github.com/endo-yuki-t/Fewshot-SMIS

FunctionIR_152
Constructs a ir-152 model.
models/encoders/model_irse.py:63
FunctionIR_50
Constructs a ir-50 model.
models/encoders/model_irse.py:51
FunctionIR_SE_101
Constructs a ir_se-101 model.
models/encoders/model_irse.py:75
FunctionIR_SE_152
Constructs a ir_se-152 model.
models/encoders/model_irse.py:81
FunctionIR_SE_50
Constructs a ir_se-50 model.
models/encoders/model_irse.py:69
FunctionPYBIND11_MODULE
models/stylegan2/op/fused_bias_act.cpp:19
FunctionPYBIND11_MODULE
models/stylegan2/op/upfirdn2d.cpp:21
Method__call__
(self, img)
datasets/augmentations.py:25
Method__call__
(self, image)
datasets/augmentations.py:35
Method__getitem__
(self, index)
datasets/inference_dataset.py:19
Method__getitem__
(self, index)
datasets/images_dataset.py:22
Method__getitem__
(self, index)
datasets/gt_res_dataset.py:23
Method__init__
(self, opts)
configs/transforms_config.py:18
Method__init__
(self, opts)
configs/transforms_config.py:43
Method__init__
(self, opts)
configs/transforms_config.py:72
Method__init__
(self, opts)
configs/transforms_config.py:97
Method__init__
(self, opts)
configs/transforms_config.py:124
Method__init__
(self, *, image_size, patch_size, num_classes, dim, transformer, channels = 3)
vit_pytorch/efficient.py:6
Method__init__
(self, fn)
vit_pytorch/vit_pytorch.py:8
Method__init__
(self, dim, fn)
vit_pytorch/vit_pytorch.py:15
Method__init__
(self, dim, hidden_dim, dropout = 0.)
vit_pytorch/vit_pytorch.py:23
Method__init__
(self, dim, heads = 8, dropout = 0.)
vit_pytorch/vit_pytorch.py:35
Method__init__
(self, dim, depth, heads, mlp_dim, attn_dropout, ff_dropout)
vit_pytorch/vit_pytorch.py:66
Method__init__
(self, *, image_size, patch_size, num_classes, dim, depth, heads, mlp_dim, channels = 3, attn_dropout = 0., ff
vit_pytorch/vit_pytorch.py:118
Method__init__
(self)
options/train_options.py:7
Method__init__
(self)
options/test_options.py:6
Method__init__
(self, opts)
training/coach.py:23
Method__init__
(self, params, lr=1e-3, # lr alpha=0.5, k=6, N_sma_threshhold=5, # Ranger options betas=(.95, 0.99
training/ranger.py:31
Method__init__
(self, root, opts, transform=None, data_num=100000000)
datasets/inference_dataset.py:10
Method__init__
(self, factors=[1, 2, 4, 8, 16, 32])
datasets/augmentations.py:32
Method__init__
(self, factor=4, cuda=True, padding='reflect')
datasets/augmentations.py:58
Method__init__
(self, source_root, target_root, opts, target_transform=None, source_transform=None)
datasets/images_dataset.py:10
Method__init__
(self, root_path, gt_dir=None, transform=None, transform_train=None)
datasets/gt_res_dataset.py:10
Method__init__
(self, opts)
models/psp.py:23
Method__init__
(self, num_layers, mode='ir', opts=None)
models/encoders/psp_encoders.py:35
Method__init__
(self, num_layers, mode='ir', opts=None)
models/encoders/psp_encoders.py:121
Method__init__
(self, num_layers, mode='ir', opts=None)
models/encoders/psp_encoders.py:154
Method__init__
(self, input_size, num_layers, mode='ir', drop_ratio=0.4, affine=True)
models/encoders/model_irse.py:10
Method__init__
(self, in_channel, depth, stride)
models/encoders/helpers.py:76
Method__init__
(self, in_channel, depth, stride)
models/encoders/helpers.py:98
Method__init__
(self)
models/mtcnn/mtcnn.py:13
Method__init__
(self)
models/mtcnn/mtcnn_pytorch/src/get_nets.py:15
Method__init__
(self)
models/mtcnn/mtcnn_pytorch/src/get_nets.py:80
Method__init__
(self)
models/mtcnn/mtcnn_pytorch/src/get_nets.py:124
Method__init__
(self)
models/stylegan2/model.py:11
Method__init__
(self, kernel, factor=2)
models/stylegan2/model.py:30
Method__init__
(self, kernel, factor=2)
models/stylegan2/model.py:51
Method__init__
( self, in_channel, out_channel, kernel_size, stride=1, padding=0, bias=True )
models/stylegan2/model.py:91
Method__init__
( self, in_dim, out_dim, bias=True, bias_init=0, lr_mul=1, activation=None )
models/stylegan2/model.py:129
Method__init__
(self, negative_slope=0.2)
models/stylegan2/model.py:166
Method__init__
( self, in_channel, out_channel, kernel_size,
models/stylegan2/model.py:178
Method__init__
(self)
models/stylegan2/model.py:277
Method__init__
(self, channel, size=4)
models/stylegan2/model.py:291
Method__init__
( self, in_channel, out_channel, kernel_size,
models/stylegan2/model.py:304
Method__init__
(self, in_channel, style_dim, upsample=True, blur_kernel=[1, 3, 3, 1])
models/stylegan2/model.py:341
Method__init__
( self, size, style_dim, n_mlp, channel_multi
models/stylegan2/model.py:363
Method__init__
( self, in_channel, out_channel, kernel_size,
models/stylegan2/model.py:551
Method__init__
(self, in_channel, out_channel, blur_kernel=[1, 3, 3, 1])
models/stylegan2/model.py:600
Method__init__
(self, size, channel_multiplier=2, blur_kernel=[1, 3, 3, 1])
models/stylegan2/model.py:621
Method__init__
(self, channel, negative_slope=0.2, scale=2 ** 0.5)
models/stylegan2/op/fused_act.py:73
Method__init__
(self, start_from_latent_avg=True)
criteria/w_norm.py:7
Method__init__
(self)
criteria/id_loss.py:8
Method__init__
(self, n_channels_list: Sequence[int])
criteria/lpips/networks.py:24
Method__init__
(self)
criteria/lpips/networks.py:37
Method__init__
(self)
criteria/lpips/networks.py:67
Method__init__
(self)
criteria/lpips/networks.py:78
Method__init__
(self, net_type: str = 'alex', version: str = '0.1')
criteria/lpips/lpips.py:16
Method__len__
(self)
datasets/inference_dataset.py:16
Method__len__
(self)
datasets/images_dataset.py:19
Method__len__
(self)
datasets/gt_res_dataset.py:20
Method__repr__
(self)
models/stylegan2/model.py:121
Method__repr__
(self)
models/stylegan2/model.py:159
Method__repr__
(self)
models/stylegan2/model.py:226
Method__setstate__
(self, state)
training/ranger.py:75
Method__str__
(self)
models/mtcnn/mtcnn_pytorch/src/matlab_cp2tform.py:14
Method__str__
(self)
models/mtcnn/mtcnn_pytorch/src/align_trans.py:27
Functionaggregate_loss_dict
(agg_loss_dict)
utils/train_utils.py:2
Methodalign_multi
(self, img, limit=None, min_face_size=30.0)
models/mtcnn/mtcnn.py:31
Methodbackward
(ctx, gradgrad_input, gradgrad_bias)
models/stylegan2/op/fused_act.py:41
Methodbackward
(ctx, grad_output)
models/stylegan2/op/fused_act.py:62
Methodbackward
(ctx, gradgrad_input)
models/stylegan2/op/upfirdn2d.py:60
Functiondetect_faces
Arguments: image: an instance of PIL.Image. min_face_size: a float number. thresholds: a list of length 3. n
models/mtcnn/mtcnn_pytorch/src/detector.py:9
Functionextract_on_paths
(file_paths)
scripts/calc_id_loss_parallel.py:28
Functionextract_on_paths
(file_paths)
scripts/align_all_parallel.py:147
Methodforward
(self, img)
vit_pytorch/efficient.py:28
Methodforward
(self, x, **kwargs)
vit_pytorch/vit_pytorch.py:11
Methodforward
(self, x, **kwargs)
vit_pytorch/vit_pytorch.py:19
Methodforward
(self, x)
vit_pytorch/vit_pytorch.py:31
Methodforward
(self, x, mask = None)
vit_pytorch/vit_pytorch.py:43
Methodforward
(self, x, mask = None)
vit_pytorch/vit_pytorch.py:74
Methodforward
(self, img, mask = None)
vit_pytorch/vit_pytorch.py:103
Methodforward
(self, img, mask = None)
vit_pytorch/vit_pytorch.py:145
Methodforward
(self, x, nhwc=False, clip_round=False, byte_output=False)
datasets/augmentations.py:74
Methodforward
(self, x)
models/encoders/psp_encoders.py:27
Methodforward
(self, x)
models/encoders/psp_encoders.py:91
Methodforward
(self, x)
models/encoders/psp_encoders.py:144
Methodforward
(self, x)
models/encoders/psp_encoders.py:180
Methodforward
(self, x)
models/encoders/model_irse.py:44
Methodforward
(self, input)
models/encoders/helpers.py:11
Methodforward
(self, x)
models/encoders/helpers.py:65
← previousnext →101–200 of 246, ranked by callers