Error: No training data provided when trying to train SAEHD

Home Forums DeepFaceLab Training Error: No training data provided when trying to train SAEHD

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9364
    zerotekr
    Participant

      I have a problem with training SAEHD
      I followed all the steps in the video until I get to the part to train SAEHD. I keep getting this error message “Error: No training data provided.”
      This is the error message below
      ####### ###
      Running trainer.

      Choose one of saved models, or enter a name to create a new model.
      [r] : rename
      [d] : delete

      [0] : new – latest
      : new
      new
      Loading new_SAEHD model…

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

      [CPU] : CPU
      [0] : NVIDIA GeForce RTX 3070 Laptop GPU

      [0] Which GPU indexes to choose? :
      0

      Press enter in 2 seconds to override model settings.
      [] Session name ( ?:help ) :

      [0] Autobackup every N hour ( 0..24 ?:help ) :
      0
      [24] Maximum N backups ( ?:help ) :
      24
      [n] Write preview history ( y/n ?:help ) :
      n
      [4] Number of samples to preview ( 1 – 16 ?:help ) : 2
      2
      [n] Use old preview panel ( y/n ) :
      n
      [0] Target iteration :
      0
      [n] Retrain high loss samples ( y/n ?:help ) :
      n
      [n] Flip SRC faces randomly ( y/n ?:help ) :
      n
      [y] Flip DST faces randomly ( y/n ?:help ) :
      y
      [8] Batch_size ( ?:help ) : 4
      4
      [n] Use fp16 ( y/n ?:help ) :
      n
      [8] Max cpu cores to use. ( 1 – 256 ?:help ) :
      8
      [y] Masked training ( y/n ?:help ) :
      y
      [n] Eyes priority ( y/n ?:help ) :
      n
      [n] Mouth priority ( y/n ?:help ) :
      n
      [y] Uniform yaw distribution of samples ( y/n ?:help ) : n
      [y] Blur out mask ( y/n ?:help ) :
      y
      [y] Place models and optimizer on GPU ( y/n ?:help ) : n
      [y] Use AdaBelief optimizer? ( y/n ?:help ) :
      y
      [y] Use learning rate dropout ( n/y/cpu ?:help ) : n
      n
      [SSIM] Loss function ( SSIM/MS-SSIM/MS-SSIM+L1 ?:help ) :
      SSIM
      [5e-05] Learning rate ( 0.0 .. 1.0 ?:help ) :
      5e-05
      [y] Enable random warp of samples ( y/n ?:help ) :
      y
      [0.0] Random hue/saturation/light intensity ( 0.0 .. 0.3 ?:help ) :
      0.0
      [n] Enable random downsample of samples ( y/n ?:help ) :
      n
      [n] Enable random noise added to samples ( y/n ?:help ) :
      n
      [n] Enable random blur of samples ( y/n ?:help ) :
      n
      [n] Enable random jpeg compression of samples ( y/n ?:help ) :
      n
      [none] Enable random shadows and highlights of samples ( none/src/dst/all ?:help ) :
      none
      [0.0] GAN power ( 0.0 .. 10.0 ?:help ) :
      0.0
      [0.0] Background power ( 0.0..1.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/fs-aug ?:help ) : fs-aug
      fs-aug
      [n] Random color ( y/n ?:help ) : y
      [n] Enable gradient clipping ( y/n ?:help ) : y
      [n] Enable pretraining mode ( y/n ?:help ) :
      n
      Initializing models: 100%|###############################################################| 5/5 [00:05<00:00, 1.07s/it]
      Loaded 32961 packed faces from C:\zthers\DeepFaceLab_NVIDIA_RTX3000_series\workspace\data_src\aligned
      Loading samples: 0it [00:00, ?it/s]
      Error: No training data provided.
      Traceback (most recent call last):
      File “C:\zthers\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\mainscripts\Trainer.py”, line 106, in trainerThread
      debug=debug)
      File “C:\zthers\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\models\ModelBase.py”, line 246, in _init_
      self.on_initialize()
      File “C:\zthers\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\models\Model_SAEHD\Model.py”, line 892, in on_initialize
      generators_count=dst_generators_count
      File “C:\zthers\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\samplelib\SampleGeneratorFace.py”, line 48, in _init_
      raise ValueError(‘No training data provided.’)
      ValueError: No training data provided.
      Exception in thread Thread-4:
      Traceback (most recent call last):
      File “threading.py”, line 916, in _bootstrap_inner
      File “threading.py”, line 864, in run
      File “C:\zthers\DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\core\mplib\__init__.py”, line 38, in host_thread
      result.append(shuffle_idxs.pop())
      IndexError: pop from empty list

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