      return conv_args.split()  # Don't use pathes with spaces ;)
  
  
  def sort_args(in_path, out_path, sortby="face", groupby="hist", method="rename"):
      py_exe = sys.executable
      _sort_args = "%s tools.py sort -i %s -o %s -s %s -fp %s -g %s -k" % (
          py_exe, in_path, out_path, sortby, method, groupby
      )
      return _sort_args.split()
  
 
</s> remove         alignments, model_path, model, bs, iterations, extra_args
 </s> add         alignments, model_path, model, batchsize, iterations, extra_args </s> remove def train_args(model, model_path, faces, alignments, iterations=5, bs=8, extra_args=""):
 </s> add def train_args(model, model_path, faces, alignments, iterations=5, batchsize=8, extra_args=""):
    """ Train command """ </s> remove     except urllib.error.URLError as e:
        print_fail("[-] Failed downloading: %s" % e)
 </s> add     except urllib.error.URLError as err:
        print_fail("[-] Failed downloading: %s" % err)
    """ Sort command """
      return conv_args.split()  # Don't use pathes with spaces ;)
  
  
  def sort_args(in_path, out_path, sortby="face", groupby="hist", method="rename"):
    """ Sort command """
      py_exe = sys.executable
      _sort_args = "%s tools.py sort -i %s -o %s -s %s -fp %s -g %s -k" % (
          py_exe, in_path, out_path, sortby, method, groupby
      )
      return _sort_args.split()
  
keep keep keep add keep keep keep keep keep keep
 Smart Mask - Extract code review

- Lint simple_tests.py
- Only reformat alignments file if it exists otherwise change filename
- Update legacy alignments to new format at all stages
- faces_detect.Mask.from_dict - logging format fix
- convert.py fix otf for new pipeline
- cli.py - Add note that masks not used. Revert convert masks
- faces_detect.py - Revert non-extract code
- Add .p and .pickle extensions for serializer
- plugins/extract revert some changes
- scripts/fsmedia - Revert code changes
- Pipeline - cleanup
- Consistant alpha channel stripping (fixes single-process)
- Store landmarks as numpy array
- Code attribution
- Normalize feed face and reference face to 0.0 - 1.0 in convert
- Lock in mask VRAM sized
- Add documentation to plugin_loader
- Update alignments tool to work with new format 
_travis/simple_tests.py