Hi to all,
I've tryed again a couple of times getting that colab sheet working...
So the old error message couldn't make the timelapse work, but simply deleting it made me go one step further (wich is great thanks a lot Bryanlyon)
But since i'm here like in the setting menu of a chinese phone i get this new error message that i can't resolve (nor really understand why) :
Setting Faceswap backend to NVIDIA
usage: faceswap.py train [-h] [-C CONFIGFILE] [-L {INFO,VERBOSE,DEBUG,TRACE}]
[-LF LOGFILE] -A INPUT_A [-ala ALIGNMENTS_PATH_A] -B
INPUT_B [-alb ALIGNMENTS_PATH_B] -m MODEL_DIR
[-t {dfaker,dfl-h128,dfl-sae,dlight,iae,lightweight,original,realface,unbalanced,villain}]
[-bs BATCH_SIZE] [-it ITERATIONS] [-g GPUS] [-msg]
[-o] [-pp] [-s SAVE_INTERVAL] [-ss SNAPSHOT_INTERVAL]
[-tia TIMELAPSE_INPUT_A] [-tib TIMELAPSE_INPUT_B]
[-to TIMELAPSE_OUTPUT] [-ps PREVIEW_SCALE] [-p] [-w]
[-ag] [-nl] [-wl] [-nf] [-nac]
(a bunch of text reminding the short cuts and what everything is for that i didn't past here)
faceswap.py train: error: argument -t/--trainer: invalid choice: '{trainer_type}' (choose from 'dfaker', 'dfl-h128', 'dfl-sae', 'dlight', 'iae', 'lightweight', 'original', 'realface', 'unbalanced', 'villain')
The thing is that i really don't touch to anything on the collab sheet, but did try to change the trainer type to différent models, none worked out.... Here is one try:
#set variables start
num_iterations = "100000"
save_every = "360"
save_model_every = "25000"
batch_num = "16"
num_gpus = "1"
trainer_type = "dlight"
model_dir = "/content/drive/My Drive/colab_files/faceswap/models/YourModelName"
alignments_file_a = "face_a/alignments.fsa"
alignments_file_b = "face_b/alignments.fsa"
timelapse_dir = "/content/drive/My Drive/colab_files/faceswap/output/timelapse"
#set variables end
!python3 faceswap/faceswap.py train \
-A 'face_a' -ala '{alignments_file_a}' \
-B 'face_b' -alb '{alignments_file_b}' \
-m '{model_dir}' \
-t '{trainer_type}' \
-bs '{batch_num}' \
-it '{num_iterations}' \
-g '{num_gpus}' \
-s '{save_every}' \
-ss '{save_model_every}' \
-tia 'face_a' \
-tib 'face_b' \
-to '{timelapse_dir}'
If some one could kindly tell me wich stupid move i made (or didn't) and help me reach the last step....? I would more than appreciate.