MCPcopy Create free account

hub / github.com/Giphy/celeb-detection-oss / functions

Functions123 in github.com/Giphy/celeb-detection-oss

↓ 12 callersMethodconv
(self, inp, k_h, k_w, c_o, s_h,
model_training/preprocessors/face_detection/network.py:135
↓ 12 callersMethodprelu
(self, inp, name)
model_training/preprocessors/face_detection/network.py:173
↓ 8 callersMethodfc
(self, inp, num_out, name, relu=True)
model_training/preprocessors/face_detection/network.py:190
↓ 8 callersMethodfeed
Set the input(s) for the next operation by replacing the terminal nodes. The arguments can be either layer names or the actual layers.
model_training/preprocessors/face_detection/network.py:100
↓ 8 callersFunctionnms
(boxes, threshold, method)
model_training/preprocessors/face_detection/network.py:706
↓ 7 callersFunctionvariable_to_numpy
(var)
model_training/helpers/resnet_model.py:17
↓ 6 callersFunctionimresample
(img, sz)
model_training/preprocessors/face_detection/network.py:787
↓ 6 callersMethodload
Load network weights. data_path: The path to the numpy-serialized network weights session: The current TensorFlow session igno
model_training/preprocessors/face_detection/network.py:82
↓ 6 callersMethodmax_pool
(self, inp, k_h, k_w, s_h, s_w, name, padding='SAME')
model_training/preprocessors/face_detection/network.py:181
↓ 6 callersMethodperform
(self)
model_training/trainers/trainer.py:32
↓ 6 callersMethodreset
(self)
model_training/utils.py:125
↓ 6 callersMethodrun
(self)
model_training/helpers/tensorboard_client.py:18
↓ 6 callersMethodupdate
(self, val, n=1)
model_training/utils.py:131
↓ 5 callersMethodmake_var
Creates a new TensorFlow variable.
model_training/preprocessors/face_detection/network.py:126
↓ 4 callersFunctionbbreg
(boundingbox, reg)
model_training/preprocessors/face_detection/network.py:663
↓ 4 callersMethodcuda
Moves all model parameters and buffers to the GPU. Arguments: device_id (int, optional): if specified, all parameters will be
model_training/models/losses/center_loss.py:58
↓ 4 callersFunctionpad
(total_boxes, w, h)
model_training/preprocessors/face_detection/network.py:740
↓ 4 callersMethodperform_bulk
(self, images, paths)
model_training/preprocessors/face_detection/face_detector.py:93
↓ 4 callersFunctionpreprocess_image
(img, image_size)
model_training/utils.py:183
↓ 4 callersFunctionrerec
(bboxA)
model_training/preprocessors/face_detection/network.py:776
↓ 3 callersMethod__build_dict
(self, labels, attr)
model_training/helpers/labels.py:29
↓ 3 callersMethod_cast
(self, x)
model_training/trainers/trainer.py:153
↓ 3 callersMethod_device
(self)
model_training/preprocessors/face_detection/face_detector.py:124
↓ 3 callersMethodperform_single
(self, img)
model_training/preprocessors/face_detection/face_detector.py:64
↓ 3 callersMethodsoftmax
(self, target, axis, name=None)
model_training/preprocessors/face_detection/network.py:214
↓ 2 callersMethod_process_images
(self, image_paths, target_dataset_path)
model_training/preprocessors/datasets_builder.py:66
↓ 2 callersMethod_save_state
(self, epoch, loss, prefix='best')
model_training/trainers/trainer.py:139
↓ 2 callersFunctionevenly_spaced_sampling
Choose `n` evenly spaced elements from `array` sequence
model_training/utils.py:170
↓ 2 callersFunctiongenerateBoundingBox
(imap, reg, scale, t)
model_training/preprocessors/face_detection/network.py:678
↓ 2 callersMethodpush_summary
(self, step, prefix='')
model_training/models/adapters/center_loss_adapter.py:47
↓ 2 callersFunctionrender_predictions
(face_images, faces_predictions, filename)
examples/app.py:27
↓ 2 callersMethodreset_summary
(self)
model_training/models/adapters/center_loss_adapter.py:54
↓ 2 callersMethodvalidate_padding
Verifies that the padding is one of the supported ones.
model_training/preprocessors/face_detection/network.py:130
↓ 1 callersMethod__init__
(self, network, num_classes, half_size=False)
model_training/models/cnn/resnet.py:16
↓ 1 callersMethod__load_image_files
(only_labels, dataset_path)
model_training/dataset_loaders/facial_dataset.py:49
↓ 1 callersMethod__load_labels
(self, path)
model_training/helpers/labels.py:32
↓ 1 callersMethod_accuracy
(self, output, target, topk=(1,))
model_training/trainers/trainer.py:124
↓ 1 callersMethod_calculate_predictions
(self, face_images)
model_training/helpers/face_recognizer.py:35
↓ 1 callersMethod_cast
(self, x)
model_training/helpers/resnet_model.py:63
↓ 1 callersMethod_distance
(x1, x2)
model_training/helpers/face_recognizer.py:75
↓ 1 callersMethod_numpy_crops_as_tensor
(self, crops)
model_training/helpers/resnet_model.py:66
↓ 1 callersMethodbuild_resnet_50
(self)
model_training/helpers/resnet_model.py:29
↓ 1 callersFunctionclusterize
(points, n_components=2, covariance_type='tied', centers=None, weights=None, output=None, rando
model_training/helpers/clustering.py:11
↓ 1 callersFunctiondownload
()
examples/download_model.py:11
↓ 1 callersFunctionensure_dir
(directory)
model_training/utils.py:39
↓ 1 callersMethodget_unique_name
Returns an index-suffixed unique name for the given prefix. This is used for auto-generating layer names based on the type-prefix.
model_training/preprocessors/face_detection/network.py:119
↓ 1 callersMethodhandle_original_path
(self, path)
model_training/preprocessors/datasets_builder.py:87
↓ 1 callersMethodhandle_processed_path
(self, path)
model_training/preprocessors/datasets_builder.py:91
↓ 1 callersFunctionload_gif
(path, url)
examples/app.py:55
↓ 1 callersFunctionload_image
(path, url)
examples/app.py:40
↓ 1 callersFunctionprocess_gif
(gif_url)
examples/app.py:77
↓ 1 callersFunctionprocess_gif
(path)
examples/inference.py:16
↓ 1 callersFunctionprocess_image
(image_url)
examples/app.py:68
↓ 1 callersFunctionprocess_image
(path)
examples/inference.py:26
↓ 1 callersMethodprocess_images_batch
(params)
model_training/preprocessors/datasets_builder.py:112
↓ 1 callersMethodpush_embedding_summary
(self, step)
model_training/models/adapters/center_loss_adapter.py:51
↓ 1 callersMethodsetup
Construct the network.
model_training/preprocessors/face_detection/network.py:78
Method__call__
(self, func)
model_training/utils.py:152
Method__call__
(self, crops_numpy_array, return_tensors=False)
model_training/helpers/resnet_model.py:53
Method__call__
(self, sample)
model_training/dataset_loaders/img_augmentor.py:29
Method__getitem__
(self, num)
model_training/dataset_loaders/raw_dataset.py:20
Method__getitem__
(self, num)
model_training/dataset_loaders/facial_dataset.py:28
Method__init__
(self)
model_training/utils.py:122
Method__init__
(self, name='', times=5, pause=5, exception=Exception)
model_training/utils.py:146
Method__init__
(self, dir_path, port)
model_training/helpers/tensorboard_client.py:14
Method__init__
(self, tag_id, internal_id, folder_name)
model_training/helpers/labels.py:12
Method__init__
(self, resources_path)
model_training/helpers/labels.py:22
Method__init__
(self, labels, resources_path, top_n=5, use_cuda=False)
model_training/helpers/face_recognizer.py:19
Method__init__
(self, num_classes, weights_path, use_cuda=False, embedding_size=256)
model_training/helpers/resnet_model.py:22
Method__init__
(self, model, data_loaders, epochs, optimizer, lr_scheduler, weights_path, use_cuda=False, restore=None,
model_training/trainers/trainer.py:19
Method__init__
(self, datasets, train_dataset_path, val_dataset_path, val_split, image_size=224, detection_margin=0.2,
model_training/preprocessors/datasets_builder.py:25
Method__init__
(self, inputs, trainable=True)
model_training/preprocessors/face_detection/network.py:66
Method__init__
(self, data_dir, margin=0.1, use_cuda=False, gpu_memory_fraction=1)
model_training/preprocessors/face_detection/face_detector.py:38
Method__init__
(self, model, num_classes, embedding_size, center_loss_weight=0.5, use_cuda=False, summary_writer=None)
model_training/models/adapters/center_loss_adapter.py:14
Method__init__
(self, network, embedding_size, num_classes)
model_training/models/cnn/xception.py:14
Method__init__
(self, network, embedding_size, num_classes)
model_training/models/cnn/densenet.py:14
Method__init__
(self, network, embedding_size, num_classes, half_size=False)
model_training/models/cnn/resnet.py:38
Method__init__
(self, num_classes, embedding_size, use_cuda=False)
model_training/models/losses/center_loss.py:29
Method__init__
(self, num_classes, embedding_size, _lambda=0.01, alpha=0.1)
model_training/models/losses/center_loss_forward.py:20
Method__init__
(self, augmentation_rate)
model_training/dataset_loaders/img_augmentor.py:11
Method__init__
(self, image_files)
model_training/dataset_loaders/raw_dataset.py:14
Method__init__
(self, dataset_path, labels_file_path, transform=None, return_path=False, only_labels=None)
model_training/dataset_loaders/facial_dataset.py:19
Method__len__
(self)
model_training/dataset_loaders/raw_dataset.py:17
Method__len__
(self)
model_training/dataset_loaders/facial_dataset.py:25
Method__repr__
(self)
model_training/helpers/labels.py:17
Functionbatches_gen
(iterable, n=1)
model_training/utils.py:47
Functionbb_intersection_over_union
(boxA, boxB)
model_training/utils.py:81
Functionbuild_bboxes_mapping
(bboxes_mapping_file)
model_training/utils.py:68
Functionbulk_detect_face
(images, detection_window_size_ratio, pnet, rnet, onet, threshold, factor)
model_training/preprocessors/face_detection/network.py:439
Methodconvolve
(i, k)
model_training/preprocessors/face_detection/network.py:156
Functioncreate_mtcnn
(sess, model_path)
model_training/preprocessors/face_detection/network.py:285
Methodcuda
Moves all model parameters and buffers to the GPU. Arguments: device_id (int, optional): if specified, all parameters will be
model_training/models/adapters/center_loss_adapter.py:38
Methodcuda
Moves all model parameters and buffers to the GPU. Arguments: device_id (int, optional): if specified, all parameters will be
model_training/models/losses/center_loss_forward.py:51
Functiondetect_face
(img, minsize, pnet, rnet, onet, threshold, factor)
model_training/preprocessors/face_detection/network.py:317
Functionensure_3_channels
Converts a greyscale image to 3-channel image
model_training/utils.py:138
Functionexception_handler
(_)
examples/app.py:22
Methodforward
(self, inputs, labels)
model_training/models/adapters/center_loss_adapter.py:25
Methodforward
(self, x)
model_training/models/cnn/xception.py:23
Methodforward
(self, x)
model_training/models/cnn/densenet.py:24
Methodforward
(self, x)
model_training/models/cnn/resnet.py:26
next →1–100 of 123, ranked by callers