AVGRadmin / DeepLiveCam

Type of overhead repo that contains the necessary files to run Deep-Live-Cam and other compatible forks.
GNU Affero General Public License v3.0
7 stars 1 forks source link

Output paths not cleared #2

Closed AVGRadmin closed 2 months ago

AVGRadmin commented 2 months ago

Bug with batch processing in the latest release:

 File "/app/modules/core.py", line 248, in start
    os.makedirs(output_subfolder_path, exist_ok=True)
  File "/usr/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
NotADirectoryError: [Errno 20] Not a directory: '/app/output/output_files/sTest_1/sTest_1_tTest_1.mp4/sTest_2'

Should be /app/output/output_files/sTest_2 for next file and not /app/output/output_files/sTest_1/sTest_1_tTest_1.mp4/sTest_2.

Need to fix the logic for handling output file names.

AVGRadmin commented 2 months ago

Fixed in https://github.com/AVGRadmin/Deep-Live-Cam-Docker/commit/b0ec8046ffd56a49edbe391a1de1bacb2ad39a5e