프로젝트

일반

사용자정보

개정판 a6b28afb

IDa6b28afbaf31b7b4d2615c78a16cedf8daea7cdf
상위 15c7484f
하위 be9a6cf5, 33b601f2

함의성이(가) 약 5년 전에 추가함

issue #1366: tile size 500 -> 850 for opc test

Change-Id: I20bea9dc274badf03ae6a262ded798f30a765517

차이점 보기:

DTI_PID/WebServer/symbol_recognition/test_doftech_all_images.py
94 94
        s_image = img_list[idx_img].copy()
95 95
        l_image = img_list[idx_img].copy()
96 96

  
97
        small_object_patch_list.append(get_patch(s_image, 500, 250))
98
        large_object_patch_list.append(get_patch(l_image, 800, 200))
97
        small_object_patch_list.append(get_patch(s_image, 850, 250))
98
        large_object_patch_list.append(get_patch(l_image, 850, 200))
99 99

  
100 100
        img_name = str(idx_img)
101 101

  
DTI_PID/WebServer/symbol_training/train.py
66 66
    parser.add_argument("--nms_threshold", type=float, default=0.5)
67 67
    opt = parser.parse_args()
68 68

  
69
    if not os.path.isdir(opt.saved_path):
70
        os.mkdir(save_dir)
71

  
69 72
    with open(os.path.join(opt.saved_path, name + "_info.info"), 'w') as stream:
70 73
        con = str(len(DOFTECH_CLASSES))
71 74
        names = '\n'.join(DOFTECH_CLASSES)

내보내기 Unified diff