mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 21:42:08 -07:00
fix sort by best.
This commit is contained in:
parent
58deb2bed1
commit
d65ff888cd
1 changed files with 2 additions and 1 deletions
|
@ -564,7 +564,8 @@ def sort_best(input_path, include_by_blur=True):
|
|||
grads = 128
|
||||
imgs_per_grad = round (target_count / grads)
|
||||
|
||||
grads_space = np.linspace (-math.pi / 2, math.pi / 2,grads)
|
||||
#instead of math.pi / 2, using -1.2,+1.2 because actually maximum yaw for 2DFAN landmarks are -1.2+1.2
|
||||
grads_space = np.linspace (-1.2, 1.2,grads)
|
||||
|
||||
yaws_sample_list = [None]*grads
|
||||
for g in io.progress_bar_generator ( range(grads), "Sort by yaw"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue