03 2021 档案
摘要:img处理 1 trainset = train_dataset.InpaintDataset(opt) 2 print('The overall number of images equals to %d' % len(trainset)) View Code 1 def __init__(sel
阅读全文
摘要:# random_bbox 确定mask=0的位置和大小参数:[t, l, h, w ] 1 bboxes = random_bbox(config, batch_size=ground_truth.size(0)) # 随机确定128*128的方形区域 2 def random_bbox(conf
阅读全文
摘要:# config 1 # data parameters 2 dataset_name: paris 3 data_with_subfolder: False # 是否有子文件夹 4 train_data_path: F:\\pycharm\\Dataset\\paris\\paris_eval_g
阅读全文

浙公网安备 33010602011771号