Error: name ‘samples_dat_path’ is not defined

Home Forums DeepFaceLab Errors Error: name ‘samples_dat_path’ is not defined

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8889
    vishnuproject
    Participant

      Running trainer.

      Model first run.

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

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

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

      [wf] Face type ( h/mf/f/wf/head ?:help ) : wf
      wf
      [8] Batch_size ( 2-16 ?:help ) : 8
      8
      [n] Enable pretraining mode ( y/n ) : n
      Loading samples: 100%|##############################################################| 654/654 [00:02<00:00, 271.86it/s]
      Error: name ‘samples_dat_path’ is not defined
      Traceback (most recent call last):
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\SampleLoader.py”, line 54, in load
      result = samplelib.PackedFaceset.load(samples_path)
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\PackedFaceset.py”, line 142, in load
      samples_configs = pickle.loads ( f.read(sizeof_samples_bytes) )
      _pickle.UnpicklingError: invalid load key, ‘\x00′.

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\mainscripts\Trainer.py”, line 58, in trainerThread
      debug=debug)
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\models\Model_XSeg\Model.py”, line 17, in __init__
      super().__init__(*args, force_model_class_name=’XSeg’, **kwargs)
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\models\ModelBase.py”, line 193, in __init__
      self.on_initialize()
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\models\Model_XSeg\Model.py”, line 166, in on_initialize
      data_format=nn.data_format)
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\SampleGeneratorFaceXSeg.py”, line 26, in __init__
      samples = sum([ SampleLoader.load (SampleType.FACE, path) for path in paths ] )
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\SampleGeneratorFaceXSeg.py”, line 26, in <listcomp>
      samples = sum([ SampleLoader.load (SampleType.FACE, path) for path in paths ] )
      File “D:\DeepFaceLab\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\SampleLoader.py”, line 56, in load
      io.log_err(f”Error occured while loading samplelib.PackedFaceset.load {str(samples_dat_path)}, {traceback.format_exc()}”)
      NameError: name ‘samples_dat_path’ is not defined

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.