MCPcopy Create free account

hub / github.com/VisionRush/DeepFakeDefenders / functions

Functions138 in github.com/VisionRush/DeepFakeDefenders

Method_init_weights
(self, m)
model/convnext.py:103
Methodcalc_avg_precision
(self)
toolkit/cmetric.py:50
Methodcalc_avg_precision2
(self)
toolkit/cmetric.py:76
Methodconvert_to_dict
(cfg_node, key_list)
toolkit/yacs.py:191
Functionconvnext_large
(pretrained=False, in_22k=False, **kwargs)
model/convnext.py:186
Functionconvnext_small
(pretrained=False,in_22k=False, **kwargs)
model/convnext.py:168
Functionconvnext_tiny
(pretrained=False,in_22k=False, **kwargs)
model/convnext.py:159
Functionconvnext_xlarge
(pretrained=False, in_22k=False, **kwargs)
model/convnext.py:195
Functioncreate_RepLKNet31L
(drop_path_rate=0.3, num_classes=1000, use_checkpoint=True, small_kernel_merged=False)
model/replknet.py:328
Functioncreate_RepLKNetXL
(drop_path_rate=0.3, num_classes=1000, use_checkpoint=True, small_kernel_merged=False)
model/replknet.py:333
Methoddeep_fuse_BN
(self)
model/replknet.py:303
Methoddefrost
Make this CfgNode and all of its children mutable.
toolkit/yacs.py:252
Methoddump
Dump to a string.
toolkit/yacs.py:188
Methodforward
(self, x)
main_infer.py:31
Methodforward
(self, x)
toolkit/chelper.py:14
Methodforward
(self, x)
toolkit/chelper.py:31
Methodforward
(self, x)
core/dsproc_mcls.py:20
Methodforward
(self, x)
core/dsproc_mclsmfolder.py:20
Methodforward
(self, inputs)
model/replknet.py:98
Methodforward
(self, x)
model/replknet.py:140
Methodforward
(self, x)
model/replknet.py:161
Methodforward
(self, x)
model/replknet.py:195
Methodforward
(self, x)
model/replknet.py:284
Methodforward
(self, x)
model/convnext.py:37
Methodforward
(self, x)
model/convnext.py:114
Methodforward
(self, x)
model/convnext.py:135
Methodfreeze
Make this CfgNode and all of its children immutable.
toolkit/yacs.py:248
Functioninter_api
(input_model: inputModel)
infer_api.py:21
Methodload_data_from_dir
Load image from folder. Args: dataset_list: dataset list, each folder is a category, format is [file_root].
core/dsproc_mcls.py:73
Methodload_data_from_dir
(self, dataset_list)
core/dsproc_mclsmfolder.py:90
Methodload_data_from_dir_test
(self, folders)
core/dsproc_mclsmfolder.py:72
Methodload_data_from_txt
Load image from txt. Args: img_list_txt: image txt, format is [file_path, ctg_idx]. ctg_list_txt: category txt, forma
core/dsproc_mclsmfolder.py:119
Methodmerge_from_file
Load a yaml config file and merge it this CfgNode.
toolkit/yacs.py:209
Methodmerge_from_list
Merge config (keys, values) in a list (e.g., from command line) into this CfgNode. For example, `cfg_list = ['FOO.BAR', 0.5]`.
toolkit/yacs.py:219
Methodregister_deprecated_key
Register key (e.g. `FOO.BAR`) a deprecated option. When merging deprecated keys a warning is generated and the key is ignored.
toolkit/yacs.py:277
Methodregister_renamed_key
Register a key as having been renamed from `old_name` to `new_name`. When merging a renamed key, an exception is thrown alerting to user to
toolkit/yacs.py:287
Methodreset
(self)
toolkit/cmetric.py:16
Methodset_new_allowed
Set this config (and recursively its subconfigs) to allow merging new keys from other configs.
toolkit/yacs.py:328
← previous101–138 of 138, ranked by callers