SYMBOL INDEX (147 symbols across 15 files) FILE: data/__init__.py function detection_collate (line 9) | def detection_collate(batch): function base_transform (line 30) | def base_transform(image, size, mean): class BaseTransform (line 37) | class BaseTransform: method __init__ (line 38) | def __init__(self, size, mean): method __call__ (line 42) | def __call__(self, image, boxes=None, labels=None): FILE: data/coco.py function get_label_map (line 33) | def get_label_map(label_file): class COCOAnnotationTransform (line 42) | class COCOAnnotationTransform(object): method __init__ (line 46) | def __init__(self): method __call__ (line 49) | def __call__(self, target, width, height): class COCODetection (line 75) | class COCODetection(data.Dataset): method __init__ (line 86) | def __init__(self, root, image_set='trainval35k', transform=None, method __getitem__ (line 98) | def __getitem__(self, index): method __len__ (line 109) | def __len__(self): method pull_item (line 112) | def pull_item(self, index): method pull_image (line 141) | def pull_image(self, index): method pull_anno (line 156) | def pull_anno(self, index): method __repr__ (line 172) | def __repr__(self): FILE: data/voc0712.py class VOCAnnotationTransform (line 30) | class VOCAnnotationTransform(object): method __init__ (line 43) | def __init__(self, class_to_ind=None, keep_difficult=False): method __call__ (line 48) | def __call__(self, target, width, height): class VOCDetection (line 79) | class VOCDetection(data.Dataset): method __init__ (line 96) | def __init__(self, root, method __getitem__ (line 113) | def __getitem__(self, index): method __len__ (line 118) | def __len__(self): method pull_item (line 121) | def pull_item(self, index): method pull_image (line 140) | def pull_image(self, index): method pull_anno (line 154) | def pull_anno(self, index): method pull_tensor (line 171) | def pull_tensor(self, index): FILE: demo/live.py function cv2_demo (line 20) | def cv2_demo(net, transform): FILE: eval.py function str2bool (line 32) | def str2bool(v): class Timer (line 79) | class Timer(object): method __init__ (line 81) | def __init__(self): method tic (line 88) | def tic(self): method toc (line 93) | def toc(self, average=True): function parse_rec (line 104) | def parse_rec(filename): function get_output_dir (line 124) | def get_output_dir(name, phase): function get_voc_results_file_template (line 136) | def get_voc_results_file_template(image_set, cls): function write_voc_results_file (line 146) | def write_voc_results_file(all_boxes, dataset): function do_python_eval (line 163) | def do_python_eval(output_dir='output', use_07=True): function voc_ap (line 194) | def voc_ap(rec, prec, use_07_metric=True): function voc_eval (line 228) | def voc_eval(detpath, function test_net (line 364) | def test_net(save_folder, net, cuda, dataset, transform, top_k, function evaluate_detections (line 416) | def evaluate_detections(box_list, output_dir, dataset): FILE: layers/box_utils.py function point_form (line 6) | def point_form(boxes): function center_size (line 18) | def center_size(boxes): function intersect (line 30) | def intersect(box_a, box_b): function jaccard (line 51) | def jaccard(box_a, box_b): function IoG (line 71) | def IoG(box_a, box_b): function match (line 91) | def match(threshold, predicts, truths, priors, variances, labels, loc_t,... function encode (line 154) | def encode(matched, priors, variances): function decode (line 179) | def decode(loc, priors, variances): function decode_new (line 199) | def decode_new(loc, priors, variances): function log_sum_exp (line 218) | def log_sum_exp(x): function nms (line 232) | def nms(boxes, scores, overlap=0.5, top_k=200): FILE: layers/functions/detection.py class Detect (line 7) | class Detect(Function): method __init__ (line 13) | def __init__(self, num_classes, bkg_label, top_k, conf_thresh, nms_thr... method forward (line 24) | def forward(self, loc_data, conf_data, prior_data): FILE: layers/functions/prior_box.py class PriorBox (line 7) | class PriorBox(object): method __init__ (line 11) | def __init__(self, cfg): method forward (line 28) | def forward(self): FILE: layers/modules/l2norm.py class L2Norm (line 7) | class L2Norm(nn.Module): method __init__ (line 8) | def __init__(self,n_channels, scale): method reset_parameters (line 16) | def reset_parameters(self): method forward (line 19) | def forward(self, x): FILE: layers/modules/multibox_loss.py class MultiBoxLoss (line 12) | class MultiBoxLoss(nn.Module): method __init__ (line 35) | def __init__(self, num_classes, overlap_thresh, prior_for_matching, method forward (line 50) | def forward(self, predictions, targets): FILE: layers/modules/repulsion_loss.py class RepulsionLoss (line 12) | class RepulsionLoss(nn.Module): method __init__ (line 14) | def __init__(self, use_gpu=True, sigma=0.): method smoothln (line 21) | def smoothln(self, x, sigma=0.): method forward (line 24) | def forward(self, loc_data, ground_data, prior_data): FILE: ssd.py class SSD (line 10) | class SSD(nn.Module): method __init__ (line 28) | def __init__(self, phase, size, base, extras, head, num_classes): method forward (line 50) | def forward(self, x): method load_weights (line 113) | def load_weights(self, base_file): function vgg (line 126) | def vgg(cfg, i, batch_norm=False): function add_extras (line 149) | def add_extras(cfg, i, batch_norm=False): function multibox (line 166) | def multibox(vgg, extra_layers, cfg, num_classes): function build_ssd (line 198) | def build_ssd(phase, size=300, num_classes=21): FILE: test.py function test_net (line 38) | def test_net(save_folder, net, cuda, testset, transform, thresh): function test_voc (line 81) | def test_voc(): FILE: train.py function str2bool (line 20) | def str2bool(v): function train (line 74) | def train(): function adjust_learning_rate (line 213) | def adjust_learning_rate(optimizer, gamma, step): function xavier (line 224) | def xavier(param): function weights_init (line 228) | def weights_init(m): function create_vis_plot (line 234) | def create_vis_plot(_xlabel, _ylabel, _title, _legend): function update_vis_plot (line 247) | def update_vis_plot(iteration, loc, conf, window1, window2, update_type, FILE: utils/augmentations.py function intersect (line 9) | def intersect(box_a, box_b): function jaccard_numpy (line 16) | def jaccard_numpy(box_a, box_b): class Compose (line 36) | class Compose(object): method __init__ (line 47) | def __init__(self, transforms): method __call__ (line 50) | def __call__(self, img, boxes=None, labels=None): class Lambda (line 56) | class Lambda(object): method __init__ (line 59) | def __init__(self, lambd): method __call__ (line 63) | def __call__(self, img, boxes=None, labels=None): class ConvertFromInts (line 67) | class ConvertFromInts(object): method __call__ (line 68) | def __call__(self, image, boxes=None, labels=None): class SubtractMeans (line 72) | class SubtractMeans(object): method __init__ (line 73) | def __init__(self, mean): method __call__ (line 76) | def __call__(self, image, boxes=None, labels=None): class ToAbsoluteCoords (line 82) | class ToAbsoluteCoords(object): method __call__ (line 83) | def __call__(self, image, boxes=None, labels=None): class ToPercentCoords (line 93) | class ToPercentCoords(object): method __call__ (line 94) | def __call__(self, image, boxes=None, labels=None): class Resize (line 104) | class Resize(object): method __init__ (line 105) | def __init__(self, size=300): method __call__ (line 108) | def __call__(self, image, boxes=None, labels=None): class RandomSaturation (line 114) | class RandomSaturation(object): method __init__ (line 115) | def __init__(self, lower=0.5, upper=1.5): method __call__ (line 121) | def __call__(self, image, boxes=None, labels=None): class RandomHue (line 128) | class RandomHue(object): method __init__ (line 129) | def __init__(self, delta=18.0): method __call__ (line 133) | def __call__(self, image, boxes=None, labels=None): class RandomLightingNoise (line 141) | class RandomLightingNoise(object): method __init__ (line 142) | def __init__(self): method __call__ (line 147) | def __call__(self, image, boxes=None, labels=None): class ConvertColor (line 155) | class ConvertColor(object): method __init__ (line 156) | def __init__(self, current='BGR', transform='HSV'): method __call__ (line 160) | def __call__(self, image, boxes=None, labels=None): class RandomContrast (line 170) | class RandomContrast(object): method __init__ (line 171) | def __init__(self, lower=0.5, upper=1.5): method __call__ (line 178) | def __call__(self, image, boxes=None, labels=None): class RandomBrightness (line 185) | class RandomBrightness(object): method __init__ (line 186) | def __init__(self, delta=32): method __call__ (line 191) | def __call__(self, image, boxes=None, labels=None): class ToCV2Image (line 198) | class ToCV2Image(object): method __call__ (line 199) | def __call__(self, tensor, boxes=None, labels=None): class ToTensor (line 203) | class ToTensor(object): method __call__ (line 204) | def __call__(self, cvimage, boxes=None, labels=None): class RandomSampleCrop (line 208) | class RandomSampleCrop(object): method __init__ (line 221) | def __init__(self): method __call__ (line 234) | def __call__(self, image, boxes=None, labels=None): class Expand (line 312) | class Expand(object): method __init__ (line 313) | def __init__(self, mean): method __call__ (line 316) | def __call__(self, image, boxes, labels): class RandomMirror (line 340) | class RandomMirror(object): method __call__ (line 341) | def __call__(self, image, boxes, classes): class SwapChannels (line 350) | class SwapChannels(object): method __init__ (line 358) | def __init__(self, swaps): method __call__ (line 361) | def __call__(self, image): class PhotometricDistort (line 376) | class PhotometricDistort(object): method __init__ (line 377) | def __init__(self): method __call__ (line 389) | def __call__(self, image, boxes, labels): class SSDAugmentation (line 400) | class SSDAugmentation(object): method __init__ (line 401) | def __init__(self, size=300, mean=(104, 117, 123)): method __call__ (line 416) | def __call__(self, img, boxes, labels):