MCPcopy Create free account

hub / github.com/MaureenZOU/TSAM / functions

Functions693 in github.com/MaureenZOU/TSAM

↓ 1 callersFunctioncompute_features
(img_norm)
libs/video_quality/niqe.py:104
↓ 1 callersFunctionconnect_landmarks
(image_shape, landmarks, color=None, alpha=0.75)
src/utils/face.py:60
↓ 1 callersFunctioncopy_masks_without_boarder
(root_dir, args)
src/scripts/mask_scripts/gen_masks_davis.py:152
↓ 1 callersFunctioncopy_masks_without_boarder
(root_dir, args)
src/scripts/mask_scripts/gen_masks.py:152
↓ 1 callersFunctioncreate_random_shape_with_random_motion
(video_length, imageHeight=240, imageWidth=432)
src/xy_scripts/stationary.py:30
↓ 1 callersMethoddisplay_current_results
(self, visuals, epoch, nrows=None, res=256)
libs/PerceptualSimilarity/util/visualizer.py:43
↓ 1 callersMethodedge_loss
(self, output, target)
src/model/loss.py:122
↓ 1 callersMethodedge_loss
(self, output, target)
src/model/loss_module.py:131
↓ 1 callersFunctionevaluate_all_videos
( root_gt_dir, root_result_dir, flownet_checkpoint_path, root_mask_dir, test_num, result_postfix="
src/evaluate.py:234
↓ 1 callersFunctionevaluate_image
(gt, result)
src/evaluate.py:125
↓ 1 callersFunctionevaluate_video
( result_video_dir, gt_video_dir, video_mask_dir, flownet_checkpoint_path )
src/evaluate.py:140
↓ 1 callersMethodextract_features
(self, x, target_endpoint='Logits')
src/model/i3d.py:326
↓ 1 callersMethodforward
(self, x)
src/model/i3d.py:75
↓ 1 callersMethodforward
(self, X)
src/model/vgg.py:28
↓ 1 callersMethodforward_train
(self)
libs/PerceptualSimilarity/models/dist_model.py:186
↓ 1 callersMethodgated
(self, mask)
src/model/blocks.py:296
↓ 1 callersFunctiongen_masks
(in_direc, out_direc, args)
src/scripts/mask_scripts/gen_foresics_masks.py:56
↓ 1 callersFunctiongeneralized_gaussian_ratio_inverse
(k)
libs/video_quality/niqe.py:62
↓ 1 callersMethodgenerate_fg_frames
(self, frames, segms)
src/utils/readers.py:442
↓ 1 callersMethodgenerate_mask
(self, i)
src/utils/readers.py:409
↓ 1 callersMethodgenerate_masks
(self)
src/utils/readers.py:402
↓ 1 callersMethodget_current_errors
(self)
libs/PerceptualSimilarity/models/dist_model.py:206
↓ 1 callersMethodget_current_visuals
(self)
libs/PerceptualSimilarity/models/dist_model.py:215
↓ 1 callersMethodget_evaluate_index
(self, T, vid_len=15, valid_inter=[3, 12])
src/trainer/inference.py:85
↓ 1 callersMethodget_evaluate_index
(self, T, vid_len=15, valid_inter=[3, 12])
src/trainer/trainer.py:85
↓ 1 callersMethodget_mask
(self, i)
src/utils/readers.py:439
↓ 1 callersFunctionget_random_mask
(img_size=[128, 128], r=[0.375, 0.5])
src/scripts/mask_scripts/gen_foresics_masks.py:39
↓ 1 callersFunctionget_random_shape
There is the initial point and 3 points per cubic bezier curve. Thus, the curve will only pass though n points, which will be the sharp
src/xy_scripts/stationary.py:64
↓ 1 callersFunctionget_random_shape
There is the initial point and 3 points per cubic bezier curve. Thus, the curve will only pass though n points, which will be the sharp
src/utils/stationary_mask.py:64
↓ 1 callersFunctionget_random_stroke_control_points
Implementation the free-form training masks generating algorithm proposed by JIAHUI YU et al. in "Free-Form Image Inpainting with Gated Convo
src/utils/mask_generators.py:127
↓ 1 callersFunctionget_random_velocity
(max_speed, dist='uniform')
src/utils/mask_generators.py:166
↓ 1 callersFunctionget_stroke_preset
(stroke_preset)
src/scripts/mask_scripts/gen_masks_davis.py:87
↓ 1 callersFunctionget_stroke_preset
(stroke_preset)
src/scripts/mask_scripts/gen_masks.py:87
↓ 1 callersFunctionget_test_data_loaders
(types, ratios)
src/scripts/dataset_json_generator.py:35
↓ 1 callersMethodindex_data
(self, data, start, end)
src/trainer/inference.py:131
↓ 1 callersMethodindex_data
(self, data, start, end)
src/trainer/trainer.py:132
↓ 1 callersFunctioninit_dm_model
()
src/evaluate.py:53
↓ 1 callersFunctioninit_warping_model
(checkpoint_path)
src/evaluate.py:31
↓ 1 callersFunctionis_image_file
(filename, mode='img')
libs/PerceptualSimilarity/data/image_folder.py:21
↓ 1 callersFunctionlandmarks_to_np
(landmarks, dtype="int")
src/utils/face.py:47
↓ 1 callersFunctionmain
(config, resume, output_root_dir=None, pretrained_path=None)
src/train.py:23
↓ 1 callersFunctionmain
(config, resume, output_root_dir=None, pretrained_path=None)
src/test.py:23
↓ 1 callersFunctionmain
(args)
src/evaluate.py:317
↓ 1 callersFunctionmain
(args)
src/scripts/compare_results.py:78
↓ 1 callersFunctionmain
()
src/scripts/FVI_checkpoint_compatibility_transform.py:80
↓ 1 callersFunctionmain
(args)
src/scripts/gen_output_videos.py:38
↓ 1 callersFunctionmain
(args)
src/scripts/check_len.py:31
↓ 1 callersFunctionmain
(args)
src/scripts/extract_frames.py:70
↓ 1 callersFunctionmain
(args)
src/scripts/rename.py:29
↓ 1 callersFunctionmain
(args, vid_lens)
src/scripts/mask_scripts/gen_masks_davis.py:226
↓ 1 callersFunctionmain
(args)
src/scripts/mask_scripts/gen_masks.py:226
↓ 1 callersFunctionmakeColorwheel
()
src/utils/visual_helper.py:31
↓ 1 callersFunctionmake_color_wheel
Generate color wheel according Middlebury color code :return: Color wheel
src/utils/flow_utils.py:129
↓ 1 callersFunctionmake_dataset
(dirs, mode='img')
libs/PerceptualSimilarity/data/image_folder.py:27
↓ 1 callersFunctionmake_temporal_shift
(net, n_segment, n_div=8, place='blockres', temporal_pool=False, gated=False, use_flow_tsm=False)
src/model/tsm/temporal_shift.py:253
↓ 1 callersFunctionmean_squared_error
(A, B)
src/utils/util.py:93
↓ 1 callersFunctionnormalize_image
(img, sigma=7/6)
libs/video_quality/niqe.py:118
↓ 1 callersFunctionnum_checkpoints
(path)
src/scripts/clean_saved.py:9
↓ 1 callersMethodoptimize_parameters
(self)
libs/PerceptualSimilarity/models/dist_model.py:158
↓ 1 callersFunctionoverride_data_setting
(config, dataset_config)
src/train.py:116
↓ 1 callersFunctionoverride_data_setting
(config, dataset_config)
src/test.py:116
↓ 1 callersFunctionparse_args
()
src/evaluate.py:63
↓ 1 callersFunctionparse_args
()
src/utils/readers.py:22
↓ 1 callersFunctionparse_args
()
src/scripts/reorder.py:16
↓ 1 callersFunctionparse_args
()
src/scripts/leave_32frames.py:10
↓ 1 callersFunctionparse_args
()
src/scripts/compare_results.py:13
↓ 1 callersFunctionparse_args
()
src/scripts/clean_files.py:11
↓ 1 callersFunctionparse_args
()
src/scripts/FVI_checkpoint_compatibility_transform.py:8
↓ 1 callersFunctionparse_args
()
src/scripts/gen_output_videos.py:11
↓ 1 callersFunctionparse_args
()
src/scripts/check_len.py:9
↓ 1 callersFunctionparse_args
()
src/scripts/extract_frames.py:14
↓ 1 callersFunctionparse_args
()
src/scripts/rename.py:5
↓ 1 callersFunctionparse_args
()
src/scripts/mask_scripts/merge_into_base.py:16
↓ 1 callersFunctionparse_args
()
src/scripts/mask_scripts/gen_masks_davis.py:16
↓ 1 callersFunctionparse_args
()
src/scripts/mask_scripts/copy_from_base.py:11
↓ 1 callersFunctionparse_args
()
src/scripts/mask_scripts/apply_mask.py:12
↓ 1 callersFunctionparse_args
()
src/scripts/mask_scripts/gen_foresics_masks.py:14
↓ 1 callersFunctionparse_args
()
src/scripts/mask_scripts/gen_masks.py:16
↓ 1 callersMethodpartialBN
(self, enable)
src/model/tsm/models.py:198
↓ 1 callersMethodplot_current_errors
(self, epoch, counter_ratio, opt, errors)
libs/PerceptualSimilarity/util/visualizer.py:126
↓ 1 callersMethodplot_current_errors_save
(self, epoch, counter_ratio, opt, errors,keys='+ALL',name='loss', to_plot=False)
libs/PerceptualSimilarity/util/visualizer.py:94
↓ 1 callersMethodprint_current_errors
(self, epoch, i, errors, t, t2=-1, t2o=-1, fid=None)
libs/PerceptualSimilarity/util/visualizer.py:142
↓ 1 callersFunctionrandom_accelerate
(velocity, maxAcceleration, dist='uniform')
src/xy_scripts/stationary.py:105
↓ 1 callersFunctionrandom_accelerate
(velocity, maxAcceleration, dist='uniform')
src/utils/stationary_mask.py:105
↓ 1 callersFunctionrandom_move_control_points
(Xs, Ys, lineVelocity, nMovePointRatio, maxPiontMove, maxLineAcceleration, boarderGap=15)
src/utils/mask_generators.py:107
↓ 1 callersFunctionrandom_move_control_points
(X, Y, imageHeight, imageWidth, lineVelocity, region_size, maxLineAcceleration=(3, 0.5), maxInitSpeed=3)
src/utils/stationary_mask.py:132
↓ 1 callersFunctionreadCompressFlow
(name)
src/utils/visual_helper.py:207
↓ 1 callersMethodread_file
(self, filename)
src/utils/readers.py:143
↓ 1 callersFunctionread_filepaths
(args)
src/scripts/extract_frames.py:52
↓ 1 callersFunctionrename_conv_to_featureConv
(checkpoint)
src/scripts/FVI_checkpoint_compatibility_transform.py:30
↓ 1 callersMethodsave_bboxes
(self)
src/utils/readers.py:243
↓ 1 callersFunctionsave_json
(name, dummy_train_data_loader, test_data_loaders)
src/scripts/dataset_json_generator.py:42
↓ 1 callersFunctionsave_video_to_frames
(video_filename, output_dir, max_len, min_h, min_w, prefix='')
src/scripts/extract_frames.py:94
↓ 1 callersMethodset_input
(self, data)
libs/PerceptualSimilarity/models/dist_model.py:170
↓ 1 callersMethodshift
(x, n_segment, fold_div=3, inplace=False)
src/model/tsm/temporal_shift.py:39
↓ 1 callersMethodshift
(x, n_segment, flows, fold_div=8, inplace=False)
src/model/tsm/temporal_shift.py:80
↓ 1 callersFunctionspatial_discounting_mask
Generate spatial discounting mask constant. Spatial discounting mask is first introduced in publication: Generative Image Inpainting with
src/utils/util.py:142
↓ 1 callersMethodstyle_loss
(self, output_features, target_features)
src/model/loss.py:83
↓ 1 callersMethodstyle_loss
(self, output_features, target_features)
src/model/loss_module.py:94
↓ 1 callersMethodsynthesize_frames
(self, bg_reader, fg_reader, mask_only=False)
src/utils/readers.py:262
← previousnext →201–300 of 693, ranked by callers