MCPcopy Create free account

hub / github.com/IS2AI/SpeakingFaces / functions

Functions38 in github.com/IS2AI/SpeakingFaces

↓ 20 callersFunctionmake_dir
(dirName)
speakingfacespy/imtools.py:45
↓ 10 callersFunctionappend_to_csv
(filename, list_of_artifacts)
artifact_detector/missing_positions_v2.py:12
↓ 6 callersFunctionappend_to_csv
(filename, list_of_artifacts)
artifact_detector/artifact_detector_v3.py:17
↓ 6 callersFunctiontest
(model, loader, dataset, test=False)
baseline_gender/main.py:26
↓ 5 callersFunctiondataset2dataloader
(dataset, num_workers=opt.num_workers, shuffle=opt.data_shuffle)
baseline_gender/main.py:16
↓ 4 callersFunctionface_region_extractor
(face_net, visible_image, threshold)
speakingfacespy/imtools.py:7
↓ 3 callersFunctionextract_frame
(input_name, input_filepath, duration, output_dir, frame_id=1)
artifact_detector/salvage_video.py:35
↓ 3 callersFunctionload_model
(model, path)
baseline_gender/main.py:290
↓ 2 callersMethod__init__
(self, opt)
baseline_gender/model.py:141
↓ 2 callersMethodadd_image_noise
(self, image, noise_type='gauss', noise_value=10)
baseline_gender/dataset.py:190
↓ 2 callersFunctionextract_frame
(video_path, duration, path_to_image, sub_id, trial_id, pos_id, cmd_id, stream_id)
extract_images_by_commands.py:8
↓ 2 callersFunctionextract_frames_by_sub_trial
(path_to_dataset, sub_id, trial_id)
extract_images_by_commands.py:49
↓ 2 callersFunctiontrim_audio
(input_name, input_audio, begin_time, end_time, output_audio_filepath, audio_duration=-100)
artifact_detector/salvage_audio.py:33
↓ 2 callersFunctiontrim_audio_by_sub_trial
(path_to_dataset, sub_id, trial_id)
trim_audio.py:27
↓ 1 callersMethodadd_audio_noise
(self, audio, noise_type='gauss', noise_value=10)
baseline_gender/dataset.py:207
↓ 1 callersFunctioncalc_cos_similarity
Calculate cosine similarity between two embeddings Parameters: emb_1 (numpy.ndarray): Embeddings from test dataset emb_2 (numpy.ndarray):
baseline_domain_transfer/arcface/arcface_face_rec_test.py:11
↓ 1 callersFunctioncheck_for_blurriness
(rgb_image, rgb_filename, rgb_artifacts_file)
artifact_detector/artifact_detector_v3.py:40
↓ 1 callersFunctionchin_checker
(rgb, rgb_filename, rgb_artifacts_file)
artifact_detector/artifact_detector_v3.py:66
↓ 1 callersFunctionextract_frames_by_range
(path_to_dataset, sub_id_i, sub_id_l)
extract_images_by_commands.py:97
↓ 1 callersMethodforward
(self, x1=None, x2=None, x3=None)
baseline_gender/model.py:170
↓ 1 callersFunctionget_output_filepath
(df, input_name, output_data_path)
artifact_detector/salvage_audio.py:19
↓ 1 callersFunctionget_output_filepath
(df, input_name, output_dir)
artifact_detector/salvage_video.py:22
↓ 1 callersFunctionget_similarity_score
(thr_image_current, thr_image_previous)
artifact_detector/artifact_detector_v3.py:23
↓ 1 callersFunctionmake_dir
(dirName)
artifact_detector/salvage_audio.py:10
↓ 1 callersFunctionmake_dir
(dirName)
artifact_detector/salvage_video.py:13
↓ 1 callersFunctionremove_avi_extension
(output_dir)
artifact_detector/salvage_video.py:55
↓ 1 callersFunctionshow_lr
(optimizer)
baseline_gender/main.py:20
↓ 1 callersFunctiontrain
(model)
baseline_gender/main.py:108
↓ 1 callersFunctiontrim_audio
(audio_trim_filename, length_audio_trim, to_trim_mic_id, to_trim_new_dir)
trim_audio.py:8
↓ 1 callersFunctiontrim_audio_by_range
(path_to_dataset, sub_id_i, sub_id_l)
trim_audio.py:73
Method__getitem__
(self, idx)
baseline_gender/dataset.py:219
Method__init__
(self, opt, data_type='train', noise=False)
baseline_gender/dataset.py:13
Method__init__
(self, opt)
baseline_gender/model.py:8
Method__init__
(self, opt)
baseline_gender/model.py:74
Method__len__
(self)
baseline_gender/dataset.py:272
Methodforward
(self, x)
baseline_gender/model.py:31
Methodforward
(self, x)
baseline_gender/model.py:98
Functionmy_func
(f)
artifact_detector/trim_beginning.py:9