Search Results for 'DeepFaceLab'

Home Forums Search Search Results for 'DeepFaceLab'

Viewing 14 results - 46 through 59 (of 59 total)
  • Author
    Search Results
  • Weebs11
    Participant

      Hi I am struggling with the below message, I have used deepfake with no issues on my previous PC, I haven’t even got to the training bit as I am getting this error when trying to Xseg Train.

      Does anyone know what the fix would be.

      Thanks,

      Weebs11

      Running trainer.

      Model first run.

      Choose one or several GPU idxs (separated by comma).

      [CPU] : CPU
      [0] : NVIDIA GeForce RTX 3090 Ti

      [0] Which GPU indexes to choose? :
      0

      [wf] Face type ( h/mf/f/wf/head ?:help ) :
      wf
      [4] Batch_size ( 2-16 ?:help ) : 8
      8
      [n] Enable pretraining mode ( y/n ) :
      n
      Loading samples: 100%|##############################################################| 654/654 [00:01<00:00, 490.36it/s]
      Loading samples: 100%|############################################################| 1619/1619 [00:03<00:00, 500.58it/s]
      ImportError: numpy.core.multiarray failed to import
      Traceback (most recent call last):
      File “<string>”, line 1, in <module>
      File “multiprocessing\spawn.py”, line 105, in spawn_main
      File “multiprocessing\spawn.py”, line 115, in _main
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\__init__.py”, line 1, in <module>
      from .Sample import Sample
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\Sample.py”, line 4, in <module>
      import cv2
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\cv2\__init__.py”, line 3, in <module>
      ImportError: numpy.core.multiarray failed to import
      from .cv2 import *
      Traceback (most recent call last):
      ImportError: numpy.core.multiarray failed to import
      ImportError: numpy.core.multiarray failed to import
      File “<string>”, line 1, in <module>
      ImportError: numpy.core.multiarray failed to import
      ImportError: numpy.core.multiarray failed to import
      Traceback (most recent call last):
      Traceback (most recent call last):
      File “multiprocessing\spawn.py”, line 105, in spawn_main

      Traceback (most recent call last):
      Traceback (most recent call last):
      ImportError: numpy.core.multiarray failed to import
      File “<string>”, line 1, in <module>
      Exception ignored in: <module ‘collections.abc’ from ‘D:\\deepfake\\DeepFaceLab_NVIDIA_RTX3000_series\\_internal\\python-3.6.8\\python36.zip\\collections\\abc.pyc’>
      File “<string>”, line 1, in <module>
      File “multiprocessing\spawn.py”, line 115, in _main
      File “<string>”, line 1, in <module>
      File “<string>”, line 1, in <module>
      Traceback (most recent call last):
      File “multiprocessing\spawn.py”, line 105, in spawn_main
      MemoryError
      File “multiprocessing\spawn.py”, line 105, in spawn_main
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\__init__.py”, line 1, in <module>
      File “multiprocessing\spawn.py”, line 105, in spawn_main
      File “multiprocessing\spawn.py”, line 105, in spawn_main
      File “<string>”, line 1, in <module>
      File “multiprocessing\spawn.py”, line 115, in _main
      D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\python36.zip\importlib\_bootstrap.py:219: RuntimeWarning: Cython module failed to patch module with custom type
      File “multiprocessing\spawn.py”, line 115, in _main
      from .Sample import Sample
      File “multiprocessing\spawn.py”, line 115, in _main
      File “multiprocessing\spawn.py”, line 115, in _main
      File “multiprocessing\spawn.py”, line 105, in spawn_main
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\__init__.py”, line 1, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\__init__.py”, line 1, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\Sample.py”, line 4, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\__init__.py”, line 1, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\__init__.py”, line 1, in <module>
      File “multiprocessing\spawn.py”, line 115, in _main
      from .Sample import Sample
      from .Sample import Sample
      import cv2
      from .Sample import Sample
      from .Sample import Sample
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\__init__.py”, line 1, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\Sample.py”, line 7, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\Sample.py”, line 4, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\cv2\__init__.py”, line 3, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\Sample.py”, line 4, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\Sample.py”, line 4, in <module>
      from .Sample import Sample
      from core.cv2ex import *
      import cv2
      from .cv2 import *
      import cv2
      import cv2
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\Sample.py”, line 4, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\cv2ex.py”, line 4, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\cv2\__init__.py”, line 3, in <module>
      ImportError: numpy.core.multiarray failed to import
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\cv2\__init__.py”, line 3, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\cv2\__init__.py”, line 3, in <module>
      import cv2
      from core.interact import interact as io
      from .cv2 import *
      from .cv2 import *
      from .cv2 import *
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\cv2\__init__.py”, line 3, in <module>
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\interact\__init__.py”, line 1, in <module>
      ImportError: numpy.core.multiarray failed to import
      ImportError: numpy.core.multiarray failed to import
      ImportError: numpy.core.multiarray failed to import
      from .cv2 import *
      from .interact import interact
      ImportError: numpy.core.multiarray failed to import
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\interact\interact.py”, line 11, in <module>
      from tqdm import tqdm
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\tqdm\__init__.py”, line 3, in <module>
      from .cli import main # TODO: remove in v5.0.0
      File “D:\deepfake\DeepFaceLab_NVIDIA_RTX3000_series\_internal\python-3.6.8\lib\site-packages\tqdm\cli.py”, line 9, in <module>
      from .std import TqdmKeyError, TqdmTypeError, tqdm
      File “<frozen importlib._bootstrap>”, line 971, in _find_and_load
      File “<frozen importlib._bootstrap>”, line 955, in _find_and_load_unlocked
      File “<frozen importlib._bootstrap>”, line 665, in _load_unlocked
      File “<frozen importlib._bootstrap_external>”, line 674, in exec_module
      File “<frozen importlib._bootstrap_external>”, line 771, in get_code
      File “<frozen importlib._bootstrap_external>”, line 482, in _validate_bytecode_header
      MemoryError

      #3684
      Anonymous

        Hi, Everyone! My friend is using Deepfake for our film project and he finds this error when using higher resolution files: Error 32, Broken Pipe Error.
        Here is some of the error trace code. Any help to solve this problem is very welcome!

        Exception in thread Thread-57:
        Traceback (most recent call last):
        File “threading.py”, line 916, in _bootstrap_inner
        File “threading.py”, line 864, in run
        File “G:\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py”, line 11, in launch_thread
        generator._start()
        File “G:\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py”, line 43, in _start
        p.start()
        File “multiprocessing\process.py”, line 105, in start
        File “multiprocessing\context.py”, line 223, in _Popen
        File “multiprocessing\context.py”, line 322, in _Popen
        File “multiprocessing\popen_spawn_win32.py”, line 65, in __init__
        File “multiprocessing\reduction.py”, line 60, in dump
        BrokenPipeError: [Errno 32] Broken pipe

        #3668
        Admin
        Keymaster

          Added more videos to the DeepFaceLab tutorials section.

          Added Open Graph tags for better shared link previews.

          Anonymous

            Hi,

            I just tried to run DeepFaceLab in DX12 version on a freshly installed server with Win 10. But unfortunately already when extracting the images from the video I get an error.

            I myself can think of two sources of error. One is that there is no GPU installed, or that there are two CPUs.

            The “10.misc) make CPU only.bat” brings unfortunately also only one error.

            Errormessage

            #3584
            Anonymous

              Hi all, I’m a newb, I’m using the DeepFaceLab_DirectX12, but there is no “export Quick96 as dfm”, only AMP & Saehd to dfm. Please advise. Thank you

              #3569

              In reply to: SAED does not work

              deepfakery
              Keymaster

                I just noticed something else in the path to your DFL:
                “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti”
                Try having it in your C: directory not the desktop, and remove the space in the folder name

                #3567

                In reply to: SAED does not work

                deepfakery
                Keymaster

                  Hey Aron,
                  I just posted a guide which might help. It has some recommendations for DeepFaceLab system optimization.

                  DeepFaceLab 2.0 Guide

                  You card doesn’t have much VRAM available which is going to be the major problem, even with really low settings.
                  Check out this table: https://www.deepfakevfx.com/guides/model-training-settings/
                  You might need to disable the -U and/or -D model options. Try these settings: LIAE/112/256/64/64/22

                  Also were you able to run Quick96 at all?

                  #3564

                  In reply to: SAED does not work

                  Anonymous

                    Thanks for your answer.
                    I implemented the first two suggestions, but still got an error message.
                    When I try train Quick 96, the error message also appears.
                    What do you mean with the last point:”Might also try increasing your page file size.”
                    Can you explain that in a bit more detail?
                    Best regards
                    aron

                    Running trainer.

                    [new] No saved models found. Enter a name of a new model :
                    new

                    Model first run.

                    Choose one or several GPU idxs (separated by comma).

                    [CPU] : CPU
                    [0] : NVIDIA GeForce GTX 950M

                    [0] Which GPU indexes to choose? : 0
                    0

                    [0] Autobackup every N hour ( 0..24 ?:help ) :
                    0
                    [n] Write preview history ( y/n ?:help ) :
                    n
                    [10] Target iteration :
                    10
                    [n] Flip SRC faces randomly ( y/n ?:help ) :
                    n
                    [y] Flip DST faces randomly ( y/n ?:help ) :
                    y
                    [2] Batch_size ( ?:help ) :
                    2
                    [64] Resolution ( 64-640 ?:help ) :
                    64
                    [f] Face type ( h/mf/f/wf/head ?:help ) :
                    f
                    [liae-ud] AE architecture ( ?:help ) :
                    liae-ud
                    [256] AutoEncoder dimensions ( 32-1024 ?:help ) :
                    256
                    [64] Encoder dimensions ( 16-256 ?:help ) :
                    64
                    [64] Decoder dimensions ( 16-256 ?:help ) :
                    64
                    [22] Decoder mask dimensions ( 16-256 ?:help ) :
                    22
                    [n] Eyes and mouth priority ( y/n ?:help ) :
                    n
                    [n] Uniform yaw distribution of samples ( y/n ?:help ) :
                    n
                    [n] Blur out mask ( y/n ?:help ) :
                    n
                    [n] Place models and optimizer on GPU ( y/n ?:help ) :
                    n
                    [n] Use AdaBelief optimizer? ( y/n ?:help ) :
                    n
                    [n] Use learning rate dropout ( n/y/cpu ?:help ) :
                    n
                    [y] Enable random warp of samples ( y/n ?:help ) :
                    y
                    [0.0] Random hue/saturation/light intensity ( 0.0 .. 0.3 ?:help ) :
                    0.0
                    [0.0] GAN power ( 0.0 .. 5.0 ?:help ) :
                    0.0
                    [0.0] Face style power ( 0.0..100.0 ?:help ) :
                    0.0
                    [0.0] Background style power ( 0.0..100.0 ?:help ) :
                    0.0
                    [none] Color transfer for src faceset ( none/rct/lct/mkl/idt/sot ?:help ) :
                    none
                    [n] Enable gradient clipping ( y/n ?:help ) :
                    n
                    [n] Enable pretraining mode ( y/n ?:help ) :
                    n
                    Initializing models: 100%|###############################################################| 5/5 [00:02<00:00, 1.72it/s]
                    Loading samples: 100%|###############################################################| 461/461 [00:41<00:00, 11.06it/s]
                    Loading samples: 100%|###############################################################| 399/399 [00:38<00:00, 10.41it/s]
                    Process Process-13:
                    Traceback (most recent call last):
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py”, line 134, in batch_func
                    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py”, line 145, in process
                    img = get_eyes_mouth_mask()*mask
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py”, line 80, in get_eyes_mouth_mask
                    return np.clip(mask, 0, 1)
                    File “<__array_function__ internals>”, line 6, in clip
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py”, line 2097, in clip
                    return _wrapfunc(a, ‘clip’, a_min, a_max, out=out, **kwargs)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py”, line 58, in _wrapfunc
                    return bound(*args, **kwds)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\_methods.py”, line 141, in _clip
                    um.clip, a, min, max, out=out, casting=casting, **kwargs)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\_methods.py”, line 94, in _clip_dep_invoke_with_casting
                    return ufunc(*args, out=out, **kwargs)
                    MemoryError: Unable to allocate 16.0 MiB for an array with shape (2048, 2048, 1) and data type float32

                    During handling of the above exception, another exception occurred:

                    Traceback (most recent call last):
                    File “multiprocessing\process.py”, line 258, in _bootstrap
                    File “multiprocessing\process.py”, line 93, in run
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py”, line 54, in process_func
                    gen_data = next (self.generator_func)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py”, line 136, in batch_func
                    raise Exception (“Exception occured in sample %s. Error: %s” % (sample.filename, traceback.format_exc() ) )
                    Exception: Exception occured in sample C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\workspace\data_dst\aligned\00081_0.jpg. Error: Traceback (most recent call last):
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py”, line 134, in batch_func
                    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py”, line 145, in process
                    img = get_eyes_mouth_mask()*mask
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\DeepFaceLab\samplelib\SampleProcessor.py”, line 80, in get_eyes_mouth_mask
                    return np.clip(mask, 0, 1)
                    File “<__array_function__ internals>”, line 6, in clip
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py”, line 2097, in clip
                    return _wrapfunc(a, ‘clip’, a_min, a_max, out=out, **kwargs)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py”, line 58, in _wrapfunc
                    return bound(*args, **kwds)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\_methods.py”, line 141, in _clip
                    um.clip, a, min, max, out=out, casting=casting, **kwargs)
                    File “C:\Users\aronk\Desktop\11.20. DeepFaceLab_NVIDIA_up_to_RTX2080Ti\_internal\python-3.6.8\lib\site-packages\numpy\core\_methods.py”, line 94, in _clip_dep_invoke_with_casting
                    return ufunc(*args, out=out, **kwargs)
                    MemoryError: Unable to allocate 16.0 MiB for an array with shape (2048, 2048, 1) and data type float32

                    Drücken Sie eine beliebige Taste . . .

                    #1104
                    deepfakery
                    Keymaster

                      You can enable uniform pitch in DeepFaceLab by making a minor code modification to the file SampleGeneratorFace.py

                      Step 1: Navigate to My_DeepFaceLab_Directory/_internal/DeepFaceLab/samplelib/
                      Step 2: Make a backup copy of the file SampleGeneratorFace.py
                      Step 3: Open the file SampleGeneratorFace.py in an IDE or text editor
                      Step 4: Modify line 66
                      Original Code:
                      s_yaw = -pyr[1]
                      New Code:
                      s_yaw = -pyr[0]
                      Step 5: Save the file.
                      Step 6: In the trainer, enable Uniform Yaw (uniform_yaw). The console output will still display “uniform yaw” however the code modification will use pitch instead.
                      Step 7: To switch back to pitch, either revert the code, or change the filename and use your backup.

                      #357
                      deepfakery
                      Keymaster

                        #858
                        deepfakery
                        Keymaster

                          #390
                          Using DeepFaceLab with editing and VFX software, composition and masking, color correction, exporting and encoding.
                          #299
                          Step 1: Installation and Setup How to install DeepFaceLab, system optimization, and workspace setup.
                          #297

                          Forum: DeepFaceLab

                        Viewing 14 results - 46 through 59 (of 59 total)