Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionRush/DeepFakeDefenders
/ functions
Functions
138 in github.com/VisionRush/DeepFakeDefenders
⨍
Functions
138
◇
Types & classes
22
↳
Endpoints
1
Method
_init_weights
(self, m)
model/convnext.py:103
Method
calc_avg_precision
(self)
toolkit/cmetric.py:50
Method
calc_avg_precision2
(self)
toolkit/cmetric.py:76
Method
convert_to_dict
(cfg_node, key_list)
toolkit/yacs.py:191
Function
convnext_large
(pretrained=False, in_22k=False, **kwargs)
model/convnext.py:186
Function
convnext_small
(pretrained=False,in_22k=False, **kwargs)
model/convnext.py:168
Function
convnext_tiny
(pretrained=False,in_22k=False, **kwargs)
model/convnext.py:159
Function
convnext_xlarge
(pretrained=False, in_22k=False, **kwargs)
model/convnext.py:195
Function
create_RepLKNet31L
(drop_path_rate=0.3, num_classes=1000, use_checkpoint=True, small_kernel_merged=False)
model/replknet.py:328
Function
create_RepLKNetXL
(drop_path_rate=0.3, num_classes=1000, use_checkpoint=True, small_kernel_merged=False)
model/replknet.py:333
Method
deep_fuse_BN
(self)
model/replknet.py:303
Method
defrost
Make this CfgNode and all of its children mutable.
toolkit/yacs.py:252
Method
dump
Dump to a string.
toolkit/yacs.py:188
Method
forward
(self, x)
main_infer.py:31
Method
forward
(self, x)
toolkit/chelper.py:14
Method
forward
(self, x)
toolkit/chelper.py:31
Method
forward
(self, x)
core/dsproc_mcls.py:20
Method
forward
(self, x)
core/dsproc_mclsmfolder.py:20
Method
forward
(self, inputs)
model/replknet.py:98
Method
forward
(self, x)
model/replknet.py:140
Method
forward
(self, x)
model/replknet.py:161
Method
forward
(self, x)
model/replknet.py:195
Method
forward
(self, x)
model/replknet.py:284
Method
forward
(self, x)
model/convnext.py:37
Method
forward
(self, x)
model/convnext.py:114
Method
forward
(self, x)
model/convnext.py:135
Method
freeze
Make this CfgNode and all of its children immutable.
toolkit/yacs.py:248
Function
inter_api
(input_model: inputModel)
infer_api.py:21
Method
load_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
Method
load_data_from_dir
(self, dataset_list)
core/dsproc_mclsmfolder.py:90
Method
load_data_from_dir_test
(self, folders)
core/dsproc_mclsmfolder.py:72
Method
load_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
Method
merge_from_file
Load a yaml config file and merge it this CfgNode.
toolkit/yacs.py:209
Method
merge_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
Method
register_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
Method
register_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
Method
reset
(self)
toolkit/cmetric.py:16
Method
set_new_allowed
Set this config (and recursively its subconfigs) to allow merging new keys from other configs.
toolkit/yacs.py:328
← previous
101–138 of 138, ranked by callers