chychkan / DeepFaceLab_MacOS

Run DeepFaceLab on MacOS
GNU General Public License v3.0
246 stars 53 forks source link

File path format incompatible with Mac OS #139

Open timforsync opened 1 month ago

timforsync commented 1 month ago

got following error when running script 2_extract_images_from_video_data_src.sh

DeepFaceLab_MacOS/.dfl/DeepFaceLab/main.py:52: SyntaxWarning: invalid escape sequence '\ '
  p.add_argument('--output-debug', action="store_true", dest="output_debug", default=None, help="Writes debug images to <output-dir>_debug\ directory.")

/Users/tim/DeepFaceLab_MacOS/.dfl/DeepFaceLab/main.py:53: SyntaxWarning: invalid escape sequence '\ '
  p.add_argument('--no-output-debug', action="store_false", dest="output_debug", default=None, help="Don't writes debug images to <output-dir>_debug\ directory.")

seems the python file is referencing file path with \ format, which is window, not Mac OS

any workaround? thanks