MCPcopy Create free account

hub / github.com/albertpumarola/GANimation / functions

Functions135 in github.com/albertpumarola/GANimation

↓ 6 callersMethodforward
(self, keep_data_for_visuals=False, return_estimates=False)
models/ganimation.py:123
↓ 5 callersMethod_do_if_necessary_saturate_mask
(self, m, saturate=False)
models/ganimation.py:404
↓ 5 callersMethodsave
(self, label)
models/models.py:75
↓ 4 callersFunctionmkdir
(path)
utils/util.py:42
↓ 3 callersMethod_compute_loss_D
(self, estim, is_real)
models/ganimation.py:310
↓ 3 callersMethodget_by_name
(dataset_name, opt, is_for_train)
data/dataset.py:13
↓ 3 callersMethodget_current_errors
(self)
models/models.py:69
↓ 3 callersMethodload
(self)
models/models.py:78
↓ 3 callersMethodplot_scalars
(self, scalars, it, is_train)
utils/tb_visualizer.py:36
↓ 3 callersMethodset_input
(self, input)
models/models.py:44
↓ 2 callersMethod_compute_loss_smooth
(self, mat)
models/ganimation.py:313
↓ 2 callersMethod_get_cond_by_id
(self, id)
data/dataset_aus.py:101
↓ 2 callersMethod_load_network
(self, network, network_label, epoch_label)
models/models.py:101
↓ 2 callersMethod_load_optimizer
(self, optimizer, optimizer_label, epoch_label)
models/models.py:86
↓ 2 callersMethod_save_network
(self, network, network_label, epoch_label)
models/models.py:95
↓ 2 callersMethod_save_optimizer
(self, optimizer, optimizer_label, epoch_label)
models/models.py:81
↓ 2 callersMethoddisplay_current_results
(self, visuals, it, is_train, save_visuals=False)
utils/tb_visualizer.py:24
↓ 2 callersMethodforward
(self, keep_data_for_visuals=False)
models/models.py:53
↓ 2 callersMethodget_by_name
(model_name, *args, **kwargs)
models/models.py:10
↓ 2 callersMethodget_current_visuals
(self)
models/models.py:66
↓ 2 callersMethodinit_weights
(self)
networks/networks.py:34
↓ 2 callersMethodload_data
(self)
data/custom_dataset_data_loader.py:21
↓ 2 callersMethodparse
(self)
options/base_options.py:36
↓ 2 callersMethodset_eval
(self)
models/models.py:50
↓ 2 callersMethodset_train
(self)
models/models.py:47
↓ 1 callersMethod__init__
(self, conv_dim=64, c_dim=5, repeat_num=6)
networks/generator_wasserstein_gan.py:8
↓ 1 callersMethod_create_dataset
(self)
data/custom_dataset_data_loader.py:12
↓ 1 callersMethod_create_discriminator
(self)
models/ganimation.py:52
↓ 1 callersMethod_create_generator
(self)
models/ganimation.py:49
↓ 1 callersMethod_create_transform
(self)
data/dataset.py:46
↓ 1 callersMethod_display_terminal
(self, iter_start_time, i_epoch, i_train_batch, visuals_flag)
train.py:92
↓ 1 callersMethod_display_visualizer_train
(self, total_steps)
train.py:97
↓ 1 callersMethod_display_visualizer_val
(self, i_epoch, total_steps)
train.py:102
↓ 1 callersMethod_forward_D
(self)
models/ganimation.py:271
↓ 1 callersMethod_forward_G
(self, keep_data_for_visuals)
models/ganimation.py:224
↓ 1 callersMethod_generate_random_cond
(self)
data/dataset_aus.py:111
↓ 1 callersMethod_get_img_by_id
(self, id)
data/dataset_aus.py:107
↓ 1 callersMethod_get_set_gpus
(self)
options/base_options.py:80
↓ 1 callersMethod_gradinet_penalty_D
(self, fake_imgs_masked)
models/ganimation.py:289
↓ 1 callersMethod_img_morph
(self, img, expresion)
test.py:32
↓ 1 callersMethod_init_create_networks
(self)
models/ganimation.py:34
↓ 1 callersMethod_init_losses
(self)
models/ganimation.py:72
↓ 1 callersMethod_init_prefetch_inputs
(self)
models/ganimation.py:65
↓ 1 callersMethod_init_train_vars
(self)
models/ganimation.py:55
↓ 1 callersMethod_morph_face
(self, face, expresion)
test.py:46
↓ 1 callersMethod_print
(self, args)
options/base_options.py:93
↓ 1 callersMethod_read_conds
(self, file_path)
data/dataset_aus.py:97
↓ 1 callersMethod_read_dataset_paths
(self)
data/dataset_aus.py:61
↓ 1 callersMethod_read_ids
(self, file_path)
data/dataset_aus.py:93
↓ 1 callersMethod_save
(self, args)
options/base_options.py:99
↓ 1 callersMethod_save_img
(self, img, filename)
test.py:54
↓ 1 callersMethod_set_and_check_load_epoch
(self)
options/base_options.py:60
↓ 1 callersMethod_train
(self)
train.py:29
↓ 1 callersMethod_train_epoch
(self, i_epoch)
train.py:56
↓ 1 callersMethodget_current_scalars
(self)
models/models.py:72
↓ 1 callersFunctionget_data
(filepaths)
data/prepare_au_annotations.py:14
↓ 1 callersMethodinitialize
(self)
options/base_options.py:11
↓ 1 callersMethodload
(self)
models/ganimation.py:372
↓ 1 callersFunctionmain
()
test.py:60
↓ 1 callersFunctionmain
()
data/prepare_au_annotations.py:26
↓ 1 callersMethodmorph_file
(self, img_path, expresion)
test.py:26
↓ 1 callersMethodoptimize_parameters
(self)
models/models.py:63
↓ 1 callersMethodprint_current_train_errors
(self, epoch, i, iters_per_epoch, errors, t, visuals_were_stored)
utils/tb_visualizer.py:41
↓ 1 callersMethodprint_current_validate_errors
(self, epoch, errors, t)
utils/tb_visualizer.py:52
↓ 1 callersFunctionresize_face
Resize face to a given size :param face_img: cv::mat HxWx3 :param size: new H and W (size x size). 128 by default. :return: cv::mat s
utils/face_utils.py:60
↓ 1 callersFunctionsave_dict
(data, name)
data/prepare_au_annotations.py:22
↓ 1 callersFunctiontensor2im
(img, imtype=np.uint8, unnormalize=True, idx=0, nrows=None)
utils/util.py:9
↓ 1 callersMethodupdate_learning_rate
(self)
models/models.py:110
Method__del__
(self)
utils/tb_visualizer.py:21
Method__getitem__
(self, index)
data/dataset_aus.py:19
Method__init__
(self)
train.py:11
Method__init__
(self, opt)
test.py:17
Method__init__
(self, opt)
utils/tb_visualizer.py:9
Method__init__
(self)
networks/networks.py:5
Method__init__
(self)
networks/networks.py:26
Method__init__
(self, dim_in, dim_out)
networks/generator_wasserstein_gan.py:58
Method__init__
(self, image_size=128, conv_dim=64, c_dim=5, repeat_num=6)
networks/discriminator_wasserstein_gan.py:7
Method__init__
(self)
data/dataset.py:9
Method__init__
(self, opt, is_for_train)
data/dataset.py:25
Method__init__
(self, opt, is_for_train)
data/dataset_aus.py:12
Method__init__
(self, opt, is_for_train=True)
data/custom_dataset_data_loader.py:6
Method__init__
(self)
options/base_options.py:7
Method__init__
(self)
models/models.py:6
Method__init__
(self, opt)
models/models.py:25
Method__init__
(self, opt)
models/ganimation.py:13
Method__len__
(self)
data/dataset_aus.py:58
Method__len__
(self)
data/custom_dataset_data_loader.py:24
Method_create_transform
(self)
data/dataset_aus.py:79
Method_get_all_files_in_subfolders
(self, dir, is_file)
data/dataset.py:58
Method_get_norm_layer
(self, norm_type='batch')
networks/networks.py:47
Method_get_scheduler
(self, optimizer, opt)
models/models.py:120
Method_is_csv_file
(self, filename)
data/dataset.py:55
Method_is_image_file
(self, filename)
data/dataset.py:52
Method_l1_loss_with_target_gradients
(self, input, target)
models/ganimation.py:401
Method_weights_init_fn
(self, m)
networks/networks.py:37
Functioncrop_face_with_bb
Crop face in image given bb :param img: cv::mat HxWx3 :param bb: 4 (<x,y,w,h>) :return: HxWx3
utils/face_utils.py:44
Functiondetect_biggest_face
Detect biggest face in image :param img: cv::mat HxWx3 RGB :return: 4 <x,y,w,h>
utils/face_utils.py:21
Functiondetect_faces
Detect faces in image :param img: cv::mat HxWx3 RGB :return: yield 4 <x,y,w,h>
utils/face_utils.py:8
Functiondetect_landmarks
(face_img)
utils/face_utils.py:69
Methodforward
(self, x, c)
networks/generator_wasserstein_gan.py:48
next →1–100 of 135, ranked by callers