MCPcopy Create free account

hub / github.com/FuxiCV/MeInGame / functions

Functions166 in github.com/FuxiCV/MeInGame

Method__init__
(self, config, device, rot_order, debug=False)
models.py:30
Method__init__
(self)
networks.py:10
Method__init__
(self, in_channels, config, init_weights=True)
networks.py:150
Method__init__
(self, in_channels, config, init_weights=True)
networks.py:182
Method__init__
(self, in_channels, out_channels, kernel_size, stride=1, padding=None, dilation=1, groups=1, bi
networks.py:219
Method__init__
(self, scale, in_channels, out_channels, kernel_size, stride=1, padding=None, dilation=1, group
networks.py:247
Method__init__
r""" type = nsgan | lsgan | hinge
lib/loss.py:17
Method__init__
(self)
lib/loss.py:58
Method__init__
(self)
lib/loss.py:78
Method__init__
(self, weights=[1.0, 1.0, 1.0, 1.0, 1.0])
lib/loss.py:116
Method__init__
(self, landmarks_type, network_size=NetworkSize.LARGE, device='cuda', flip_input=False, face_de
lib/face_align.py:49
Method__init__
(self, sess, graph, bfm_version='face', img_size=224, batch_size=1)
lib/deep3d.py:14
Method__init__
(self, root_dir, path)
lib/deep3d.py:116
Method__init__
(self, kernel_size: Tuple[int, int], sigma: Tuple[float, float])
lib/gaussian.py:107
Method__init__
(self, filename=None, vertices=None, triangles=None, colors=None, uvmap=None, normals=None, tex
lib/meshio.py:10
Method__init__
(self, config, flist_gt=None, flist=None, test=False, device=torch.device('cpu'))
lib/dataset.py:12
Method__init__
transfer shape from src to tgt
lib/rbf.py:11
Method__init__
(self, face_model, bfm_version='face', im_size=1024, uv_size=1024, device=torch.device('cpu'))
lib/uv_creator.py:17
Method__init__
(self, img_size, use_dlib=False)
lib/image_cropper.py:13
Method__init__
(self, device, ckpt_path='data/models/torch_FaceSegment_300.pkl')
lib/face_segment.py:33
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
lib/face_segment.py:105
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
lib/face_segment.py:137
Method__int__
(self)
lib/face_align.py:43
Method__len__
(self)
lib/dataset.py:62
Method__new__
(cls, value)
lib/face_align.py:38
Functionarray_to_string
Convert a 1 or 2D array into a string with a specified number of digits and delimiter. The reason this exists is that the basic numpy arr
lib/meshio.py:513
Functioncenter_crop_resize
(image, img_size, crop=False)
utils.py:157
Methodcompute_eye_param
(self, vertices, eye_lm_idx, face_model)
uv_inpainting.py:421
Methodcreate_bfm_uv_torch
(self, bfm_shift_vert, input_image, uv_size)
lib/uv_creator.py:88
Methodcrop_images
(self, images, im_size=None)
lib/image_cropper.py:173
Functionfix_state_dict
(state_dict)
utils.py:133
Methodforward
(self, images, uvmaps_alpha, vertices, coeffs, fix_uv=False, deploy=False, face_model='230')
models.py:388
Methodforward
(self, im, uv)
networks.py:103
Methodforward
(self, x)
networks.py:172
Methodforward
(self, x)
networks.py:205
Methodforward
(self, x)
networks.py:235
Methodforward
(self, x)
networks.py:254
Methodforward
(self, x)
networks.py:261
Methodforward
(self, x: torch.Tensor)
lib/gaussian.py:120
Methodforward
(self, x)
lib/face_segment.py:115
Methodforward
(self, x)
lib/face_segment.py:149
Methodforward
(self, x)
lib/face_segment.py:215
Functionget_center
(mask)
lib/dataset.py:255
Methodget_emb_coeff
(net_name, inputs)
create_dataset.py:50
Methodget_emb_coeff
(net_name, inputs)
lib/deep3d.py:52
Methodget_landmarks
Deprecated, please use get_landmarks_from_image Arguments: image_or_path {string or numpy.array or torch.tensor} -- The input ima
lib/face_align.py:136
Methodget_landmarks_from_directory
(self, path, extensions=['.jpg', '.png'], recursive=True, show_progress_bar
lib/face_align.py:225
Functionget_primary_value_torch
(inputs, doubleSiamaSquare=1)
lib/rbf.py:116
Functionget_rotation_matrix
(x, y)
lib/rbf.py:128
Methodinit_func
(m)
networks.py:20
Functioninit_logger
(name='x', filename='log.txt')
utils.py:14
Methodpredict
(self, images, neutral=False, color=False)
lib/deep3d.py:87
Functionread_obj_bak
(filename, swapyz=False)
lib/meshio.py:588
Methodremove_models
(self)
lib/face_align.py:239
Functionrgb2hsv
(im, eps=1e-8)
utils.py:226
Functionrotation_matrix_np
(angles)
utils.py:193
Methodsave
(self, idx)
models.py:562
Functionsplit_bfm09_coeff
(coeff)
utils.py:183
Functionstitch_images
(inputs, *outputs, im_size, img_per_row=2)
utils.py:92
Functionto_float
Convert integer colors to 0.0 - 1.0 floating point colors Parameters ------------- colors : (n, d) int Integer colors Ret
lib/meshio.py:486
Methodto_tensor
(self, array, dtype=torch.float32)
models.py:595
Methodto_tensor
(array)
lib/rbf.py:44
Methodto_torch
(x)
models.py:138
Functionto_uint8
(image)
utils.py:126
Functionto_uint8_torch
(image, no_permute=False)
utils.py:141
Methodupright_face
(self, image, lm, im_size)
lib/image_cropper.py:119
← previous101–166 of 166, ranked by callers