extract blocked : "Extract.py Retourn Code : 15"

The Extraction process failing on you, and you aren't getting an error back with clear instructions? Tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Extraction process. If you want to get tips, or better understand the Extract process, then you should look in the Extract Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

Hello

my extraction remains blocked and I have the following message: "Failed status - extract.py Return Code 15"
help me

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by torzdf »

Post the crash report from your Faceswap folder please.

My word is final

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

how to see the report?

I have the message below remaining blocked there

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

Loading...
Setting Faceswap backend to NVIDIA
03/27/2020 15:10:16 INFO Log level set to: INFO
03/27/2020 15:10:19 INFO Output Directory: C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Align_for_Training_A
03/27/2020 15:10:19 INFO Loading Detect from S3Fd plugin...
03/27/2020 15:10:19 INFO Loading Align from Fan plugin...
03/27/2020 15:10:19 INFO Loading Mask from Extended plugin...

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

and nothing happens anymore

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by torzdf »

Help > Output System Info

My word is final

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

Exception occured trying to retrieve sysinfo: exception: access violation reading 0x000000009B56D0C0

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

hello,

I reinstalled everything and I made an extract - TRACE .... see below the log.faceswap

Code: Select all

03/30/2020 16:57:17 MainProcess     MainThread      logger          log_setup                 INFO     Log level set to: TRACE
03/30/2020 16:57:17 MainProcess     MainThread      cli             execute_script            DEBUG    Executing: extract. PID: 7320
03/30/2020 16:57:20 MainProcess     MainThread      cli             test_for_tf_version       DEBUG    Installed Tensorflow Version: 1.15
03/30/2020 16:57:20 MainProcess     MainThread      queue_manager   __init__                  DEBUG    Initializing QueueManager
03/30/2020 16:57:20 MainProcess     MainThread      queue_manager   __init__                  DEBUG    Initialized QueueManager
03/30/2020 16:57:20 MainProcess     MainThread      extract         __init__                  DEBUG    Initializing Extract: (args: Namespace(aligner='fan', alignments_path=None, colab=False, configfile=None, debug_landmarks=False, detector='s3fd', extract_every_n=1, filter=None, func=<bound method ScriptExecutor.execute_script of <lib.cli.ScriptExecutor object at 0x00000274A5D64B70>>, input_dir='C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A', logfile=None, loglevel='TRACE', masker='extended', min_size=0, nfilter=None, normalization='hist', output_dir='C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Align_for_Training_A', redirect_gui=True, ref_threshold=0.4, rotate_images=None, save_interval=0, singleprocess=False, size=256, skip_existing=False, skip_faces=False)
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_folder                DEBUG    Requested path: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Align_for_Training_A'
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_folder                DEBUG    Returning: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Align_for_Training_A'
03/30/2020 16:57:20 MainProcess     MainThread      extract         __init__                  INFO     Output Directory: C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Align_for_Training_A
03/30/2020 16:57:20 MainProcess     MainThread      image           __init__                  DEBUG    Initializing ImagesLoader: (path: C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A, queue_size: 8, fast_count: True, skip_list: None, count: None)
03/30/2020 16:57:20 MainProcess     MainThread      image           __init__                  DEBUG    Initializing ImagesLoader: (path: C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A, queue_size: 8, args: None)
03/30/2020 16:57:20 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'ImagesLoader'
03/30/2020 16:57:20 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'ImagesLoader', maxsize: 8)
03/30/2020 16:57:20 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'ImagesLoader')
03/30/2020 16:57:20 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'ImagesLoader'
03/30/2020 16:57:20 MainProcess     MainThread      image           _check_for_video          DEBUG    Input 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A' is_video: False
03/30/2020 16:57:20 MainProcess     MainThread      image           _get_fps                  DEBUG    25.0
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           DEBUG    Scanned Folder contains 10 files
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Scanned Folder Contents: [<DirEntry 'Séquence 02_1.mp4_00013.png'>, <DirEntry 'Séquence 02_1.mp4_00014.png'>, <DirEntry 'Séquence 02_1.mp4_00015.png'>, <DirEntry 'Séquence 02_1.mp4_00016.png'>, <DirEntry 'Séquence 02_1.mp4_00017.png'>, <DirEntry 'Séquence 02_1.mp4_00018.png'>, <DirEntry 'Séquence 02_1.mp4_00019.png'>, <DirEntry 'Séquence 02_1.mp4_00020.png'>, <DirEntry 'Séquence 02_1.mp4_00021.png'>, <DirEntry 'Séquence 02_1.mp4_00022.png'>]
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00013.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00014.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00015.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00016.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00017.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00018.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00019.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00020.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00021.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           TRACE    Adding 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\Séquence 02_1.mp4_00022.png' to image list
03/30/2020 16:57:20 MainProcess     MainThread      utils           get_image_paths           DEBUG    Returning 10 images
03/30/2020 16:57:20 MainProcess     MainThread      image           _get_count_and_filelist   DEBUG    count: 10
03/30/2020 16:57:20 MainProcess     MainThread      image           _get_count_and_filelist   TRACE    filelist: ['C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00013.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00014.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00015.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00016.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00017.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00018.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00019.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00020.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00021.png', 'C:\\Users\\wipot\\Documents\\faceswapOK\\Faceswap_project\\Img_A\\Séquence 02_1.mp4_00022.png']
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         __init__                  DEBUG    Initializing Alignments: (is_extract: True, input_is_video: False)
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         _set_folder_filename      DEBUG    Alignments from Input Folder: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A'
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         _set_folder_filename      DEBUG    Setting Alignments: (folder: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A' filename: 'alignments')
03/30/2020 16:57:20 MainProcess     MainThread      alignments      __init__                  DEBUG    Initializing Alignments: (folder: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A', filename: 'alignments')
03/30/2020 16:57:20 MainProcess     MainThread      serializer      get_serializer            DEBUG    <lib.serializer._PickleSerializer object at 0x00000274AE69EE10>
03/30/2020 16:57:20 MainProcess     MainThread      serializer      get_serializer            DEBUG    <lib.serializer._CompressedSerializer object at 0x00000274AE69ECF8>
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _get_location             DEBUG    Getting location: (folder: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A', filename: 'alignments')
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _get_location             DEBUG    File extension set from serializer: 'fsa'
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _test_for_legacy          DEBUG    Checking for legacy alignments file formats: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\alignments.fsa'
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _test_for_legacy          DEBUG    Legacy alignments file does not exist: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\alignments.json'
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _test_for_legacy          DEBUG    Legacy alignments file does not exist: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\alignments.p'
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _test_for_legacy          DEBUG    Legacy alignments file does not exist: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\alignments.pickle'
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _test_for_legacy          DEBUG    Legacy alignments file does not exist: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\alignments.yaml'
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _get_location             VERBOSE  Alignments filepath: 'C:\Users\wipot\Documents\faceswapOK\Faceswap_project\Img_A\alignments.fsa'
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         _load                     DEBUG    No skipping selected. Returning empty dictionary
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _has_legacy_structure     DEBUG    legacy structure: False
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _has_legacy_landmarksxy   DEBUG    checking legacy landmarksXY
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _has_legacy_landmarksxy   DEBUG    legacy landmarksXY: False
03/30/2020 16:57:20 MainProcess     MainThread      alignments      _has_legacy_landmarks_list DEBUG    checking legacy landmarks as list
03/30/2020 16:57:20 MainProcess     MainThread      alignments      __init__                  DEBUG    Initialized Alignments
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         __init__                  DEBUG    Initialized Alignments
03/30/2020 16:57:20 MainProcess     MainThread      extract         _set_skip_list            DEBUG    No frames to be skipped
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         __init__                  DEBUG    Initializing PostProcess
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         _get_items                DEBUG    Postprocess Items: {}
03/30/2020 16:57:20 MainProcess     MainThread      fsmedia         __init__                  DEBUG    Initialized PostProcess
03/30/2020 16:57:20 MainProcess     MainThread      pipeline        __init__                  DEBUG    Initializing Extractor: (detector: s3fd, aligner: fan, masker: extended, configfile: None, multiprocess: True, rotate_images: None, min_size: 0, normalize_method: hist, image_is_aligned: False)
03/30/2020 16:57:20 MainProcess     MainThread      pipeline        _set_flow                 DEBUG    detector: s3fd, aligner: fan, masker: extended
03/30/2020 16:57:20 MainProcess     MainThread      pipeline        _set_flow                 DEBUG    flow: ['detect', 'align', 'mask']
03/30/2020 16:57:20 MainProcess     MainThread      pipeline        _load_detect              DEBUG    Loading Detector: 's3fd'
03/30/2020 16:57:20 MainProcess     MainThread      plugin_loader   _import                   INFO     Loading Detect from S3Fd plugin...
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initializing Detect: (rotation: None, min_size: 0)
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initializing Detect: (git_model_id: 11, model_filename: s3fd_keras_v1.h5,  configfile: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          __init__                  DEBUG    Initializing: Config
03/30/2020 16:57:20 MainProcess     MainThread      config          get_config_file           DEBUG    Config File location: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      _config         set_defaults              DEBUG    Setting defaults
03/30/2020 16:57:20 MainProcess     MainThread      _config         set_globals               DEBUG    Setting global config
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'global', info: 'Options that apply to all extraction plugins')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'global', title: 'allow_growth', datatype: '<class 'bool'>', default: 'False', info: '[Nvidia Only]. Enable the Tensorflow GPU `allow_growth` configuration option. This option prevents Tensorflow from allocating all of the GPU VRAM at launch but can lead to higher VRAM fragmentation and slower performance. Should only be enabled if you are having problems running extraction.', rounding: 'None', min_max: None, choices: None, gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'align']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: fan_defaults.py, module_path: plugins.extract.align, plugin_type: align
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.align.fan_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'align.fan', info: 'FAN Aligner options.Fast on GPU, slow on CPU. Best aligner.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'align.fan', title: 'batch-size', datatype: '<class 'int'>', default: '12', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.\n	AMD users: A batchsize of 8 requires about 4 GB vram.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: align.fan
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'detect']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: cv2_dnn_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.cv2_dnn_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.cv2_dnn', info: 'CV2 DNN Detector options.\nA CPU only extractor, is the least reliable, but uses least resources and runs fast on CPU. Use this if not using a GPU and time is important')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.cv2_dnn', title: 'confidence', datatype: '<class 'int'>', default: '50', info: 'The confidence level at which the detector has succesfully found a face.\nHigher levels will be more discriminating, lower levels will have more false positives.', rounding: '5', min_max: (25, 100), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.cv2_dnn
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: mtcnn_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.mtcnn_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.mtcnn', info: 'MTCNN Detector options.\nFast on GPU, slow on CPU. Uses fewer resources than other GPU detectors but can often return more false positives.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'minsize', datatype: '<class 'int'>', default: '20', info: 'The minimum size of a face (in pixels) to be accepted as a positive match.\nLower values use significantly more VRAM and will detect more false positives.', rounding: '10', min_max: (20, 1000), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_1', datatype: '<class 'float'>', default: '0.6', info: 'First stage threshold for face detection. This stage obtains face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_2', datatype: '<class 'float'>', default: '0.7', info: 'Second stage threshold for face detection. This stage refines face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_3', datatype: '<class 'float'>', default: '0.7', info: 'Third stage threshold for face detection. This stage further refines face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'scalefactor', datatype: '<class 'float'>', default: '0.709', info: 'The scale factor for the image pyramid.', rounding: '3', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'batch-size', datatype: '<class 'int'>', default: '8', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.mtcnn
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: s3fd_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.s3fd_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.s3fd', info: 'S3FD Detector options.Fast on GPU, slow on CPU. Can detect more faces and fewer false positives than other GPU detectors, but is a lot more resource intensive.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.s3fd', title: 'confidence', datatype: '<class 'int'>', default: '70', info: 'The confidence level at which the detector has succesfully found a face.\nHigher levels will be more discriminating, lower levels will have more false positives.', rounding: '5', min_max: (25, 100), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.s3fd', title: 'batch-size', datatype: '<class 'int'>', default: '4', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.\n	AMD users: A batchsize of 8 requires about 2 GB vram.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.s3fd
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'mask']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: unet_dfl_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.unet_dfl_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.unet_dfl', info: 'UNET_DFL options. Mask designed to provide smart segmentation of mostly frontal faces.\nThe mask model has been trained by community members. Insert more commentary on testing here. Profile faces may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.unet_dfl', title: 'batch-size', datatype: '<class 'int'>', default: '8', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.unet_dfl
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: vgg_clear_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.vgg_clear_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.vgg_clear', info: 'VGG_Clear options. Mask designed to provide smart segmentation of mostly frontal faces clear of obstructions.\nProfile faces and obstructions may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.vgg_clear', title: 'batch-size', datatype: '<class 'int'>', default: '6', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.vgg_clear
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: vgg_obstructed_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.vgg_obstructed_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.vgg_obstructed', info: 'VGG_Obstructed options. Mask designed to provide smart segmentation of mostly frontal faces.\nThe mask model has been specifically trained to recognize some facial obstructions (hands and eyeglasses). Profile faces may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.vgg_obstructed', title: 'batch-size', datatype: '<class 'int'>', default: '2', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.vgg_obstructed
03/30/2020 16:57:20 MainProcess     MainThread      config          handle_config             DEBUG    Handling config
03/30/2020 16:57:20 MainProcess     MainThread      config          check_exists              DEBUG    Config file exists: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      config          load_config               VERBOSE  Loading config: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      config          validate_config           DEBUG    Validating config
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_change       DEBUG    Default config has not changed
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_choices      DEBUG    Checking config choices
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_choices      DEBUG    Checked config choices
03/30/2020 16:57:20 MainProcess     MainThread      config          validate_config           DEBUG    Validated config
03/30/2020 16:57:20 MainProcess     MainThread      config          handle_config             DEBUG    Handled config
03/30/2020 16:57:20 MainProcess     MainThread      config          __init__                  DEBUG    Initialized: Config
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Getting config item: (section: 'global', option: 'allow_growth')
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Returning item: (type: <class 'bool'>, value: False)
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Getting config item: (section: 'detect.s3fd', option: 'confidence')
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Returning item: (type: <class 'int'>, value: 70)
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Getting config item: (section: 'detect.s3fd', option: 'batch-size')
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Returning item: (type: <class 'int'>, value: 4)

see the rest...

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

Code: Select all

03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\detect\.cache\s3fd_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\detect\.cache\s3fd_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_exists             TRACE    True
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\detect\.cache\s3fd_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           get                       DEBUG    Model exists: C:\Users\wipot\faceswap1\plugins\extract\detect\.cache\s3fd_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\detect\.cache\s3fd_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initialized _base Detect
03/30/2020 16:57:20 MainProcess     MainThread      _base           _get_rotation_angles      DEBUG    Not setting rotation angles
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initialized _base Detect
03/30/2020 16:57:20 MainProcess     MainThread      pipeline        _load_align               DEBUG    Loading Aligner: 'fan'
03/30/2020 16:57:20 MainProcess     MainThread      plugin_loader   _import                   INFO     Loading Align from Fan plugin...
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initializing Align: (normalize_method: hist)
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initializing Align: (git_model_id: 9, model_filename: face-alignment-network_2d4_keras_v1.h5,  configfile: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          __init__                  DEBUG    Initializing: Config
03/30/2020 16:57:20 MainProcess     MainThread      config          get_config_file           DEBUG    Config File location: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      _config         set_defaults              DEBUG    Setting defaults
03/30/2020 16:57:20 MainProcess     MainThread      _config         set_globals               DEBUG    Setting global config
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'global', info: 'Options that apply to all extraction plugins')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'global', title: 'allow_growth', datatype: '<class 'bool'>', default: 'False', info: '[Nvidia Only]. Enable the Tensorflow GPU `allow_growth` configuration option. This option prevents Tensorflow from allocating all of the GPU VRAM at launch but can lead to higher VRAM fragmentation and slower performance. Should only be enabled if you are having problems running extraction.', rounding: 'None', min_max: None, choices: None, gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'align']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: fan_defaults.py, module_path: plugins.extract.align, plugin_type: align
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.align.fan_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'align.fan', info: 'FAN Aligner options.Fast on GPU, slow on CPU. Best aligner.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'align.fan', title: 'batch-size', datatype: '<class 'int'>', default: '12', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.\n	AMD users: A batchsize of 8 requires about 4 GB vram.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: align.fan
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'detect']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: cv2_dnn_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.cv2_dnn_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.cv2_dnn', info: 'CV2 DNN Detector options.\nA CPU only extractor, is the least reliable, but uses least resources and runs fast on CPU. Use this if not using a GPU and time is important')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.cv2_dnn', title: 'confidence', datatype: '<class 'int'>', default: '50', info: 'The confidence level at which the detector has succesfully found a face.\nHigher levels will be more discriminating, lower levels will have more false positives.', rounding: '5', min_max: (25, 100), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.cv2_dnn
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: mtcnn_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.mtcnn_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.mtcnn', info: 'MTCNN Detector options.\nFast on GPU, slow on CPU. Uses fewer resources than other GPU detectors but can often return more false positives.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'minsize', datatype: '<class 'int'>', default: '20', info: 'The minimum size of a face (in pixels) to be accepted as a positive match.\nLower values use significantly more VRAM and will detect more false positives.', rounding: '10', min_max: (20, 1000), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_1', datatype: '<class 'float'>', default: '0.6', info: 'First stage threshold for face detection. This stage obtains face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_2', datatype: '<class 'float'>', default: '0.7', info: 'Second stage threshold for face detection. This stage refines face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_3', datatype: '<class 'float'>', default: '0.7', info: 'Third stage threshold for face detection. This stage further refines face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'scalefactor', datatype: '<class 'float'>', default: '0.709', info: 'The scale factor for the image pyramid.', rounding: '3', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'batch-size', datatype: '<class 'int'>', default: '8', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.mtcnn
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: s3fd_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.s3fd_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.s3fd', info: 'S3FD Detector options.Fast on GPU, slow on CPU. Can detect more faces and fewer false positives than other GPU detectors, but is a lot more resource intensive.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.s3fd', title: 'confidence', datatype: '<class 'int'>', default: '70', info: 'The confidence level at which the detector has succesfully found a face.\nHigher levels will be more discriminating, lower levels will have more false positives.', rounding: '5', min_max: (25, 100), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.s3fd', title: 'batch-size', datatype: '<class 'int'>', default: '4', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.\n	AMD users: A batchsize of 8 requires about 2 GB vram.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.s3fd
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'mask']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: unet_dfl_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.unet_dfl_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.unet_dfl', info: 'UNET_DFL options. Mask designed to provide smart segmentation of mostly frontal faces.\nThe mask model has been trained by community members. Insert more commentary on testing here. Profile faces may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.unet_dfl', title: 'batch-size', datatype: '<class 'int'>', default: '8', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.unet_dfl
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: vgg_clear_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.vgg_clear_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.vgg_clear', info: 'VGG_Clear options. Mask designed to provide smart segmentation of mostly frontal faces clear of obstructions.\nProfile faces and obstructions may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.vgg_clear', title: 'batch-size', datatype: '<class 'int'>', default: '6', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.vgg_clear
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: vgg_obstructed_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.vgg_obstructed_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.vgg_obstructed', info: 'VGG_Obstructed options. Mask designed to provide smart segmentation of mostly frontal faces.\nThe mask model has been specifically trained to recognize some facial obstructions (hands and eyeglasses). Profile faces may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.vgg_obstructed', title: 'batch-size', datatype: '<class 'int'>', default: '2', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.vgg_obstructed
03/30/2020 16:57:20 MainProcess     MainThread      config          handle_config             DEBUG    Handling config
03/30/2020 16:57:20 MainProcess     MainThread      config          check_exists              DEBUG    Config file exists: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      config          load_config               VERBOSE  Loading config: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      config          validate_config           DEBUG    Validating config
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_change       DEBUG    Default config has not changed
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_choices      DEBUG    Checking config choices
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_choices      DEBUG    Checked config choices
03/30/2020 16:57:20 MainProcess     MainThread      config          validate_config           DEBUG    Validated config
03/30/2020 16:57:20 MainProcess     MainThread      config          handle_config             DEBUG    Handled config
03/30/2020 16:57:20 MainProcess     MainThread      config          __init__                  DEBUG    Initialized: Config
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Getting config item: (section: 'global', option: 'allow_growth')
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Returning item: (type: <class 'bool'>, value: False)
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Getting config item: (section: 'align.fan', option: 'batch-size')
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Returning item: (type: <class 'int'>, value: 12)
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\align\.cache\face-alignment-network_2d4_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\align\.cache\face-alignment-network_2d4_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_exists             TRACE    True
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\align\.cache\face-alignment-network_2d4_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           get                       DEBUG    Model exists: C:\Users\wipot\faceswap1\plugins\extract\align\.cache\face-alignment-network_2d4_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      utils           _model_path               TRACE    C:\Users\wipot\faceswap1\plugins\extract\align\.cache\face-alignment-network_2d4_keras_v1.h5
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initialized _base Align
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initialized Align
03/30/2020 16:57:20 MainProcess     MainThread      pipeline        _load_mask                DEBUG    Loading Masker: 'extended'
03/30/2020 16:57:20 MainProcess     MainThread      plugin_loader   _import                   INFO     Loading Mask from Extended plugin...
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initializing Mask: (configfile: None, )
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initializing Mask: (git_model_id: None, model_filename: None,  configfile: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          __init__                  DEBUG    Initializing: Config
03/30/2020 16:57:20 MainProcess     MainThread      config          get_config_file           DEBUG    Config File location: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      _config         set_defaults              DEBUG    Setting defaults
03/30/2020 16:57:20 MainProcess     MainThread      _config         set_globals               DEBUG    Setting global config
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'global', info: 'Options that apply to all extraction plugins')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'global', title: 'allow_growth', datatype: '<class 'bool'>', default: 'False', info: '[Nvidia Only]. Enable the Tensorflow GPU `allow_growth` configuration option. This option prevents Tensorflow from allocating all of the GPU VRAM at launch but can lead to higher VRAM fragmentation and slower performance. Should only be enabled if you are having problems running extraction.', rounding: 'None', min_max: None, choices: None, gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'align']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: fan_defaults.py, module_path: plugins.extract.align, plugin_type: align
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.align.fan_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'align.fan', info: 'FAN Aligner options.Fast on GPU, slow on CPU. Best aligner.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'align.fan', title: 'batch-size', datatype: '<class 'int'>', default: '12', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.\n	AMD users: A batchsize of 8 requires about 4 GB vram.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: align.fan
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'detect']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: cv2_dnn_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.cv2_dnn_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.cv2_dnn', info: 'CV2 DNN Detector options.\nA CPU only extractor, is the least reliable, but uses least resources and runs fast on CPU. Use this if not using a GPU and time is important')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.cv2_dnn', title: 'confidence', datatype: '<class 'int'>', default: '50', info: 'The confidence level at which the detector has succesfully found a face.\nHigher levels will be more discriminating, lower levels will have more false positives.', rounding: '5', min_max: (25, 100), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.cv2_dnn
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: mtcnn_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.mtcnn_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.mtcnn', info: 'MTCNN Detector options.\nFast on GPU, slow on CPU. Uses fewer resources than other GPU detectors but can often return more false positives.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'minsize', datatype: '<class 'int'>', default: '20', info: 'The minimum size of a face (in pixels) to be accepted as a positive match.\nLower values use significantly more VRAM and will detect more false positives.', rounding: '10', min_max: (20, 1000), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_1', datatype: '<class 'float'>', default: '0.6', info: 'First stage threshold for face detection. This stage obtains face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_2', datatype: '<class 'float'>', default: '0.7', info: 'Second stage threshold for face detection. This stage refines face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'threshold_3', datatype: '<class 'float'>', default: '0.7', info: 'Third stage threshold for face detection. This stage further refines face candidates.', rounding: '2', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'scalefactor', datatype: '<class 'float'>', default: '0.709', info: 'The scale factor for the image pyramid.', rounding: '3', min_max: (0.1, 0.9), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.mtcnn', title: 'batch-size', datatype: '<class 'int'>', default: '8', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.mtcnn
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: s3fd_defaults.py, module_path: plugins.extract.detect, plugin_type: detect
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.detect.s3fd_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'detect.s3fd', info: 'S3FD Detector options.Fast on GPU, slow on CPU. Can detect more faces and fewer false positives than other GPU detectors, but is a lot more resource intensive.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.s3fd', title: 'confidence', datatype: '<class 'int'>', default: '70', info: 'The confidence level at which the detector has succesfully found a face.\nHigher levels will be more discriminating, lower levels will have more false positives.', rounding: '5', min_max: (25, 100), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'detect.s3fd', title: 'batch-size', datatype: '<class 'int'>', default: '4', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.\n	AMD users: A batchsize of 8 requires about 2 GB vram.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: detect.s3fd
03/30/2020 16:57:20 MainProcess     MainThread      utils           full_path_split           TRACE    path: \, allparts: ['\\', 'plugins', 'extract', 'mask']
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: unet_dfl_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.unet_dfl_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.unet_dfl', info: 'UNET_DFL options. Mask designed to provide smart segmentation of mostly frontal faces.\nThe mask model has been trained by community members. Insert more commentary on testing here. Profile faces may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.unet_dfl', title: 'batch-size', datatype: '<class 'int'>', default: '8', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.unet_dfl
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: vgg_clear_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.vgg_clear_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.vgg_clear', info: 'VGG_Clear options. Mask designed to provide smart segmentation of mostly frontal faces clear of obstructions.\nProfile faces and obstructions may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.vgg_clear', title: 'batch-size', datatype: '<class 'int'>', default: '6', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.vgg_clear
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Adding defaults: (filename: vgg_obstructed_defaults.py, module_path: plugins.extract.mask, plugin_type: mask
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Importing defaults module: plugins.extract.mask.vgg_obstructed_defaults
03/30/2020 16:57:20 MainProcess     MainThread      config          add_section               DEBUG    Add section: (title: 'mask.vgg_obstructed', info: 'VGG_Obstructed options. Mask designed to provide smart segmentation of mostly frontal faces.\nThe mask model has been specifically trained to recognize some facial obstructions (hands and eyeglasses). Profile faces may result in sub-par performance.')
03/30/2020 16:57:20 MainProcess     MainThread      config          add_item                  DEBUG    Add item: (section: 'mask.vgg_obstructed', title: 'batch-size', datatype: '<class 'int'>', default: '2', info: 'The batch size to use. To a point, higher batch sizes equal better performance, but setting it too high can harm performance.\n\n	Nvidia users: If the batchsize is set higher than the your GPU can accomodate then this will automatically be lowered.', rounding: '1', min_max: (1, 64), choices: [], gui_radio: False, fixed: True, group: None)
03/30/2020 16:57:20 MainProcess     MainThread      _config         load_module               DEBUG    Added defaults: mask.vgg_obstructed
03/30/2020 16:57:20 MainProcess     MainThread      config          handle_config             DEBUG    Handling config
03/30/2020 16:57:20 MainProcess     MainThread      config          check_exists              DEBUG    Config file exists: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      config          load_config               VERBOSE  Loading config: 'C:\Users\wipot\faceswap1\config\extract.ini'
03/30/2020 16:57:20 MainProcess     MainThread      config          validate_config           DEBUG    Validating config
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_change       DEBUG    Default config has not changed
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_choices      DEBUG    Checking config choices
03/30/2020 16:57:20 MainProcess     MainThread      config          check_config_choices      DEBUG    Checked config choices
03/30/2020 16:57:20 MainProcess     MainThread      config          validate_config           DEBUG    Validated config
03/30/2020 16:57:20 MainProcess     MainThread      config          handle_config             DEBUG    Handled config
03/30/2020 16:57:20 MainProcess     MainThread      config          __init__                  DEBUG    Initialized: Config
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Getting config item: (section: 'global', option: 'allow_growth')
03/30/2020 16:57:20 MainProcess     MainThread      config          get                       DEBUG    Returning item: (type: <class 'bool'>, value: False)
03/30/2020 16:57:20 MainProcess     MainThread      _base           _get_model                DEBUG    No model_filename specified. Returning None
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initialized _base Mask
03/30/2020 16:57:20 MainProcess     MainThread      _base           __init__                  DEBUG    Initialized Mask
03/30/2020 16:57:20 MainProcess     MainThread      gpu_stats       __init__                  DEBUG    Initializing GPUStats
03/30/2020 16:57:20 MainProcess     MainThread      gpu_stats       initialize                DEBUG    OS is not macOS. Using pynvml
03/30/2020 16:57:20 MainProcess     MainThread      gpu_stats       get_device_count          DEBUG    GPU Device count: 1
03/30/2020 16:57:20 MainProcess     MainThread      gpu_stats       get_active_devices        DEBUG    Active GPU Devices: [0]
03/30/2020 16:57:20 MainProcess     MainThread      gpu_stats       get_handles               DEBUG    GPU Handles found: 1

please help me

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by torzdf »

What GPU do you have?

It looks like it is failing on plaidML

INSIDE your Faceswap Environment run:
plaidml-setup
Follow the options, then see if this fixes the issue

My word is final

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

i use Quatro NVS 290, version driver : 341.35

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

(base) C:\Users\wipot>activate faceswap

(faceswap) C:\Users\wipot>cd faceswap
Le chemin d’accès spécifié est introuvable.

(faceswap) C:\Users\wipot>cd faceswap*

(faceswap) C:\Users\wipot\faceswap1>plaidml-setup
'plaidml-setup' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

(faceswap) C:\Users\wipot\faceswap1>

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 623 times

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by torzdf »

We could spend longer diagnosing this, but that GPU only has 256MB of VRAM (according to this: https://www.techpowerup.com/gpu-specs/q ... -290.c1453) so it has noway near enough memory to run Faceswap

My word is final

User avatar
orongani
Posts: 17
Joined: Fri Mar 27, 2020 10:21 am

Re: extract blocked : "Extract.py Retourn Code : 15"

Post by orongani »

sniffff....
ok thank you very much

I will still try to run faceswap with the CPU

Intel Core i7-2600 (3.40 GHz, 8 MB cache, 4 cores + 16GB of VRAM

time to get a more powerful GPU

Locked