Error when manually adjusting alignments

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
Dashon
Posts: 5
Joined: Tue Nov 19, 2019 10:15 am

Error when manually adjusting alignments

Post by Dashon »

The windows closes and I get an error when I left click and drag the alignment box to try to fix the alignments.

The crash report:

Code: Select all

11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_active_devices        DEBUG    Active GPU Devices: [0]
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_handles               DEBUG    GPU Handles found: 1
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_driver                DEBUG    GPU Driver: 441.20
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_devices               DEBUG    GPU Devices: ['GeForce 940MX']
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_vram                  DEBUG    GPU VRAM: [2048.0]
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       __init__                  DEBUG    Initialized GPUStats
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       initialize                DEBUG    OS is not macOS. Using pynvml
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_device_count          DEBUG    GPU Device count: 1
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_active_devices        DEBUG    Active GPU Devices: [0]
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_handles               DEBUG    GPU Handles found: 1
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_free                  DEBUG    GPU VRAM free: [2009.44921875]
11/19/2019 04:13:45 MainProcess     MainThread      gpu_stats       get_card_most_free        DEBUG    Active GPU Card with most free VRAM: {'card_id': 0, 'device': 'GeForce 940MX', 'free': 2009.44921875, 'total': 2048.0}
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        _set_plugin_batchsize     VERBOSE  Reset batchsize for FAN to 1
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'extract_detect_in', maxsize: 1)
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'extract_detect_in')
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'extract_detect_in'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'extract_detect_in'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'extract_align_in', maxsize: 1)
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'extract_align_in')
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'extract_align_in'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'extract_align_in'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'extract_align_out', maxsize: 1)
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'extract_align_out')
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'extract_align_out'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'extract_align_out'
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        _add_queues               DEBUG    Queues: {'extract_detect_in': <queue.Queue object at 0x000001C1C438CE80>, 'extract_align_in': <queue.Queue object at 0x000001C1C43B00B8>, 'extract_align_out': <queue.Queue object at 0x000001C1C43B04A8>}
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        __init__                  DEBUG    Initialized Extractor
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        set_batchsize             DEBUG    Overriding batchsize for plugin_type: detect to: 1
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        set_batchsize             DEBUG    Overriding batchsize for plugin_type: align to: 1
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launching detect plugin
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    in_qname: extract_detect_in, out_qname: extract_align_in
11/19/2019 04:13:45 MainProcess     MainThread      _base           initialize                DEBUG    initialize Detect: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x000001C1C438CE80>, 'out_queue': <queue.Queue object at 0x000001C1C43B00B8>})
11/19/2019 04:13:45 MainProcess     MainThread      _base           initialize                INFO     Initializing Manual (Detect)...
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'detect_predict'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'detect_predict', maxsize: 1)
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'detect_predict')
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'detect_predict'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'detect_post'
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'detect_post', maxsize: 1)
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'detect_post')
11/19/2019 04:13:45 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'detect_post'
11/19/2019 04:13:45 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiling detect threads
11/19/2019 04:13:45 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: detect_input, function: <bound method Detect.process_input of <plugins.extract.detect.manual.Detect object at 0x000001C1C3BC5D68>>, in_queue: <queue.Queue object at 0x000001C1C438CE80>, out_queue: <queue.Queue object at 0x000001C1C43B05F8>)
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'detect_input', thread_count: 1)
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'detect_input'
11/19/2019 04:13:45 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: detect_input
11/19/2019 04:13:45 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: detect_predict, function: <bound method Detector._predict of <plugins.extract.detect.manual.Detect object at 0x000001C1C3BC5D68>>, in_queue: <queue.Queue object at 0x000001C1C43B05F8>, out_queue: <queue.Queue object at 0x000001C1C43B0668>)
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'detect_predict', thread_count: 1)
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'detect_predict'
11/19/2019 04:13:45 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: detect_predict
11/19/2019 04:13:45 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: detect_output, function: <bound method Detect.process_output of <plugins.extract.detect.manual.Detect object at 0x000001C1C3BC5D68>>, in_queue: <queue.Queue object at 0x000001C1C43B0668>, out_queue: <queue.Queue object at 0x000001C1C43B00B8>)
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'detect_output', thread_count: 1)
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'detect_output'
11/19/2019 04:13:45 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: detect_output
11/19/2019 04:13:45 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled detect threads: [<lib.multithreading.MultiThread object at 0x000001C1C438CE48>, <lib.multithreading.MultiThread object at 0x000001C1C43B0748>, <lib.multithreading.MultiThread object at 0x000001C1C43B0780>]
11/19/2019 04:13:45 MainProcess     MainThread      _base           initialize                INFO     Initialized Manual (Detect) with batchsize of 1
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'detect_input'
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'detect_input_0'
11/19/2019 04:13:45 MainProcess     detect_input_0  _base           _thread_process           DEBUG    threading: (function: 'process_input')
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'detect_input': 1
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'detect_predict'
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'detect_predict_0'
11/19/2019 04:13:45 MainProcess     detect_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'detect_predict': 1
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'detect_output'
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'detect_output_0'
11/19/2019 04:13:45 MainProcess     detect_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
11/19/2019 04:13:45 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'detect_output': 1
11/19/2019 04:13:45 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched detect plugin
11/19/2019 04:13:45 MainProcess     MainThread      jobs_manual     init_extractor            DEBUG    Initialized Extractor
11/19/2019 04:13:45 MainProcess     MainThread      jobs_manual     __init__                  DEBUG    Initialized MouseHandler
11/19/2019 04:13:45 MainProcess     MainThread      jobs_manual     display_frames            DEBUG    Display frames
11/19/2019 04:13:45 MainProcess     MainThread      jobs_manual     display_frames            DEBUG    is_windows: True, is_conda: True
11/19/2019 04:13:45 MainProcess     MainThread      jobs_manual     frame_selector            DEBUG    navigation: {'skip-mode': 1, 'frame-size': 1, 'frame_idx': 0, 'max_frame': 4750, 'last_request': 0, 'frame_name': None}, frame: '3_000001.png', skip_mode: 'standard'
11/19/2019 04:13:45 MainProcess     MainThread      jobs_manual     get_frame                 DEBUG    Frame Name: '3_000001.png'
11/19/2019 04:13:45 MainProcess     MainThread      jobs_manual     get_frame                 DEBUG    Faces Updated: False
11/19/2019 04:13:45 MainProcess     MainThread      annotate        __init__                  DEBUG    Initializing Annotate: (alignments: [{'x': 1425, 'w': 147, 'y': 372, 'h': 135, 'landmarks_xy': array([[1497.3702 ,  354.3817 ],\n       [1481.553  ,  356.64133],\n       [1463.476  ,  365.6798 ],\n       [1454.4375 ,  370.19904],\n       [1438.6202 ,  379.2375 ],\n       [1429.5818 ,  406.35287],\n       [1420.5433 ,  419.91058],\n       [1416.024  ,  435.72787],\n       [1411.5049 ,  460.58365],\n       [1418.2837 ,  480.92017],\n       [1427.3221 ,  489.95865],\n       [1436.3606 ,  498.9971 ],\n       [1447.6587 ,  508.03558],\n       [1461.2164 ,  512.5548 ],\n       [1474.774  ,  517.07404],\n       [1488.3318 ,  521.59326],\n       [1506.4087 ,  521.59326],\n       [1519.9663 ,  395.0548 ],\n       [1524.4856 ,  406.35287],\n       [1529.0049 ,  419.91058],\n       [1529.0049 ,  431.20865],\n       [1526.7452 ,  437.9875 ],\n       [1524.4856 ,  471.8817 ],\n       [1524.4856 ,  480.92017],\n       [1526.7452 ,  489.95865],\n       [1526.7452 ,  501.2567 ],\n       [1522.226  ,  508.03558],\n       [1506.4087 ,  453.8048 ],\n       [1492.851  ,  456.0644 ],\n       [1481.553  ,  456.0644 ],\n       [1470.2549 ,  456.0644 ],\n       [1465.7356 ,  442.5067 ],\n       [1465.7356 ,  447.02594],\n       [1463.476  ,  453.8048 ],\n       [1465.7356 ,  462.84326],\n       [1467.9952 ,  467.3625 ],\n       [1501.8894 ,  410.8721 ],\n       [1506.4087 ,  419.91058],\n       [1506.4087 ,  428.94904],\n       [1504.149  ,  435.72787],\n       [1499.6299 ,  428.94904],\n       [1499.6299 ,  419.91058],\n       [1504.149  ,  471.8817 ],\n       [1506.4087 ,  480.92017],\n       [1506.4087 ,  487.69904],\n       [1504.149  ,  494.47787],\n       [1501.8894 ,  487.69904],\n       [1501.8894 ,  478.66058],\n       [1440.8799 ,  431.20865],\n       [1449.9183 ,  440.2471 ],\n       [1454.4375 ,  449.28558],\n       [1452.178  ,  453.8048 ],\n       [1454.4375 ,  460.58365],\n       [1449.9183 ,  469.6221 ],\n       [1447.6587 ,  476.40094],\n       [1440.8799 ,  469.6221 ],\n       [1436.3606 ,  462.84326],\n       [1434.101  ,  453.8048 ],\n       [1434.101  ,  447.02594],\n       [1438.6202 ,  440.2471 ],\n       [1443.1394 ,  433.46826],\n       [1445.399  ,  447.02594],\n       [1447.6587 ,  453.8048 ],\n       [1447.6587 ,  460.58365],\n       [1447.6587 ,  476.40094],\n       [1445.399  ,  460.58365],\n       [1445.399  ,  453.8048 ],\n       [1445.399  ,  447.02594]], dtype=float32), 'hash': 'b15f7696e5eddc854dc740fe0ac21d44947d35e6', 'mask': {}}], original_roi: [array([[[1561,  369]],\n\n       [[1390,  370]],\n\n       [[1392,  542]],\n\n       [[1563,  540]]], dtype=int32)])
11/19/2019 04:13:45 MainProcess     MainThread      annotate        __init__                  DEBUG    Initialized Annotate
11/19/2019 04:13:45 MainProcess     MainThread      annotate        __init__                  DEBUG    Initializing Annotate: (alignments: [{'landmarks_xy': array([[-21.94458  ,  95.00537  ],\n       [-18.808777 , 118.5542   ],\n       [ -5.6262817, 145.5586   ],\n       [  0.9649658, 159.06055  ],\n       [ 14.179443 , 182.70532  ],\n       [ 54.366333 , 196.5271   ],\n       [ 74.39581  , 210.15723  ],\n       [ 97.848755 , 217.1001   ],\n       [134.74005  , 224.1709   ],\n       [165.07196  , 214.37988  ],\n       [178.63806  , 201.06958  ],\n       [192.20416  , 187.75928  ],\n       [205.80225  , 171.08911  ],\n       [212.7132   , 150.99585  ],\n       [219.62408  , 130.90234  ],\n       [226.53503  , 110.80908  ],\n       [226.79077  ,  83.93262  ],\n       [ 38.847168 ,  61.98535  ],\n       [ 55.708923 ,  55.42578  ],\n       [ 75.930176 ,  48.898438 ],\n       [ 92.72797  ,  49.05835  ],\n       [102.77466  ,  52.51367  ],\n       [153.13617  ,  56.352783 ],\n       [166.5744   ,  56.480713 ],\n       [180.04456  ,  53.249023 ],\n       [196.84235  ,  53.408936 ],\n       [206.85718  ,  60.223877 ],\n       [126.00397  ,  82.97363  ],\n       [129.17163  , 103.163086 ],\n       [129.01184  , 119.96069  ],\n       [128.85199  , 136.75854  ],\n       [108.63068  , 143.28564  ],\n       [115.34979  , 143.34961  ],\n       [125.39661  , 146.80518  ],\n       [138.86676  , 143.57349  ],\n       [145.61786  , 140.27808  ],\n       [ 62.108337 ,  89.08545  ],\n       [ 75.610535 ,  82.49414  ],\n       [ 89.04877  ,  82.62207  ],\n       [ 99.09546  ,  86.07739  ],\n       [ 88.95288  ,  92.70068  ],\n       [ 75.51465  ,  92.572754 ],\n       [152.84845  ,  86.58887  ],\n       [166.31866  ,  83.35718  ],\n       [176.39734  ,  83.453125 ],\n       [186.44403  ,  86.90869  ],\n       [176.33337  ,  90.17236  ],\n       [162.89514  ,  90.04443  ],\n       [ 91.48126  , 180.08105  ],\n       [105.04736  , 166.77051  ],\n       [118.54962  , 160.17944  ],\n       [125.236755 , 163.60303  ],\n       [135.34741  , 160.33936  ],\n       [148.72168  , 167.18628  ],\n       [158.76843  , 170.6416   ],\n       [148.59381  , 180.62451  ],\n       [138.45123  , 187.2478   ],\n       [124.98102  , 190.47949  ],\n       [114.90228  , 190.38354  ],\n       [104.88757  , 183.56836  ],\n       [ 94.8728   , 176.75366  ],\n       [115.06213  , 173.5857   ],\n       [125.17285  , 170.32202  ],\n       [135.25146  , 170.41797  ],\n       [158.76843  , 170.6416   ],\n       [135.21954  , 173.77759  ],\n       [125.14087  , 173.68164  ],\n       [115.06213  , 173.5857   ]], dtype=float32)}], original_roi: [array([[[  0,   0],\n        [  0, 255],\n        [255, 255],\n        [255,   0]]])])
11/19/2019 04:13:45 MainProcess     MainThread      annotate        __init__                  DEBUG    Initialized Annotate
11/19/2019 04:13:49 MainProcess     MainThread      jobs_manual     display_frames            DEBUG    Keypress action: key: ('109', action: '<bound method Interface.toggle_state of <tools.lib_alignments.jobs_manual.Interface object at 0x000001C1C1974BE0>>')
11/19/2019 04:13:49 MainProcess     MainThread      jobs_manual     toggle_state              DEBUG    Toggling state: (item: edit, category: active)
11/19/2019 04:13:49 MainProcess     MainThread      jobs_manual     toggle_state              DEBUG    State toggled: (item: edit, category: active, value: True)
11/19/2019 04:13:49 MainProcess     MainThread      jobs_manual     frame_selector            DEBUG    navigation: {'skip-mode': 1, 'frame-size': 1, 'frame_idx': 0, 'max_frame': 4750, 'last_request': 0, 'frame_name': '3_000001.png'}, frame: '3_000001.png', skip_mode: 'standard'
11/19/2019 04:13:49 MainProcess     MainThread      jobs_manual     get_frame                 DEBUG    Frame Name: '3_000001.png'
11/19/2019 04:13:49 MainProcess     MainThread      jobs_manual     get_frame                 DEBUG    Faces Updated: False
11/19/2019 04:13:49 MainProcess     MainThread      annotate        __init__                  DEBUG    Initializing Annotate: (alignments: [{'x': 1425, 'w': 147, 'y': 372, 'h': 135, 'landmarks_xy': array([[1497.3702 ,  354.3817 ],\n       [1481.553  ,  356.64133],\n       [1463.476  ,  365.6798 ],\n       [1454.4375 ,  370.19904],\n       [1438.6202 ,  379.2375 ],\n       [1429.5818 ,  406.35287],\n       [1420.5433 ,  419.91058],\n       [1416.024  ,  435.72787],\n       [1411.5049 ,  460.58365],\n       [1418.2837 ,  480.92017],\n       [1427.3221 ,  489.95865],\n       [1436.3606 ,  498.9971 ],\n       [1447.6587 ,  508.03558],\n       [1461.2164 ,  512.5548 ],\n       [1474.774  ,  517.07404],\n       [1488.3318 ,  521.59326],\n       [1506.4087 ,  521.59326],\n       [1519.9663 ,  395.0548 ],\n       [1524.4856 ,  406.35287],\n       [1529.0049 ,  419.91058],\n       [1529.0049 ,  431.20865],\n       [1526.7452 ,  437.9875 ],\n       [1524.4856 ,  471.8817 ],\n       [1524.4856 ,  480.92017],\n       [1526.7452 ,  489.95865],\n       [1526.7452 ,  501.2567 ],\n       [1522.226  ,  508.03558],\n       [1506.4087 ,  453.8048 ],\n       [1492.851  ,  456.0644 ],\n       [1481.553  ,  456.0644 ],\n       [1470.2549 ,  456.0644 ],\n       [1465.7356 ,  442.5067 ],\n       [1465.7356 ,  447.02594],\n       [1463.476  ,  453.8048 ],\n       [1465.7356 ,  462.84326],\n       [1467.9952 ,  467.3625 ],\n       [1501.8894 ,  410.8721 ],\n       [1506.4087 ,  419.91058],\n       [1506.4087 ,  428.94904],\n       [1504.149  ,  435.72787],\n       [1499.6299 ,  428.94904],\n       [1499.6299 ,  419.91058],\n       [1504.149  ,  471.8817 ],\n       [1506.4087 ,  480.92017],\n       [1506.4087 ,  487.69904],\n       [1504.149  ,  494.47787],\n       [1501.8894 ,  487.69904],\n       [1501.8894 ,  478.66058],\n       [1440.8799 ,  431.20865],\n       [1449.9183 ,  440.2471 ],\n       [1454.4375 ,  449.28558],\n       [1452.178  ,  453.8048 ],\n       [1454.4375 ,  460.58365],\n       [1449.9183 ,  469.6221 ],\n       [1447.6587 ,  476.40094],\n       [1440.8799 ,  469.6221 ],\n       [1436.3606 ,  462.84326],\n       [1434.101  ,  453.8048 ],\n       [1434.101  ,  447.02594],\n       [1438.6202 ,  440.2471 ],\n       [1443.1394 ,  433.46826],\n       [1445.399  ,  447.02594],\n       [1447.6587 ,  453.8048 ],\n       [1447.6587 ,  460.58365],\n       [1447.6587 ,  476.40094],\n       [1445.399  ,  460.58365],\n       [1445.399  ,  453.8048 ],\n       [1445.399  ,  447.02594]], dtype=float32), 'hash': 'b15f7696e5eddc854dc740fe0ac21d44947d35e6', 'mask': {}}], original_roi: [array([[[1561,  369]],\n\n       [[1390,  370]],\n\n       [[1392,  542]],\n\n       [[1563,  540]]], dtype=int32)])
11/19/2019 04:13:49 MainProcess     MainThread      annotate        __init__                  DEBUG    Initialized Annotate
11/19/2019 04:13:49 MainProcess     MainThread      annotate        __init__                  DEBUG    Initializing Annotate: (alignments: [{'landmarks_xy': array([[-21.94458  ,  95.00537  ],\n       [-18.808777 , 118.5542   ],\n       [ -5.6262817, 145.5586   ],\n       [  0.9649658, 159.06055  ],\n       [ 14.179443 , 182.70532  ],\n       [ 54.366333 , 196.5271   ],\n       [ 74.39581  , 210.15723  ],\n       [ 97.848755 , 217.1001   ],\n       [134.74005  , 224.1709   ],\n       [165.07196  , 214.37988  ],\n       [178.63806  , 201.06958  ],\n       [192.20416  , 187.75928  ],\n       [205.80225  , 171.08911  ],\n       [212.7132   , 150.99585  ],\n       [219.62408  , 130.90234  ],\n       [226.53503  , 110.80908  ],\n       [226.79077  ,  83.93262  ],\n       [ 38.847168 ,  61.98535  ],\n       [ 55.708923 ,  55.42578  ],\n       [ 75.930176 ,  48.898438 ],\n       [ 92.72797  ,  49.05835  ],\n       [102.77466  ,  52.51367  ],\n       [153.13617  ,  56.352783 ],\n       [166.5744   ,  56.480713 ],\n       [180.04456  ,  53.249023 ],\n       [196.84235  ,  53.408936 ],\n       [206.85718  ,  60.223877 ],\n       [126.00397  ,  82.97363  ],\n       [129.17163  , 103.163086 ],\n       [129.01184  , 119.96069  ],\n       [128.85199  , 136.75854  ],\n       [108.63068  , 143.28564  ],\n       [115.34979  , 143.34961  ],\n       [125.39661  , 146.80518  ],\n       [138.86676  , 143.57349  ],\n       [145.61786  , 140.27808  ],\n       [ 62.108337 ,  89.08545  ],\n       [ 75.610535 ,  82.49414  ],\n       [ 89.04877  ,  82.62207  ],\n       [ 99.09546  ,  86.07739  ],\n       [ 88.95288  ,  92.70068  ],\n       [ 75.51465  ,  92.572754 ],\n       [152.84845  ,  86.58887  ],\n       [166.31866  ,  83.35718  ],\n       [176.39734  ,  83.453125 ],\n       [186.44403  ,  86.90869  ],\n       [176.33337  ,  90.17236  ],\n       [162.89514  ,  90.04443  ],\n       [ 91.48126  , 180.08105  ],\n       [105.04736  , 166.77051  ],\n       [118.54962  , 160.17944  ],\n       [125.236755 , 163.60303  ],\n       [135.34741  , 160.33936  ],\n       [148.72168  , 167.18628  ],\n       [158.76843  , 170.6416   ],\n       [148.59381  , 180.62451  ],\n       [138.45123  , 187.2478   ],\n       [124.98102  , 190.47949  ],\n       [114.90228  , 190.38354  ],\n       [104.88757  , 183.56836  ],\n       [ 94.8728   , 176.75366  ],\n       [115.06213  , 173.5857   ],\n       [125.17285  , 170.32202  ],\n       [135.25146  , 170.41797  ],\n       [158.76843  , 170.6416   ],\n       [135.21954  , 173.77759  ],\n       [125.14087  , 173.68164  ],\n       [115.06213  , 173.5857   ]], dtype=float32)}], original_roi: [array([[[  0,   0],\n        [  0, 255],\n        [255, 255],\n        [255,   0]]])])
11/19/2019 04:13:49 MainProcess     MainThread      annotate        __init__                  DEBUG    Initialized Annotate
11/19/2019 04:13:53 MainProcess     MainThread      jobs_manual     initialize                DEBUG    Initialize frame: '3_000001.png'
11/19/2019 04:13:53 MainProcess     MainThread      jobs_manual     set_state_value           DEBUG    Setting state value: (item: edit, category: selected, value: 0)
11/19/2019 04:13:53 MainProcess     MainThread      jobs_manual     set_state_value           DEBUG    Setting state value: (item: edit, category: selected, value: 0)
11/19/2019 04:13:53 MainProcess     MainThread      pipeline        detected_faces            DEBUG    Running Detection. Phase: 'detect'
11/19/2019 04:13:53 MainProcess     MainThread      alignments      update_face               DEBUG    Updating face 0 for frame '3_000001.png'
11/19/2019 04:13:53 MainProcess     MainThread      pipeline        detected_faces            DEBUG    Running Detection. Phase: 'detect'
11/19/2019 04:13:53 MainProcess     MainThread      alignments      update_face               DEBUG    Updating face 0 for frame '3_000001.png'
11/19/2019 04:13:53 MainProcess     MainThread      jobs_manual     frame_selector            DEBUG    navigation: {'skip-mode': 1, 'frame-size': 1, 'frame_idx': 0, 'max_frame': 4750, 'last_request': 0, 'frame_name': '3_000001.png'}, frame: '3_000001.png', skip_mode: 'standard'
11/19/2019 04:13:53 MainProcess     MainThread      jobs_manual     get_frame                 DEBUG    Frame Name: '3_000001.png'
11/19/2019 04:13:53 MainProcess     MainThread      jobs_manual     get_frame                 DEBUG    Faces Updated: True
Traceback (most recent call last):
  File "C:\Users\x*****\faceswap\lib\cli.py", line 128, in execute_script
    process.process()
  File "C:\Users\x*****\faceswap\tools\alignments.py", line 52, in process
    job.process()
  File "C:\Users\x*****\faceswap\tools\lib_alignments\jobs_manual.py", line 466, in process
    self.display_frames()
  File "C:\Users\x*****\faceswap\tools\lib_alignments\jobs_manual.py", line 510, in display_frames
    frame, faces = self.get_frame()
  File "C:\Users\x*****\faceswap\tools\lib_alignments\jobs_manual.py", line 565, in get_frame
    self.extracted_faces.get_faces(frame_name)
  File "C:\Users\x*****\faceswap\tools\lib_alignments\media.py", line 288, in get_faces
    self.faces = [self.extract_one_face(alignment, image.copy()) for alignment in alignments]
  File "C:\Users\x*****\faceswap\tools\lib_alignments\media.py", line 288, in <listcomp>
    self.faces = [self.extract_one_face(alignment, image.copy()) for alignment in alignments]
  File "C:\Users\x*****\faceswap\tools\lib_alignments\media.py", line 297, in extract_one_face
    face.load_aligned(image, size=self.size)
  File "C:\Users\x*****\faceswap\lib\faces_detect.py", line 255, in load_aligned
    self.aligned["matrix"] = get_align_mat(self)
  File "C:\Users\x*****\faceswap\lib\aligner.py", line 122, in get_align_mat
    mat_umeyama = umeyama(face.landmarks_xy[17:], True)[0:2]
IndexError: too many indices for array

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         578aec2 Update INSTALL.md
gpu_cuda:            No global version found. Check Conda packages for Conda Cuda
gpu_cudnn:           No global version found. Check Conda packages for Conda cuDNN
gpu_devices:         GPU_0: GeForce 940MX
gpu_devices_active:  GPU_0
gpu_driver:          441.20
gpu_vram:            GPU_0: 2048MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.18362-SP0
os_release:          10
py_command:          C:\Users\x*****\faceswap\tools.py alignments -j manual -a C:/Work/TBR/Ready/3/3_alignments.fsa -fc C:/Work/TBR/Ready/3/Faces -fr C:/Work/TBR/Ready/3/3.mkv -o console -een 1 -sz 256 -L INFO -gui
py_conda_version:    conda 4.7.12
py_implementation:   CPython
py_version:          3.6.9
py_virtual_env:      True
sys_cores:           4
sys_processor:       Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
sys_ram:             Total: 12170MB, Available: 3029MB, Used: 9141MB, Free: 3029MB

=============== Pip Packages ===============
absl-py==0.8.1
astor==0.8.0
certifi==2019.9.11
cloudpickle==1.2.2
cycler==0.10.0
cytoolz==0.10.1
dask==2.8.0
decorator==4.4.1
fastcluster==1.1.25
ffmpy==0.2.2
gast==0.3.2
grpcio==1.16.1
h5py==2.9.0
imageio==2.5.0
imageio-ffmpeg==0.3.0
joblib==0.14.0
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.1.1
matplotlib==2.2.2
mkl-fft==1.0.15
mkl-random==1.1.0
mkl-service==2.3.0
networkx==2.4
numpy==1.16.2
nvidia-ml-py3==7.352.1
olefile==0.46
opencv-python==4.1.1.26
pathlib==1.0.1
Pillow==6.1.0
protobuf==3.10.1
psutil==5.6.5
pyparsing==2.4.5
pyreadline==2.1
python-dateutil==2.8.1
pytz==2019.3
PyWavelets==1.1.1
pywin32==223
PyYAML==5.1.2
scikit-image==0.15.0
scikit-learn==0.21.3
scipy==1.3.1
six==1.13.0
tensorboard==1.14.0
tensorflow==1.14.0
tensorflow-estimator==1.14.0
termcolor==1.1.0
toolz==0.10.0
toposort==1.5
tornado==6.0.3
tqdm==4.38.0
Werkzeug==0.16.0
wincertstore==0.2
wrapt==1.11.2

============== Conda Packages ==============
# packages in environment at C:\Users\x*****\MiniConda3\envs\faceswap:
#
# Name                    Version                   Build  Channel
_tflow_select             2.1.0                       gpu  
absl-py 0.8.1 py36_0
astor 0.8.0 py36_0
blas 1.0 mkl
ca-certificates 2019.10.16 0
certifi 2019.9.11 py36_0
cloudpickle 1.2.2 py_0
cudatoolkit 10.0.130 0
cudnn 7.6.4 cuda10.0_0
cycler 0.10.0 py36h009560c_0
cytoolz 0.10.1 py36he774522_0
dask-core 2.8.0 py_0
decorator 4.4.1 py_0
fastcluster 1.1.25 py36he350917_1000 conda-forge ffmpy 0.2.2 pypi_0 pypi freetype 2.9.1 ha9979f8_1
gast 0.3.2 py_0
grpcio 1.16.1 py36h351948d_1
h5py 2.9.0 py36h5e291fa_0
hdf5 1.10.4 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha66f8fd_1
imageio 2.5.0 py36_0
imageio-ffmpeg 0.3.0 pypi_0 pypi intel-openmp 2019.4 245
joblib 0.14.0 py_0
jpeg 9b hb83a4c4_2
keras 2.2.4 0
keras-applications 1.0.8 py_0
keras-base 2.2.4 py36_0
keras-preprocessing 1.1.0 py_1
kiwisolver 1.1.0 py36ha925a31_0
libmklml 2019.0.5 0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.10.1 h7bd577a_0
libtiff 4.1.0 h56a325e_0
markdown 3.1.1 py36_0
matplotlib 2.2.2 py36had4c4a9_2
mkl 2019.4 245
mkl-service 2.3.0 py36hb782905_0
mkl_fft 1.0.15 py36h14836fe_0
mkl_random 1.1.0 py36h675688f_0
networkx 2.4 py_0
numpy 1.16.2 py36h19fb1c0_0
numpy-base 1.16.2 py36hc3f5095_0
nvidia-ml-py3 7.352.1 pypi_0 pypi olefile 0.46 py36_0
opencv-python 4.1.1.26 pypi_0 pypi openssl 1.1.1d he774522_3
pathlib 1.0.1 py36_1
pillow 6.1.0 py36hdc69c19_0
pip 19.3.1 py36_0
protobuf 3.10.1 py36h33f27b4_0
psutil 5.6.5 py36he774522_0
pyparsing 2.4.5 py_0
pyqt 5.9.2 py36h6538335_2
pyreadline 2.1 py36_1
python 3.6.9 h5500b2f_0
python-dateutil 2.8.1 py_0
pytz 2019.3 py_0
pywavelets 1.1.1 py36he774522_0
pywin32 223 py36hfa6e2cd_1
pyyaml 5.1.2 py36he774522_0
qt 5.9.7 vc14h73c81de_0
scikit-image 0.15.0 py36ha925a31_0
scikit-learn 0.21.3 py36h6288b17_0
scipy 1.3.1 py36h29ff71c_0
setuptools 41.6.0 py36_0
sip 4.19.8 py36h6538335_0
six 1.13.0 py36_0
sqlite 3.30.1 he774522_0
tensorboard 1.14.0 py36he3c9ec2_0
tensorflow 1.14.0 gpu_py36h305fd99_0
tensorflow-base 1.14.0 gpu_py36h55fc52a_0
tensorflow-estimator 1.14.0 py_0
tensorflow-gpu 1.14.0 h0d30ee6_0
termcolor 1.1.0 py36_1
tk 8.6.8 hfa6e2cd_0
toolz 0.10.0 py_0
toposort 1.5 py_3 conda-forge tornado 6.0.3 py36he774522_0
tqdm 4.38.0 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_0
werkzeug 0.16.0 py_0
wheel 0.33.6 py36_0
wincertstore 0.2 py36h7fe50ca_0
wrapt 1.11.2 py36he774522_0
xz 5.2.4 h2fa13f4_4
yaml 0.1.7 hc54c509_2
zlib 1.2.11 h62dcd97_3
zstd 1.3.7 h508b16e_0 ================= Configs ================== --------- .faceswap --------- backend: nvidia --------- convert.ini --------- [color.color_transfer] clip: True preserve_paper: True [color.manual_balance] colorspace: HSV balance_1: 0.0 balance_2: 0.0 balance_3: 0.0 contrast: 0.0 brightness: 0.0 [color.match_hist] threshold: 99.0 [mask.box_blend] type: gaussian distance: 11.0 radius: 5.0 passes: 1 [mask.mask_blend] type: normalized radius: 3.0 passes: 4 erosion: 0.0 [scaling.sharpen] method: unsharp_mask amount: 150 radius: 0.3 threshold: 5.0 [writer.ffmpeg] container: mp4 codec: libx264 crf: 23 preset: medium tune: none profile: auto level: auto [writer.gif] fps: 25 loop: 0 palettesize: 256 subrectangles: False [writer.opencv] format: png draw_transparent: False jpg_quality: 75 png_compress_level: 3 [writer.pillow] format: png draw_transparent: False optimize: False gif_interlace: True jpg_quality: 75 png_compress_level: 3 tif_compression: tiff_deflate --------- extract.ini --------- [global] allow_growth: False [align.fan] batch-size: 12 [detect.cv2_dnn] confidence: 50 [detect.mtcnn] minsize: 20 threshold_1: 0.6 threshold_2: 0.7 threshold_3: 0.7 scalefactor: 0.709 batch-size: 8 [detect.s3fd] confidence: 70 batch-size: 4 [mask.unet_dfl] batch-size: 8 [mask.vgg_clear] batch-size: 6 [mask.vgg_obstructed] batch-size: 2 --------- gui.ini --------- [global] fullscreen: False tab: extract options_panel_width: 30 console_panel_height: 20 font: default font_size: 9 --------- train.ini --------- [global] coverage: 68.75 mask_type: none mask_blur: False icnr_init: False conv_aware_init: False subpixel_upscaling: False reflect_padding: False penalized_mask_loss: True loss_function: mae learning_rate: 5e-05 [model.dfl_h128] lowmem: False [model.dfl_sae] input_size: 128 clipnorm: True architecture: df autoencoder_dims: 0 encoder_dims: 42 decoder_dims: 21 multiscale_decoder: False [model.dlight] features: best details: good output_size: 256 [model.original] lowmem: True [model.realface] input_size: 64 output_size: 128 dense_nodes: 1536 complexity_encoder: 128 complexity_decoder: 512 [model.unbalanced] input_size: 128 lowmem: False clipnorm: True nodes: 1024 complexity_encoder: 128 complexity_decoder_a: 384 complexity_decoder_b: 512 [model.villain] lowmem: False [trainer.original] preview_images: 14 zoom_amount: 5 rotation_range: 10 shift_range: 5 flip_chance: 50 color_lightness: 30 color_ab: 8 color_clahe_chance: 50 color_clahe_max_size: 4
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: Error when manually adjusting alignments

Post by torzdf »

I will double check that the manual tool is still working as expected.

I'm not going to spend too much time debugging this as the manual tool will get replaced eventually

My word is final

Locked