DFLJPG increase max chunk size for xseg data

This commit is contained in:
iperov 2021-10-13 14:35:26 +04:00
parent f64b2495d9
commit d8c7cc3d93

View File

@ -308,7 +308,7 @@ class DFLJPG(object):
mask_a = imagelib.normalize_channels(mask_a, 1) mask_a = imagelib.normalize_channels(mask_a, 1)
img_data = np.clip( mask_a*255, 0, 255 ).astype(np.uint8) img_data = np.clip( mask_a*255, 0, 255 ).astype(np.uint8)
data_max_len = 8192 data_max_len = 50000
ret, buf = cv2.imencode('.png', img_data) ret, buf = cv2.imencode('.png', img_data)