SYMBOL INDEX (82 symbols across 16 files) FILE: data_loader.py class DemoFaceDataset (line 21) | class DemoFaceDataset(data.Dataset): method __init__ (line 28) | def __init__(self, root, split='train', set='tiny', im_size=250): method __len__ (line 66) | def __len__(self): method __getitem__ (line 72) | def __getitem__(self, index): class LFWDataset (line 100) | class LFWDataset(data.Dataset): method __init__ (line 106) | def __init__(self, path_list, issame_list, transforms, split = 'test'): method __len__ (line 118) | def __len__(self): method __getitem__ (line 121) | def __getitem__(self, index): class IJBADataset (line 131) | class IJBADataset(data.Dataset): method __init__ (line 137) | def __init__(self, path_list, transforms, split=1): method __len__ (line 148) | def __len__(self): method __getitem__ (line 151) | def __getitem__(self, index): FILE: finetune.py function lr_scheduler (line 20) | def lr_scheduler(optimizer, epoch, init_lr=0.001, lr_decay_epoch=7): class Trainer (line 34) | class Trainer(object): method __init__ (line 37) | def __init__(self, cuda, model, criterion, optimizer, init_lr, method validate (line 85) | def validate(self, max_num=500): method train_epoch (line 169) | def train_epoch(self): method eval_metric (line 230) | def eval_metric(self, lbl_pred, lbl_true): method train (line 241) | def train(self): FILE: ijba/eval_ijba_1_1.py function main (line 59) | def main(): FILE: lfw/eval_lfw.py function main (line 46) | def main(): FILE: models.py class NormFeat (line 11) | class NormFeat(nn.Module): method __init__ (line 13) | def __init__(self, scale_factor=1.0): method forward (line 17) | def forward(self, input): class ScaleFeat (line 21) | class ScaleFeat(nn.Module): method __init__ (line 23) | def __init__(self, scale_factor=50.0): method forward (line 27) | def forward(self, input): function get_upsampling_weight (line 32) | def get_upsampling_weight(in_channels, out_channels, kernel_size): class FCN32sColor (line 49) | class FCN32sColor(nn.Module): method __init__ (line 51) | def __init__(self, n_class=32, bin_type='one-hot', batch_norm=True): method _initialize_weights (line 159) | def _initialize_weights(self): method forward (line 170) | def forward(self, x): class FCN16sColor (line 268) | class FCN16sColor(nn.Module): method __init__ (line 270) | def __init__(self, n_class=32, bin_type='one-hot', batch_norm=True): method _initialize_weights (line 373) | def _initialize_weights(self): method forward (line 384) | def forward(self, x): method copy_params_from_fcn32s (line 480) | def copy_params_from_fcn32s(self, fcn32s): class FCN8sColor (line 494) | class FCN8sColor(nn.Module): method __init__ (line 496) | def __init__(self, n_class=32, bin_type='one-hot', batch_norm=True): method _initialize_weights (line 604) | def _initialize_weights(self): method forward (line 615) | def forward(self, x): method copy_params_from_fcn16s (line 722) | def copy_params_from_fcn16s(self, fcn16s): FILE: tests/test_colorizer.py function test_color_gmm (line 27) | def test_color_gmm(): function main (line 58) | def main(): FILE: tests/test_data_reader.py function test_single_read (line 22) | def test_single_read(): function test_single_read_dimcheck (line 32) | def test_single_read_dimcheck(): function test_train_loader (line 44) | def test_train_loader(): function test_dataset_read (line 60) | def test_dataset_read(): function test_cmyk_read (line 76) | def test_cmyk_read(): function test_grayscale_read (line 92) | def test_grayscale_read(): function test_rgb_hsv (line 107) | def test_rgb_hsv(): function test_soft_bins (line 117) | def test_soft_bins(): function test_lowpass_image (line 127) | def test_lowpass_image(): function test_init_gmm (line 137) | def test_init_gmm(): function main (line 149) | def main(): FILE: tests/test_fcn32s.py function test_get_upsampling_weight (line 13) | def test_get_upsampling_weight(): FILE: tests/vis_prediction.py function main (line 29) | def main(): FILE: train.py function lr_scheduler (line 20) | def lr_scheduler(optimizer, epoch, init_lr=0.001, lr_decay_epoch=7): class Trainer (line 34) | class Trainer(object): method __init__ (line 37) | def __init__(self, cuda, model, criterion, optimizer, init_lr, method validate (line 85) | def validate(self, max_num=500): method train_epoch (line 168) | def train_epoch(self): method eval_metric (line 231) | def eval_metric(self, lbl_pred, lbl_true): method train (line 242) | def train(self): FILE: umd-face/run_crop_face.py function main (line 28) | def main(): function crop_batch (line 87) | def crop_batch(data_dir, annot_fn, out_dir, nval): FILE: umd-face/train_resnet_umdface.py function main (line 36) | def main(): function get_log_dir (line 258) | def get_log_dir(model_name, config_id, cfg, verbose=True): FILE: utils.py function make_weights_for_balanced_classes (line 28) | def make_weights_for_balanced_classes(images, nclasses): function get_vgg_class_counts (line 51) | def get_vgg_class_counts(log_path): function plot_log_csv (line 61) | def plot_log_csv(log_path): function plot_log (line 122) | def plot_log(log_path): function savgol_smooth (line 208) | def savgol_smooth(y, box_pts): function get_paths (line 240) | def get_paths(lfw_dir, pairs, file_ext): function read_pairs (line 264) | def read_pairs(pairs_filename, lfw_flag=True): function get_ijba_1_1_metadata (line 281) | def get_ijba_1_1_metadata(protocol_file): function read_ijba_pairs (line 306) | def read_ijba_pairs(pairs_filename): FILE: vgg-face-2/calculate_image_mean.py function main (line 29) | def main(): FILE: vgg-face-2/train_resnet101_vggface.py function main (line 36) | def main(): function get_log_dir (line 281) | def get_log_dir(model_name, config_id, cfg, verbose=True): FILE: vgg-face-2/train_resnet50_vggface_scratch.py function main (line 36) | def main(): function get_log_dir (line 281) | def get_log_dir(model_name, config_id, cfg, verbose=True):