MCPcopy Create free account

hub / github.com/dbolya/yolact / functions

Functions449 in github.com/dbolya/yolact

↓ 88 callersMethodappend
Same as add just more pythonic.
utils/functions.py:28
↓ 61 callersMethodpush
(self, score:float, is_true:bool)
eval.py:523
↓ 46 callersMethodreplace
Copies new_config_dict into this config object. Note: new_config_dict can also be a config object.
data/config.py:87
↓ 40 callersFunctiong
(t)
web/scripts/jquery.js:2
↓ 39 callersMethodcopy
Copies this config into a new config object, making the changes given by new_config_dict.
data/config.py:74
↓ 39 callersFunctionw
(e,t)
web/scripts/jquery.js:2
↓ 19 callersFunctiont
(n,i)
web/scripts/jquery.js:2
↓ 18 callersMethodadd
Add a log file to the list of logs being considered.
utils/logger.py:241
↓ 18 callersMethodget_avg
Returns the average of the elements in the window.
utils/functions.py:37
↓ 16 callersFunction$
(e,t,n,r)
web/scripts/jquery.js:2
↓ 16 callersFunctiona
(t,n,r,i)
web/scripts/jquery.js:2
↓ 14 callersFunctionye
()
web/scripts/jquery.js:2
↓ 12 callersFunctionse
(e)
web/scripts/jquery.js:2
↓ 12 callersFunctionue
(e)
web/scripts/jquery.js:2
↓ 11 callersFunctioni
(e,t)
web/scripts/jquery.js:2
↓ 11 callersFunctionn
(e)
web/scripts/jquery.js:2
↓ 10 callersFunctionk
(e,t,n)
web/scripts/jquery.js:2
↓ 10 callersMethodlog
Add an iteration to the log with the specified data points. Type should be the type of information this is (e.g., train, valid, etc.)
utils/logger.py:98
↓ 9 callersFunctionN
(e,t)
web/scripts/jquery.js:2
↓ 9 callersFunctions
(e)
web/scripts/jquery.js:2
↓ 9 callersFunctionx
(e)
web/scripts/jquery.js:2
↓ 8 callersFunctionG
(e)
web/scripts/jquery.js:2
↓ 8 callersFunctionr
(e)
web/scripts/jquery.js:2
↓ 8 callersFunctionz
(e,t,n,r,i,o,a)
web/scripts/jquery.js:2
↓ 7 callersFunctionO
(e,t)
web/scripts/jquery.js:2
↓ 7 callersMethoddump
(self)
eval.py:332
↓ 7 callersFunctionenable_if
(condition, obj)
utils/augmentations.py:664
↓ 7 callersFunctionfe
(e)
web/scripts/jquery.js:2
↓ 7 callersFunctionhe
(e)
web/scripts/jquery.js:2
↓ 7 callersFunctionmt
(e)
web/scripts/jquery.js:2
↓ 7 callersMethodplot
Plot sequential log data.
utils/logger.py:338
↓ 7 callersFunctionrender
()
scripts/make_grid.py:27
↓ 7 callersMethodset_val
(self, new_val)
utils/functions.py:62
↓ 7 callersFunctionve
(e)
web/scripts/jquery.js:2
↓ 7 callersFunctionvt
(e)
web/scripts/jquery.js:2
↓ 7 callersFunctiony
(t)
web/scripts/jquery.js:2
↓ 6 callersMethod_make_layer
Here one layer means a string of n blocks.
backbone.py:283
↓ 6 callersFunctionae
()
web/scripts/jquery.js:2
↓ 6 callersFunctiondecode
Decode predicted bbox coordinates using the same scheme employed by Yolov2: https://arxiv.org/pdf/1612.08242.pdf b_x = (sigmoid(pred
layers/box_utils.py:268
↓ 6 callersFunctioninvalidate
()
web/scripts/iou.js:442
↓ 6 callersFunctiono
(o,a,s,u,c)
web/scripts/jquery.js:2
↓ 6 callersFunctionsanitize_coordinates
Sanitizes the input coordinates so that x1 < x2, x1 != x2, x1 >= 0, and x2 <= image_size. Also converts from relative to absolute coordinates
layers/box_utils.py:328
↓ 5 callersFunctionFe
(e,t,n)
web/scripts/jquery.js:2
↓ 5 callersFunctionRe
(e,t,n,r)
web/scripts/jquery.js:2
↓ 5 callersMethod__init__
(self, inplanes, planes, stride=1, downsample=None, norm_layer=nn.BatchNorm2d, dilation=1, use_dcn=False)
backbone.py:17
↓ 5 callersMethod_decode
(self, query:str)
utils/logger.py:174
↓ 5 callersMethod_follow
(self, entry:LogEntry, query:list)
utils/logger.py:189
↓ 5 callersMethod_make_layer
Here one layer means a string of n Bottleneck blocks.
backbone.py:94
↓ 5 callersMethodadd
Adds an element to the window, removing the earliest element if necessary.
utils/functions.py:16
↓ 5 callersMethodbackward
(ctx, grad_output)
external/DCNv2/dcn_v2.py:37
↓ 5 callersFunctionjaccard
Compute the jaccard overlap of two sets of boxes. The jaccard overlap is simply the intersection over union of two boxes. Here we operate on
layers/box_utils.py:54
↓ 5 callersFunctionmake_toggle
(name, setting)
web/scripts/viewer.js:132
↓ 5 callersFunctionxe
(e)
web/scripts/jquery.js:2
↓ 4 callersFunction$e
(t)
web/scripts/jquery.js:2
↓ 4 callersFunctionY
(e)
web/scripts/jquery.js:2
↓ 4 callersMethod__init__
(self, in_channels)
yolact.py:283
↓ 4 callersFunctionclear
(c)
web/scripts/iou.js:222
↓ 4 callersFunctiondarknetconvlayer
Implements a conv, activation, then batch norm. Arguments are passed into the conv layer.
backbone.py:222
↓ 4 callersMethodfreeze_bn
Adapted from https://discuss.pytorch.org/t/how-to-train-with-frozen-batchnorm/12106/8
yolact.py:555
↓ 4 callersFunctiongetMouse
(e)
web/scripts/iou.js:448
↓ 4 callersFunctiongrabMAP
(string)
scripts/parse_eval.py:20
↓ 4 callersFunctionmake_net
A helper function to take a config setting and turn it into a network. Used by protonet and extrahead. Returns (network, out_channels)
utils/functions.py:163
↓ 4 callersFunctionme
(e,t,n)
web/scripts/jquery.js:2
↓ 4 callersFunctionoe
(e,t,r,i)
web/scripts/jquery.js:2
↓ 4 callersFunctionpretty_str
(x:list)
scripts/optimize_bboxes.py:157
↓ 4 callersFunctionreplace
(name)
train.py:101
↓ 4 callersMethodreset
Resets the MovingAverage to its initial state.
utils/functions.py:32
↓ 4 callersFunctionset_cfg
Sets the active config. Works even if cfg is already imported!
data/config.py:812
↓ 4 callersFunctionsmoother
(y, interval=100)
scripts/plot_loss.py:35
↓ 4 callersMethodtrain
(self, mode=True)
yolact.py:549
↓ 4 callersFunctionut
(e,t)
web/scripts/jquery.js:2
↓ 4 callersFunctionwe
(e,t,n,r,i)
web/scripts/jquery.js:2
↓ 3 callersFunctionC
(e)
web/scripts/jquery.js:2
↓ 3 callersFunctionS
(e,t)
web/scripts/jquery.js:2
↓ 3 callersFunctionZe
(e,t,n,r,i,o)
web/scripts/jquery.js:2
↓ 3 callersMethod__init__
(self, in_channels, out_channels, kernel_size, stride, padding, dilation=1,
external/DCNv2/dcn_v2.py:99
↓ 3 callersFunctionappend_html
()
web/scripts/viewer.js:108
↓ 3 callersFunctionce
(e,t)
web/scripts/jquery.js:2
↓ 3 callersFunctionevalimage
(net:Yolact, path:str, save_path:str=None)
eval.py:595
↓ 3 callersMethodfrom_str
(path:str)
utils/functions.py:115
↓ 3 callersMethodgather
(self, outputs, output_device)
eval.py:632
↓ 3 callersFunctionge
(e)
web/scripts/jquery.js:2
↓ 3 callersMethodget_latest
Note: config should be config.name.
utils/functions.py:144
↓ 3 callersFunctiongpu_info
Returns a dictionary of stats mined from nvidia-smi for each gpu in a list. Adapted from nvgpu: https://pypi.org/project/nvgpu/, but mine has
utils/nvinfo.py:7
↓ 3 callersFunctiongradinator
(x)
train.py:395
↓ 3 callersFunctionj
(e,t,n)
web/scripts/jquery.js:2
↓ 3 callersFunctionle
(e,t)
web/scripts/jquery.js:2
↓ 3 callersFunctionpostprocess
Postprocesses the output of Yolact on testing mode into a format that makes sense, accounting for all the possible configuration settings.
layers/output_utils.py:15
↓ 3 callersFunctionprep_display
Note: If undo_transform=False then im_h and im_w are allowed to be None.
eval.py:135
↓ 3 callersFunctionrender
()
web/scripts/viewer.js:169
↓ 3 callersMethodsave_weights
Saves the model's weights using compression because the file sizes were getting too big.
yolact.py:473
↓ 3 callersFunctionu
()
web/scripts/jquery.js:2
↓ 3 callersFunctionxt
(e)
web/scripts/jquery.js:2
↓ 3 callersFunctionzt
(e,t)
web/scripts/jquery.js:2
↓ 2 callersFunctionDe
(e,t,n,r,i,o)
web/scripts/jquery.js:2
↓ 2 callersFunctionFt
(e)
web/scripts/jquery.js:2
↓ 2 callersFunctionIe
(e,t,n)
web/scripts/jquery.js:2
↓ 2 callersFunctionJe
(e)
web/scripts/jquery.js:2
↓ 2 callersFunctionLe
(e,t)
web/scripts/jquery.js:2
↓ 2 callersFunctionP
(e,t)
web/scripts/jquery.js:2
next →1–100 of 449, ranked by callers