Exemplo n.º 1
0
def main(opts):

    load_config(opts.config)

    device = torch.device("cuda:0" if (
        torch.cuda.is_available() and config.NUM_GPUS > 0) else "cpu")
    baseline_eval(config, device)
Exemplo n.º 2
0
def main(opts):

    load_config(opts.config)

    device = torch.device("cuda:0" if (
        torch.cuda.is_available() and config.NUM_GPUS > 0) else "cpu")
    quantitative(config, device)
Exemplo n.º 3
0
def main(opts):

    load_config(opts.config)

    dataloader = lidar_camera_dataloader(config, transforms_, transforms_seg)
    device = torch.device("cuda:0" if (
        torch.cuda.is_available() and config.NUM_GPUS > 0) else "cpu")
    train(dataloader, config, device)
Exemplo n.º 4
0
def main(opts):
    load_config(opts.config)
    dataloader = lstm_cycle_dataloader(config)
    device = torch.device("cuda:0" if (
        torch.cuda.is_available() and config.NUM_GPUS > 0) else "cpu")
    train(dataloader, config, device)