DeepFaceLab/utils
Auroir 625bcc212d Return sorted filenames in path_utils (#340)
Linux does not guarantee filenames are returned in any specific order. This leads to exporting frames in random order, sorting them here makes the export run sequentially. Other portions of the program should remain unaffected, if not behave more consistently (E.G. get_first_file_by_stem).

This mostly helpful during exporting. Say you are expecting to not have faces for frames 1000-2000, during your export all the "no faces for..." messages will appear in random order. Since you are expecting to see this you ignore them. If you are also (unexpectedly) missing a face for frame 3000 you will not head the warning since it's mixed up in all the warnings that you are expecting. With this patch export runs in sequential order, you'll see the messages all in a row for frames 1000-2000, then again at 3000. The user is much more likely to see and head the warning this way.

This also allows you to force stop the export midway though and have a contiguous set of frames to encode and preview.
2019-08-12 18:18:55 +04:00
..
cv2_utils.py removing trailing spaces 2019-03-19 23:53:27 +04:00
DFLJPG.py initial code to extract umdfaces.io dataset and train pose estimator 2019-04-23 08:14:09 +04:00
DFLPNG.py initial code to extract umdfaces.io dataset and train pose estimator 2019-04-23 08:14:09 +04:00
iter_utils.py Don't pass multiprocess object on pickle (#261) 2019-05-14 11:30:23 +04:00
os_utils.py removing trailing spaces 2019-03-19 23:53:27 +04:00
Path_utils.py Return sorted filenames in path_utils (#340) 2019-08-12 18:18:55 +04:00
pickle_utils.py Converter: added Apply super resolution? (y/n skip:n) : , Enhance details by applying DCSCN network. 2019-03-28 21:50:27 +04:00
random_utils.py removing trailing spaces 2019-03-19 23:53:27 +04:00
std_utils.py removing trailing spaces 2019-03-19 23:53:27 +04:00
struct_utils.py removing trailing spaces 2019-03-19 23:53:27 +04:00