fix final sorter

This commit is contained in:
iperov 2019-03-15 23:41:34 +04:00
parent a8c987fa0f
commit ea5fe28d08

View file

@ -643,7 +643,9 @@ def sort_final(input_path, include_by_blur=True):
if len(img_list) > imgs_per_grad*2:
trash_img_list += img_list[len(img_list) // 2:]
img_list = img_list[0: len(img_list) // 2]
yaws_sample_list[g] = img_list
if include_by_blur:
for g in io.progress_bar_generator ( range (grads), "Sort by blur"):
img_list = yaws_sample_list[g]