Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeuTao/FaceBagNet
/ functions
Functions
124 in github.com/SeuTao/FaceBagNet
⨍
Functions
124
◇
Types & classes
22
Method
forward
(self, x)
model/FaceBagNet.py:27
Method
forward
(self, x)
model/FaceBagNet.py:40
Method
forward
(self, x)
model/FaceBagNet.py:263
Method
forward
(self, x)
model/FaceBagNet.py:443
Method
forward
(self, x)
model/ViP.py:11
Method
forward
(self, x)
model/ViP.py:19
Method
get_classifier
(self)
model/MultiModalViT.py:261
Method
get_layer_id
(self, var_name)
loss/optim_factory.py:52
Method
get_num_layers
(self)
model/MultiModalViT.py:254
Method
get_scale
(self, layer_id)
loss/optim_factory.py:49
Function
load
(name)
utils.py:19
Method
load_pretrain
(self, pretrain_file)
model/FaceBagNet.py:318
Method
load_pretrain
(self, pretrain_file)
model/FaceBagNet.py:417
Function
np_float32_to_uint8
(x, scale=255.0)
utils.py:111
Function
np_uint8_to_float32
(x, scale=255.0)
utils.py:114
Function
random_erasing
(img, probability = 0.5, sl = 0.02, sh = 0.5, r1 = 0.5, channel = 3)
process/augmentation.py:172
Function
remove
(file)
utils.py:61
Function
remove_comments
Generator. Strips comments and whitespace from input lines.
utils.py:51
Method
reset_classifier
(self, num_classes, global_pool='')
model/MultiModalViT.py:264
Function
save
(list_or_dict,name)
utils.py:14
Method
set_mode
(self, mode, is_freeze_bn=False )
model/FaceBagNet.py:376
Method
set_mode
(self, mode, is_freeze_bn=False )
model/FaceBagNet.py:464
Function
softmax_cross_entropy_criterion
(logit, truth, is_average=True)
utils.py:43
Function
to_var
(x, volatile=False)
utils.py:38
← previous
101–124 of 124, ranked by callers