SYMBOL INDEX (271 symbols across 39 files) FILE: test_code_released_new/data/aligned_dataset.py class AlignedDataset (line 22) | class AlignedDataset(BaseDataset): method initialize (line 23) | def initialize(self, opt): method __getitem__ (line 30) | def __getitem__(self, index): method __len__ (line 64) | def __len__(self): method name (line 67) | def name(self): FILE: test_code_released_new/data/base_data_loader.py class BaseDataLoader (line 1) | class BaseDataLoader(): method __init__ (line 2) | def __init__(self): method initialize (line 5) | def initialize(self, opt): method load_data (line 9) | def load_data(): FILE: test_code_released_new/data/base_dataset.py class BaseDataset (line 6) | class BaseDataset(data.Dataset): method __init__ (line 7) | def __init__(self): method name (line 10) | def name(self): method initialize (line 13) | def initialize(self, opt): function get_transform (line 18) | def get_transform(opt): function __scale_width (line 43) | def __scale_width(img, target_width): FILE: test_code_released_new/data/custom_dataset_data_loader.py function CreateDataset (line 5) | def CreateDataset(opt): class CustomDatasetDataLoader (line 24) | class CustomDatasetDataLoader(BaseDataLoader): method name (line 25) | def name(self): method initialize (line 28) | def initialize(self, opt): method load_data (line 37) | def load_data(self): method __len__ (line 40) | def __len__(self): method __iter__ (line 43) | def __iter__(self): FILE: test_code_released_new/data/data_loader.py function CreateDataLoader (line 1) | def CreateDataLoader(opt): FILE: test_code_released_new/data/image_folder.py function is_image_file (line 21) | def is_image_file(filename): function make_dataset (line 25) | def make_dataset(dir): function make_grouped_dataset (line 40) | def make_grouped_dataset(dir): function default_loader (line 54) | def default_loader(path): class ImageFolder (line 58) | class ImageFolder(data.Dataset): method __init__ (line 60) | def __init__(self, root, transform=None, return_paths=False, method __getitem__ (line 74) | def __getitem__(self, index): method __len__ (line 84) | def __len__(self): FILE: test_code_released_new/models/base_model.py class BaseModel (line 5) | class BaseModel(): method name (line 6) | def name(self): method initialize (line 9) | def initialize(self, opt): method set_input (line 16) | def set_input(self, input): method forward (line 19) | def forward(self): method test (line 23) | def test(self): method get_image_paths (line 26) | def get_image_paths(self): method optimize_parameters (line 29) | def optimize_parameters(self): method get_current_visuals (line 32) | def get_current_visuals(self): method get_current_errors (line 35) | def get_current_errors(self): method save (line 38) | def save(self, label): method save_network (line 42) | def save_network(self, network, network_label, epoch_label, gpu_ids): method load_network (line 50) | def load_network(self, network, network_label, epoch_label,optimizer): method update_learning_rate (line 58) | def update_learning_rate(self): FILE: test_code_released_new/models/models.py function create_model (line 1) | def create_model(opt): FILE: test_code_released_new/models/networks.py function weights_init_normal (line 14) | def weights_init_normal(m): function weights_init_xavier (line 26) | def weights_init_xavier(m): function weights_init_kaiming (line 38) | def weights_init_kaiming(m): function weights_init_orthogonal (line 50) | def weights_init_orthogonal(m): function init_weights (line 62) | def init_weights(net, init_type='normal'): function get_norm_layer (line 76) | def get_norm_layer(norm_type='instance'): function get_scheduler (line 88) | def get_scheduler(optimizer, opt): function define_G (line 104) | def define_G(input_nc, output_nc, ngf, which_model_netG, norm='batch', u... function define_D (line 124) | def define_D(input_nc, ndf, which_model_netD, function print_network (line 147) | def print_network(net): class GANLoss (line 164) | class GANLoss(nn.Module): method __init__ (line 165) | def __init__(self, use_lsgan=True, target_real_label=1.0, target_fake_... method get_target_tensor (line 180) | def get_target_tensor(self, input, target_is_real): method __call__ (line 198) | def __call__(self, input, target_is_real): class VGGLoss (line 202) | class VGGLoss(nn.Module): method __init__ (line 203) | def __init__(self, gpu_ids): method forward (line 209) | def forward(self, x, y): class ResnetGenerator (line 219) | class ResnetGenerator(nn.Module): method __init__ (line 220) | def __init__(self, input_nc, output_nc, ngf=64, norm_layer=nn.BatchNor... method forward (line 264) | def forward(self, input): class ResnetBlock (line 272) | class ResnetBlock(nn.Module): method __init__ (line 273) | def __init__(self, dim, padding_type, norm_layer, use_dropout, use_bias): method build_conv_block (line 277) | def build_conv_block(self, dim, padding_type, norm_layer, use_dropout,... method forward (line 309) | def forward(self, x): class NLayerDiscriminator (line 315) | class NLayerDiscriminator(nn.Module): method __init__ (line 316) | def __init__(self, input_nc, ndf=64, n_layers=3, norm_layer=nn.BatchNo... method forward (line 375) | def forward(self, input): class PixelDiscriminator (line 387) | class PixelDiscriminator(nn.Module): method __init__ (line 388) | def __init__(self, input_nc, ndf=64, norm_layer=nn.BatchNorm2d, use_si... method forward (line 409) | def forward(self, input): class Vgg19 (line 416) | class Vgg19(torch.nn.Module): method __init__ (line 417) | def __init__(self, requires_grad=False): method forward (line 439) | def forward(self, X): FILE: test_code_released_new/models/pix2pix_model.py class Estimate (line 18) | class Estimate(nn.Module): method __init__ (line 19) | def __init__(self): method forward (line 32) | def forward(self, x): class Pix2PixModel (line 37) | class Pix2PixModel(BaseModel): method name (line 38) | def name(self): method _compute_loss_smooth (line 40) | def _compute_loss_smooth(self, mat): method initialize (line 43) | def initialize(self, opt): method set_input (line 111) | def set_input(self, input): method test (line 129) | def test(self): method get_image_paths (line 175) | def get_image_paths(self): method _compute_loss_D (line 178) | def _compute_loss_D(self, estim, is_real): FILE: test_code_released_new/models/test_model.py class TestModel (line 8) | class TestModel(BaseModel): method name (line 9) | def name(self): method initialize (line 12) | def initialize(self, opt): method set_input (line 27) | def set_input(self, input): method test (line 35) | def test(self): method get_image_paths (line 40) | def get_image_paths(self): method get_current_visuals (line 43) | def get_current_visuals(self): FILE: test_code_released_new/options/base_options.py class BaseOptions (line 7) | class BaseOptions(): method __init__ (line 8) | def __init__(self): method initialize (line 12) | def initialize(self): method parse (line 46) | def parse(self): FILE: test_code_released_new/options/test_options.py class TestOptions (line 4) | class TestOptions(BaseOptions): method initialize (line 5) | def initialize(self): FILE: test_code_released_new/options/train_options.py class TrainOptions (line 4) | class TrainOptions(BaseOptions): method initialize (line 5) | def initialize(self): FILE: test_code_released_new/test.py function main (line 23) | def main(): FILE: test_code_released_new/util/get_data.py class GetData (line 11) | class GetData(object): method __init__ (line 29) | def __init__(self, technique='cyclegan', verbose=True): method _print (line 37) | def _print(self, text): method _get_options (line 42) | def _get_options(r): method _present_options (line 48) | def _present_options(self): method _download_data (line 58) | def _download_data(self, dataset_url, save_path): method get (line 81) | def get(self, save_path, dataset=None): FILE: test_code_released_new/util/html.py class HTML (line 6) | class HTML: method __init__ (line 7) | def __init__(self, web_dir, title, reflesh=0): method get_image_dir (line 22) | def get_image_dir(self): method add_header (line 25) | def add_header(self, str): method add_table (line 29) | def add_table(self, border=1): method add_images (line 33) | def add_images(self, ims, txts, links, width=400): method save (line 45) | def save(self): FILE: test_code_released_new/util/image_pool.py class ImagePool (line 6) | class ImagePool(): method __init__ (line 7) | def __init__(self, pool_size): method query (line 13) | def query(self, images): FILE: test_code_released_new/util/util.py function tensor2im (line 10) | def tensor2im(image_tensor, imtype=np.uint8): function diagnose_network (line 18) | def diagnose_network(net, name='network'): function save_image (line 31) | def save_image(image_numpy, image_path): function print_numpy (line 36) | def print_numpy(x, val=True, shp=False): function mkdirs (line 46) | def mkdirs(paths): function mkdir (line 54) | def mkdir(path): FILE: test_code_released_new/util/visualizer.py class Visualizer (line 10) | class Visualizer(): method __init__ (line 11) | def __init__(self, opt): method reset (line 33) | def reset(self): method display_current_results (line 37) | def display_current_results(self, visuals, epoch, save_result): method plot_current_errors (line 101) | def plot_current_errors(self, epoch, counter_ratio, opt, errors): method print_current_errors (line 117) | def print_current_errors(self, epoch, i, errors, t): method save_images (line 127) | def save_images(self, webpage, visuals, image_path, aspect_ratio=1.0): FILE: test_code_released_old/data/aligned_dataset.py class AlignedDataset (line 22) | class AlignedDataset(BaseDataset): method initialize (line 23) | def initialize(self, opt): method __getitem__ (line 30) | def __getitem__(self, index): method __len__ (line 64) | def __len__(self): method name (line 67) | def name(self): FILE: test_code_released_old/data/base_data_loader.py class BaseDataLoader (line 1) | class BaseDataLoader(): method __init__ (line 2) | def __init__(self): method initialize (line 5) | def initialize(self, opt): method load_data (line 9) | def load_data(): FILE: test_code_released_old/data/base_dataset.py class BaseDataset (line 6) | class BaseDataset(data.Dataset): method __init__ (line 7) | def __init__(self): method name (line 10) | def name(self): method initialize (line 13) | def initialize(self, opt): function get_transform (line 18) | def get_transform(opt): function __scale_width (line 43) | def __scale_width(img, target_width): FILE: test_code_released_old/data/custom_dataset_data_loader.py function CreateDataset (line 5) | def CreateDataset(opt): class CustomDatasetDataLoader (line 24) | class CustomDatasetDataLoader(BaseDataLoader): method name (line 25) | def name(self): method initialize (line 28) | def initialize(self, opt): method load_data (line 37) | def load_data(self): method __len__ (line 40) | def __len__(self): method __iter__ (line 43) | def __iter__(self): FILE: test_code_released_old/data/data_loader.py function CreateDataLoader (line 1) | def CreateDataLoader(opt): FILE: test_code_released_old/data/image_folder.py function is_image_file (line 21) | def is_image_file(filename): function make_dataset (line 25) | def make_dataset(dir): function make_grouped_dataset (line 40) | def make_grouped_dataset(dir): function default_loader (line 54) | def default_loader(path): class ImageFolder (line 58) | class ImageFolder(data.Dataset): method __init__ (line 60) | def __init__(self, root, transform=None, return_paths=False, method __getitem__ (line 74) | def __getitem__(self, index): method __len__ (line 84) | def __len__(self): FILE: test_code_released_old/models/base_model.py class BaseModel (line 5) | class BaseModel(): method name (line 6) | def name(self): method initialize (line 9) | def initialize(self, opt): method set_input (line 16) | def set_input(self, input): method forward (line 19) | def forward(self): method test (line 23) | def test(self): method get_image_paths (line 26) | def get_image_paths(self): method optimize_parameters (line 29) | def optimize_parameters(self): method get_current_visuals (line 32) | def get_current_visuals(self): method get_current_errors (line 35) | def get_current_errors(self): method save (line 38) | def save(self, label): method save_network (line 42) | def save_network(self, network, network_label, epoch_label, gpu_ids): method load_network (line 50) | def load_network(self, network, network_label, epoch_label): method update_learning_rate (line 56) | def update_learning_rate(self): FILE: test_code_released_old/models/models.py function create_model (line 1) | def create_model(opt): FILE: test_code_released_old/models/networks.py function weights_init_normal (line 14) | def weights_init_normal(m): function weights_init_xavier (line 26) | def weights_init_xavier(m): function weights_init_kaiming (line 38) | def weights_init_kaiming(m): function weights_init_orthogonal (line 50) | def weights_init_orthogonal(m): function init_weights (line 62) | def init_weights(net, init_type='normal'): function get_norm_layer (line 76) | def get_norm_layer(norm_type='instance'): function get_scheduler (line 88) | def get_scheduler(optimizer, opt): function define_G (line 104) | def define_G(input_nc, output_nc, ngf, which_model_netG, norm='batch', u... function define_D (line 124) | def define_D(input_nc, ndf, which_model_netD, function print_network (line 147) | def print_network(net): class GANLoss (line 164) | class GANLoss(nn.Module): method __init__ (line 165) | def __init__(self, use_lsgan=True, target_real_label=1.0, target_fake_... method get_target_tensor (line 180) | def get_target_tensor(self, input, target_is_real): method __call__ (line 198) | def __call__(self, input, target_is_real): class VGGLoss (line 202) | class VGGLoss(nn.Module): method __init__ (line 203) | def __init__(self, gpu_ids): method forward (line 209) | def forward(self, x, y): class ResnetGenerator (line 219) | class ResnetGenerator(nn.Module): method __init__ (line 220) | def __init__(self, input_nc, output_nc, ngf=64, norm_layer=nn.BatchNor... method forward (line 264) | def forward(self, input): class ResnetBlock (line 272) | class ResnetBlock(nn.Module): method __init__ (line 273) | def __init__(self, dim, padding_type, norm_layer, use_dropout, use_bias): method build_conv_block (line 277) | def build_conv_block(self, dim, padding_type, norm_layer, use_dropout,... method forward (line 309) | def forward(self, x): class NLayerDiscriminator (line 315) | class NLayerDiscriminator(nn.Module): method __init__ (line 316) | def __init__(self, input_nc, ndf=64, n_layers=3, norm_layer=nn.BatchNo... method forward (line 375) | def forward(self, input): class PixelDiscriminator (line 387) | class PixelDiscriminator(nn.Module): method __init__ (line 388) | def __init__(self, input_nc, ndf=64, norm_layer=nn.BatchNorm2d, use_si... method forward (line 409) | def forward(self, input): class Vgg19 (line 416) | class Vgg19(torch.nn.Module): method __init__ (line 417) | def __init__(self, requires_grad=False): method forward (line 439) | def forward(self, X): FILE: test_code_released_old/models/pix2pix_model.py class Estimate (line 18) | class Estimate(nn.Module): method __init__ (line 19) | def __init__(self): method forward (line 32) | def forward(self, x): class Pix2PixModel (line 37) | class Pix2PixModel(BaseModel): method name (line 38) | def name(self): method _compute_loss_smooth (line 40) | def _compute_loss_smooth(self, mat): method initialize (line 43) | def initialize(self, opt): method set_input (line 109) | def set_input(self, input): method test (line 127) | def test(self): method get_image_paths (line 173) | def get_image_paths(self): method _compute_loss_D (line 176) | def _compute_loss_D(self, estim, is_real): FILE: test_code_released_old/models/test_model.py class TestModel (line 8) | class TestModel(BaseModel): method name (line 9) | def name(self): method initialize (line 12) | def initialize(self, opt): method set_input (line 27) | def set_input(self, input): method test (line 35) | def test(self): method get_image_paths (line 40) | def get_image_paths(self): method get_current_visuals (line 43) | def get_current_visuals(self): FILE: test_code_released_old/options/base_options.py class BaseOptions (line 7) | class BaseOptions(): method __init__ (line 8) | def __init__(self): method initialize (line 12) | def initialize(self): method parse (line 46) | def parse(self): FILE: test_code_released_old/options/test_options.py class TestOptions (line 4) | class TestOptions(BaseOptions): method initialize (line 5) | def initialize(self): FILE: test_code_released_old/options/train_options.py class TrainOptions (line 4) | class TrainOptions(BaseOptions): method initialize (line 5) | def initialize(self): FILE: test_code_released_old/util/get_data.py class GetData (line 11) | class GetData(object): method __init__ (line 29) | def __init__(self, technique='cyclegan', verbose=True): method _print (line 37) | def _print(self, text): method _get_options (line 42) | def _get_options(r): method _present_options (line 48) | def _present_options(self): method _download_data (line 58) | def _download_data(self, dataset_url, save_path): method get (line 81) | def get(self, save_path, dataset=None): FILE: test_code_released_old/util/html.py class HTML (line 6) | class HTML: method __init__ (line 7) | def __init__(self, web_dir, title, reflesh=0): method get_image_dir (line 22) | def get_image_dir(self): method add_header (line 25) | def add_header(self, str): method add_table (line 29) | def add_table(self, border=1): method add_images (line 33) | def add_images(self, ims, txts, links, width=400): method save (line 45) | def save(self): FILE: test_code_released_old/util/image_pool.py class ImagePool (line 6) | class ImagePool(): method __init__ (line 7) | def __init__(self, pool_size): method query (line 13) | def query(self, images): FILE: test_code_released_old/util/util.py function tensor2im (line 10) | def tensor2im(image_tensor, imtype=np.uint8): function diagnose_network (line 18) | def diagnose_network(net, name='network'): function save_image (line 31) | def save_image(image_numpy, image_path): function print_numpy (line 36) | def print_numpy(x, val=True, shp=False): function mkdirs (line 46) | def mkdirs(paths): function mkdir (line 54) | def mkdir(path): FILE: test_code_released_old/util/visualizer.py class Visualizer (line 10) | class Visualizer(): method __init__ (line 11) | def __init__(self, opt): method reset (line 33) | def reset(self): method display_current_results (line 37) | def display_current_results(self, visuals, epoch, save_result): method plot_current_errors (line 101) | def plot_current_errors(self, epoch, counter_ratio, opt, errors): method print_current_errors (line 117) | def print_current_errors(self, epoch, i, errors, t): method save_images (line 127) | def save_images(self, webpage, visuals, image_path, aspect_ratio=1.0):