Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeformRobotics/OTS
/ functions
Functions
180 in github.com/FreeformRobotics/OTS
⨍
Functions
180
◇
Types & classes
46
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
models/resnet.py:27
Method
__init__
(self, inplanes, planes, stride=1, downsample=None)
models/resnet.py:59
Method
__iter__
(self)
lib/utils/data/dataloader.py:290
Method
__iter__
(self)
lib/utils/data/dataloader.py:421
Method
__iter__
(self)
lib/utils/data/distributed.py:37
Method
__iter__
(self)
lib/utils/data/sampler.py:15
Method
__iter__
(self)
lib/utils/data/sampler.py:32
Method
__iter__
(self)
lib/utils/data/sampler.py:49
Method
__iter__
(self)
lib/utils/data/sampler.py:66
Method
__iter__
(self)
lib/utils/data/sampler.py:89
Method
__iter__
(self)
lib/utils/data/sampler.py:117
Method
__len__
(self)
dataset.py:201
Method
__len__
(self)
dataset.py:254
Method
__len__
(self)
dataset.py:295
Method
__len__
(self)
lib/utils/data/dataloader.py:249
Method
__len__
(self)
lib/utils/data/dataloader.py:424
Method
__len__
(self)
lib/utils/data/distributed.py:54
Method
__len__
(self)
lib/utils/data/dataset.py:19
Method
__len__
(self)
lib/utils/data/dataset.py:45
Method
__len__
(self)
lib/utils/data/dataset.py:75
Method
__len__
(self)
lib/utils/data/dataset.py:101
Method
__len__
(self)
lib/utils/data/sampler.py:18
Method
__len__
(self)
lib/utils/data/sampler.py:35
Method
__len__
(self)
lib/utils/data/sampler.py:52
Method
__len__
(self)
lib/utils/data/sampler.py:69
Method
__len__
(self)
lib/utils/data/sampler.py:92
Method
__len__
(self)
lib/utils/data/sampler.py:127
Method
__next__
(self)
lib/utils/data/dataloader.py:261
Function
_async_copy
(inputs, device_ids)
lib/nn/parallel/data_parallel.py:69
Method
_check_input_dim
(self, input)
lib/nn/modules/batchnorm.py:261
Method
_check_input_dim
(self, input)
lib/nn/modules/batchnorm.py:325
Method
_data_parallel_master
Reduce the sum and square-sum, compute the statistics, and broadcast it.
lib/nn/modules/batchnorm.py:98
Method
_nostride_dilate
(self, m, dilate)
models/models.py:141
Function
_worker_loop
(dataset, index_queue, data_queue, collate_fn, seed, init_fn, worker_id)
lib/utils/data/dataloader.py:37
Function
_worker_manager_loop
(in_queue, out_queue, done_event, pin_memory, device_id)
lib/utils/data/dataloader.py:67
Function
accuracy
(preds, label)
utils.py:128
Function
as_variable
(obj)
lib/utils/th.py:8
Method
average
(self)
utils.py:64
Function
colorEncode
(labelmap, colors, mode='RGB')
utils.py:111
Function
conv3x3_bn_relu
3x3 convolution + BN + relu
models/models.py:101
Method
cummulative_sizes
(self)
lib/utils/data/dataset.py:87
Function
default_collate
Puts each data field into a tensor with outer dimension batch size
lib/utils/data/dataloader.py:104
Function
find_recursive
(root_dir, ext='.jpg')
utils.py:25
Method
forward
(self, input)
lib/nn/modules/batchnorm.py:56
Method
forward
(self, feed_dict, *, segSize=None)
models/models.py:29
Method
forward
(self, x, return_feature_maps=False)
models/models.py:156
Method
forward
(self, conv_out, segSize=None)
models/models.py:199
Method
forward
(self, x)
models/ots.py:28
Method
forward
(self, x)
models/ots.py:59
Method
forward
(self, x)
models/ots.py:76
Method
forward
(self, x)
models/resnet.py:37
Method
forward
(self, x)
models/resnet.py:72
Method
forward
(self, x)
models/resnet.py:143
Method
gather
(self, outputs, output_device)
lib/nn/parallel/data_parallel.py:49
Function
handler
(signum, frame)
lib/utils/data/dataloader.py:177
Function
handy_var
(a, unbias=True)
lib/nn/modules/tests/test_sync_batchnorm.py:19
Function
intersectionAndUnion
(imPred, imLab, numClass)
utils.py:136
Function
mark_volatile
(obj)
lib/utils/th.py:30
Function
new_replicate
(module, device_ids)
lib/nn/modules/replicate.py:89
Method
nr_slaves
(self)
lib/nn/modules/comm.py:130
Function
parse_devices
Parse user's devices input str to standard format. e.g. [gpu0, gpu1, ...]
utils.py:180
Function
patch_replication_callback
Monkey-patch an existing `DataParallel` object. Add the replication callback. Useful when you have customized `DataParallel` implementation.
lib/nn/modules/replicate.py:70
Function
process_range
(xpu, inp)
utils.py:163
Function
random_split
Randomly split a dataset into non-overlapping new datasets of given lengths ds Arguments: dataset (Dataset): Dataset to be split
lib/utils/data/dataset.py:105
Method
replicate
(self, module, device_ids)
lib/nn/modules/replicate.py:64
Function
resnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet.py:196
Function
resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet.py:160
Function
resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
models/resnet.py:184
Method
scatter
(self, inputs, kwargs, device_ids)
lib/nn/parallel/data_parallel.py:54
Method
set_epoch
(self, epoch)
lib/utils/data/distributed.py:57
Function
setup_logger
(distributed_rank=0, filename="log.txt")
utils.py:10
Method
testNumericBatchNorm
(self)
lib/nn/modules/tests/test_numeric_batchnorm.py:30
Method
testSyncBatchNorm2DSyncTrain
(self)
lib/nn/modules/tests/test_sync_batchnorm.py:99
Method
testSyncBatchNormNormalEval
(self)
lib/nn/modules/tests/test_sync_batchnorm.py:73
Method
testSyncBatchNormNormalTrain
(self)
lib/nn/modules/tests/test_sync_batchnorm.py:67
Method
testSyncBatchNormSyncEval
(self)
lib/nn/modules/tests/test_sync_batchnorm.py:89
Method
testSyncBatchNormSyncTrain
(self)
lib/nn/modules/tests/test_sync_batchnorm.py:79
Function
user_scattered_collate
(batch)
lib/nn/parallel/data_parallel.py:65
Method
value
(self)
utils.py:61
Method
weights_init
(m)
models/models.py:53
← previous
101–180 of 180, ranked by callers