MrDeepFakes Forums

Some content may not be available to Guests. Consider registering an account to enjoy unrestricted access to guides, support and tools

  • We are looking for community members who are intested in helping out. See our HELP WANTED post.

Getting this error and no one else in thread history has gotten an answer....

Status
Not open for further replies.

poopman

DF Vagrant
File "multiprocessing\process.py", line 258, in _bootstrap
  File "multiprocessing\process.py", line 93, in run
  File "D:\downloads2\deepfake\DeepFaceLab\DeepFaceLab_CUDA_10.1_AVX\_internal\DeepFaceLab\utils\iter_utils.py", line 39, in process_func
    gen_data = next (self.generator_func)
  File "D:\downloads2\deepfake\DeepFaceLab\DeepFaceLab_CUDA_10.1_AVX\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 142, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample D:\downloads2\deepfake\DeepFaceLab\DeepFaceLab_CUDA_10.1_AVX\workspace\data_src\aligned\00555.jpg. Error: Traceback (most recent call last):
  File "D:\downloads2\deepfake\DeepFaceLab\DeepFaceLab_CUDA_10.1_AVX\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 140, in batch_func
    x = SampleProcessor.process (sample, self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "D:\downloads2\deepfake\DeepFaceLab\DeepFaceLab_CUDA_10.1_AVX\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 108, in process
    params = imagelib.gen_warp_params(sample_bgr, sample_process_options.random_flip, rotation_range=sample_process_options.rotation_range, scale_range=sample_process_options.scale_range, tx_range=sample_process_options.tx_range, ty_range=sample_process_options.ty_range )
  File "D:\downloads2\deepfake\DeepFaceLab\DeepFaceLab_CUDA_10.1_AVX\_internal\DeepFaceLab\imagelib\warp.py", line 8, in gen_warp_params
    raise ValueError ('gen_warp_params accepts only square images.')
ValueError: gen_warp_params accepts only square images.
 

TMBDF

Moderator | Deepfake Creator | Guide maintainer
Staff member
Moderator
Verified Video Creator
There is issue with image 00555.jpg in your dataset, probably the same thign happend to you as to me, you run out of space, it kinda aligned some images, kinda didn't some, they get loaded and you get an error.

Try to delete this one frame and if others cause issues, just delete them all and align all frames again.
 

sakajo

DF Admirer
tutsmybarreh said:
There is issue with image 00555.jpg in your dataset, probably the same thign happend to you as to me, you run out of space, it kinda aligned some images, kinda didn't some, they get loaded and you get an error.

Try to delete this one frame and if others cause issues, just delete them all and align all frames again.

Im getting this error too on 2.0. Everytime i delete the specified images, it keeps finding new ones. Note that these images were extracted on DFL 1.0 and ran through Topaz giga pixel the had landmarks added to them using an old tool of DFL. Do i need to reextract on 2.0? 

UPDATE: For anyone experiencing this just rextract them. Odd when I run the same src set in DFL1.0 I didnt get these errors.


Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

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:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\ORG (68)_0.jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

Process Process-14:
Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

During handling of the above exception, another exception occurred:

Process Process-11:
Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
Traceback (most recent call last):
  File "multiprocessing\process.py", line 258, in _bootstrap
  File "multiprocessing\process.py", line 93, in run
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\A CNN (42)_0.jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
Process Process-12:
NameError: name 'warp_resolution' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

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:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\A HT (61).jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

  File "multiprocessing\process.py", line 258, in _bootstrap
  File "multiprocessing\process.py", line 93, in run
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\HQ (134)_0.jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined
 

TMBDF

Moderator | Deepfake Creator | Guide maintainer
Staff member
Moderator
Verified Video Creator
sakajo said:
tutsmybarreh said:
There is issue with image 00555.jpg in your dataset, probably the same thign happend to you as to me, you run out of space, it kinda aligned some images, kinda didn't some, they get loaded and you get an error.

Try to delete this one frame and if others cause issues, just delete them all and align all frames again.

Im getting this error too on 2.0. Everytime i delete the specified images, it keeps finding new ones. Note that these images were extracted on DFL 1.0 and ran through Topaz giga pixel the had landmarks added to them using an old tool of DFL. Do i need to reextract on 2.0? 

UPDATE: For anyone experiencing this just rextract them. Odd when I run the same src set in DFL1.0 I didnt get these errors.


Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

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:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\ORG (68)_0.jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

Process Process-14:
Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

During handling of the above exception, another exception occurred:

Process Process-11:
Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
Traceback (most recent call last):
  File "multiprocessing\process.py", line 258, in _bootstrap
  File "multiprocessing\process.py", line 93, in run
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\A CNN (42)_0.jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
Process Process-12:
NameError: name 'warp_resolution' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

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:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\A HT (61).jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

  File "multiprocessing\process.py", line 258, in _bootstrap
  File "multiprocessing\process.py", line 93, in run
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\core\joblib\SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 117, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample C:\DFL\DeepFaceLab_March\workspace\data_src\aligned\HQ (134)_0.jpg. Error: Traceback (most recent call last):
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py", line 115, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "C:\DFL\DeepFaceLab_March\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 146, in process
    mat  = LandmarksProcessor.get_transform_mat (sample_landmarks, warp_resolution, face_type)
NameError: name 'warp_resolution' is not defined

It's normal that old datasets may not work correctly, there were many updates to extractor so it's to be expected, just FYI PNGs are not supported anymore so if your datasets contain them you will have to reextract those and for that you may need to use older version of DFL 2.0 before the update so that you can run them again through extractor.
 
Status
Not open for further replies.
Top