I get this errors and i do not know what to do

Home Forums DeepFaceLab XSeg Masking I get this errors and i do not know what to do

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5212
    sunniking1
    Participant

    Running trainer.

    Loading XSeg model…

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

    [CPU] : CPU
    [0] : NVIDIA GeForce RTX 2080 Super
    [1] : Intel(R) UHD Graphics 630

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

    Press enter in 2 seconds to override model settings.
    [n] Restart training? ( y/n ?:help ) :
    n
    [8] Batch_size ( 2-16 ?:help ) :
    8
    [n] Enable pretraining mode ( y/n ) :
    n
    Loading samples: 100%|########################################################| 146146/146146 [06:15<00:00, 389.70it/s]
    Loaded 63012 packed faces from C:\Users\sunni\OneDrive\Desktop\paul chang New\workspace\data_dst\aligned
    Filtering: 100%|#############################################################| 209158/209158 [02:43<00:00, 1282.43it/s]
    Using 288 segmented samples.
    ================= Model Summary ==================
    == ==
    == Model name: XSeg ==
    == ==
    == Current iteration: 4519 ==
    == ==
    ==————— Model Options —————-==
    == ==
    == face_type: wf ==
    == pretrain: False ==
    == batch_size: 8 ==
    == ==
    ==—————– Running On —————–==
    == ==
    == Device index: 1 ==
    == Name: Intel(R) UHD Graphics 630 ==
    == VRAM: 29.57GB ==
    == ==
    ==================================================
    Starting. Press “Enter” to stop training and save model.
    Traceback (most recent call last):
    File “C:\Users\sunni\OneDrive\Desktop\paul chang New\_internal\DeepFaceLab\main.py”, line 343, in <module>
    arguments.func(arguments)
    File “C:\Users\sunni\OneDrive\Desktop\paul chang New\_internal\DeepFaceLab\main.py”, line 132, in process_train
    Trainer.main(**kwargs)
    File “C:\Users\sunni\OneDrive\Desktop\paul chang New\_internal\DeepFaceLab\mainscripts\Trainer.py”, line 317, in main
    lh_img = models.ModelBase.get_loss_history_preview(loss_history_to_show, iter, w, c)
    File “C:\Users\sunni\OneDrive\Desktop\paul chang New\_internal\DeepFaceLab\models\ModelBase.py”, line 627, in get_loss_history_preview
    ph_max = int ( (plist_max[col][p] / plist_abs_max) * (lh_height-1) )
    ValueError: cannot convert float NaN to integer
    [

    #6955
    deepfakery
    Keymaster

    I would move everything from the OneDrive folder to Documents or C:, and also use folders with no spaces in the name.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.