Masks updates

- Add head centering support to training
  - Update helptext/tooltips
This commit is contained in:
torzdf 2021-05-17 18:20:08 +01:00
parent 58cedef281
commit 6c439944cd
12 changed files with 372 additions and 276 deletions

View File

@ -395,6 +395,9 @@ class ExtractArgs(ExtractConvertArgs):
"RAM. You can select none, one or multiple masks, but the extraction may take "
"longer the more you select. NB: The Extended and Components (landmark based) "
"masks are automatically generated on extraction."
"\nL|bisenet-fp: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked including full head masking "
"(configurable in mask settings)."
"\nL|vgg-clear: Mask designed to provide smart segmentation of mostly frontal "
"faces clear of obstructions. Profile faces and obstructions may result in "
"sub-par performance."
@ -667,11 +670,20 @@ class ConvertArgs(ExtractConvertArgs):
type=str.lower,
dest="mask_type",
default="extended",
choices=PluginLoader.get_available_extractors("mask", add_none=True) + ["predicted"],
choices=PluginLoader.get_available_extractors("mask",
add_none=True,
extend_plugin=True) + ["predicted"],
group=_("Plugins"),
help=_("R|Masker to use. NB: The mask you require must exist within the alignments "
"file. You can add additional masks with the Mask Tool."
"\nL|none: Don't use a mask."
"\nL|bisenet-fp-face: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'face' or "
"'legacy' centering."
"\nL|bisenet-fp-head: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'head' centering."
"\nL|components: Mask designed to provide facial segmentation based on the "
"positioning of landmark locations. A convex hull is constructed around the "
"exterior of the landmarks to create a mask."

View File

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: faceswap.spanish\n"
"POT-Creation-Date: 2021-03-20 14:15+0000\n"
"PO-Revision-Date: 2021-03-20 14:17+0000\n"
"POT-Creation-Date: 2021-05-17 18:04+0100\n"
"PO-Revision-Date: 2021-05-17 18:18+0100\n"
"Last-Translator: \n"
"Language-Team: tokafondo\n"
"Language: es\n"
@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 2.4.2\n"
"X-Generator: Poedit 2.4.3\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: lib/cli/args.py:177 lib/cli/args.py:187 lib/cli/args.py:195
@ -54,7 +54,7 @@ msgstr ""
"almacenarlo en la carpeta pde instalación de faceswap"
#: lib/cli/args.py:299 lib/cli/args.py:308 lib/cli/args.py:316
#: lib/cli/args.py:627 lib/cli/args.py:636
#: lib/cli/args.py:630 lib/cli/args.py:639
msgid "Data"
msgstr "Datos"
@ -90,8 +90,8 @@ msgstr ""
"Los plugins de extracción pueden ser configuradas en el menú de 'Ajustes'"
#: lib/cli/args.py:365 lib/cli/args.py:381 lib/cli/args.py:393
#: lib/cli/args.py:425 lib/cli/args.py:443 lib/cli/args.py:455
#: lib/cli/args.py:646 lib/cli/args.py:671 lib/cli/args.py:700
#: lib/cli/args.py:428 lib/cli/args.py:446 lib/cli/args.py:458
#: lib/cli/args.py:649 lib/cli/args.py:676 lib/cli/args.py:712
msgid "Plugins"
msgstr "Extensiones"
@ -136,6 +136,9 @@ msgid ""
"RAM. You can select none, one or multiple masks, but the extraction may take "
"longer the more you select. NB: The Extended and Components (landmark based) "
"masks are automatically generated on extraction.\n"
"L|bisenet-fp: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked including full head masking "
"(configurable in mask settings).\n"
"L|vgg-clear: Mask designed to provide smart segmentation of mostly frontal "
"faces clear of obstructions. Profile faces and obstructions may result in "
"sub-par performance.\n"
@ -161,6 +164,9 @@ msgstr ""
"todas RAM de la GPU. Puede seleccionar una, varias o ninguna máscaras, pero "
"la extracción tardará más cuanto más marque. Las máscaras Extended y "
"Components son siempre generadas durante la extracción.\n"
"L|bisenet-fp: Máscara relativamente ligera basada en NN que proporciona un "
"control más refinado sobre el área a enmascarar, incluido el enmascaramiento "
"completo de la cabeza (configurable en la configuración de la máscara).\n"
"L|vgg-clear: Máscara diseñada para proporcionar una segmentación inteligente "
"de rostros principalmente frontales y libres de obstrucciones. Los rostros "
"de perfil y las obstrucciones pueden dar lugar a un rendimiento inferior.\n"
@ -185,7 +191,7 @@ msgstr ""
"referencia y la máscara se extiende hacia arriba en la frente.\n"
"(eg: `-M unet-dfl vgg-clear`, `--masker vgg-obstructed`)"
#: lib/cli/args.py:426
#: lib/cli/args.py:429
msgid ""
"R|Performing normalization can help the aligner better align faces with "
"difficult lighting conditions at an extraction speed cost. Different methods "
@ -208,7 +214,7 @@ msgstr ""
"L|hist: Iguala los histogramas de los canales RGB.\n"
"L|mean: Normalizar los colores de la cara a la media."
#: lib/cli/args.py:444
#: lib/cli/args.py:447
msgid ""
"The number of times to re-feed the detected face into the aligner. Each time "
"the face is re-fed into the aligner the bounding box is adjusted by a small "
@ -225,7 +231,7 @@ msgstr ""
"más veces se vuelva a introducir la cara en el alineador, menos "
"microfluctuaciones se producirán, pero la extracción será más larga."
#: lib/cli/args.py:456
#: lib/cli/args.py:459
msgid ""
"If a face isn't found, rotate the images to try to find a face. Can find "
"more faces at the cost of extraction speed. Pass in a single number to use "
@ -237,13 +243,13 @@ msgstr ""
"un solo número para usar incrementos de ese tamaño hasta 360, o pase una "
"lista de números para enumerar exactamente qué ángulos comprobar."
#: lib/cli/args.py:468 lib/cli/args.py:478 lib/cli/args.py:491
#: lib/cli/args.py:505 lib/cli/args.py:737 lib/cli/args.py:751
#: lib/cli/args.py:764 lib/cli/args.py:778
#: lib/cli/args.py:471 lib/cli/args.py:481 lib/cli/args.py:494
#: lib/cli/args.py:508 lib/cli/args.py:749 lib/cli/args.py:763
#: lib/cli/args.py:776 lib/cli/args.py:790
msgid "Face Processing"
msgstr "Proceso de Caras"
#: lib/cli/args.py:469
#: lib/cli/args.py:472
msgid ""
"Filters out faces detected below this size. Length, in pixels across the "
"diagonal of the bounding box. Set to 0 for off"
@ -252,7 +258,7 @@ msgstr ""
"a lo largo de la diagonal del cuadro delimitador. Establecer a 0 para "
"desactivar"
#: lib/cli/args.py:479 lib/cli/args.py:752
#: lib/cli/args.py:482 lib/cli/args.py:764
msgid ""
"Optionally filter out people who you do not wish to process by passing in an "
"image of that person. Should be a front portrait with a single person in the "
@ -266,7 +272,7 @@ msgstr ""
"uso del filtro de caras disminuirá significativamente la velocidad de "
"extracción y no se puede garantizar su precisión."
#: lib/cli/args.py:492 lib/cli/args.py:765
#: lib/cli/args.py:495 lib/cli/args.py:777
msgid ""
"Optionally select people you wish to process by passing in an image of that "
"person. Should be a front portrait with a single person in the image. "
@ -280,7 +286,7 @@ msgstr ""
"del filtro facial disminuirá significativamente la velocidad de extracción y "
"no se puede garantizar su precisión."
#: lib/cli/args.py:506 lib/cli/args.py:779
#: lib/cli/args.py:509 lib/cli/args.py:791
msgid ""
"For use with the optional nfilter/filter files. Threshold for positive face "
"recognition. Lower values are stricter. NB: Using face filter will "
@ -292,12 +298,12 @@ msgstr ""
"NB: El uso del filtro facial disminuirá significativamente la velocidad de "
"extracción y no se puede garantizar su precisión."
#: lib/cli/args.py:517 lib/cli/args.py:529 lib/cli/args.py:541
#: lib/cli/args.py:553
#: lib/cli/args.py:520 lib/cli/args.py:532 lib/cli/args.py:544
#: lib/cli/args.py:556
msgid "output"
msgstr "salida"
#: lib/cli/args.py:518
#: lib/cli/args.py:521
msgid ""
"The output size of extracted faces. Make sure that the model you intend to "
"train supports your required size. This will only need to be changed for hi-"
@ -307,7 +313,7 @@ msgstr ""
"pretende entrenar admite el tamaño deseado. Esto sólo tendrá que ser "
"cambiado para los modelos de alta resolución."
#: lib/cli/args.py:530
#: lib/cli/args.py:533
msgid ""
"Extract every 'nth' frame. This option will skip frames when extracting "
"faces. For example a value of 1 will extract faces from every frame, a value "
@ -317,7 +323,7 @@ msgstr ""
"extraer las caras. Por ejemplo, un valor de 1 extraerá las caras de cada "
"fotograma, un valor de 10 extraerá las caras de cada 10 fotogramas."
#: lib/cli/args.py:542
#: lib/cli/args.py:545
msgid ""
"Automatically save the alignments file after a set amount of frames. By "
"default the alignments file is only saved at the end of the extraction "
@ -333,18 +339,18 @@ msgstr ""
"ADVERTENCIA: No interrumpa el script al escribir el archivo porque podría "
"corromperse. Poner a 0 para desactivar"
#: lib/cli/args.py:554
#: lib/cli/args.py:557
msgid "Draw landmarks on the ouput faces for debugging purposes."
msgstr ""
"Dibujar puntos de referencia en las caras de salida para fines de depuración."
#: lib/cli/args.py:560 lib/cli/args.py:569 lib/cli/args.py:577
#: lib/cli/args.py:584 lib/cli/args.py:791 lib/cli/args.py:802
#: lib/cli/args.py:810 lib/cli/args.py:829 lib/cli/args.py:835
#: lib/cli/args.py:563 lib/cli/args.py:572 lib/cli/args.py:580
#: lib/cli/args.py:587 lib/cli/args.py:803 lib/cli/args.py:814
#: lib/cli/args.py:822 lib/cli/args.py:841 lib/cli/args.py:847
msgid "settings"
msgstr "ajustes"
#: lib/cli/args.py:561
#: lib/cli/args.py:564
msgid ""
"Don't run extraction in parallel. Will run each part of the extraction "
"process separately (one after the other) rather than all at the smae time. "
@ -354,7 +360,7 @@ msgstr ""
"extracción por separado (una tras otra) en lugar de hacerlo todo al mismo "
"tiempo. Útil si la VRAM es escasa."
#: lib/cli/args.py:570
#: lib/cli/args.py:573
msgid ""
"Skips frames that have already been extracted and exist in the alignments "
"file"
@ -362,19 +368,19 @@ msgstr ""
"Omite los fotogramas que ya han sido extraídos y que existen en el archivo "
"de alineaciones"
#: lib/cli/args.py:578
#: lib/cli/args.py:581
msgid "Skip frames that already have detected faces in the alignments file"
msgstr ""
"Omitir los fotogramas que ya tienen caras detectadas en el archivo de "
"alineaciones"
#: lib/cli/args.py:585
#: lib/cli/args.py:588
msgid "Skip saving the detected faces to disk. Just create an alignments file"
msgstr ""
"No guardar las caras detectadas en el disco. Crear sólo un archivo de "
"alineaciones"
#: lib/cli/args.py:607
#: lib/cli/args.py:610
msgid ""
"Swap the original faces in a source video/images to your final faces.\n"
"Conversion plugins can be configured in the 'Settings' Menu"
@ -384,7 +390,7 @@ msgstr ""
"Los plugins de conversión pueden ser configurados en el menú \"Configuración"
"\""
#: lib/cli/args.py:628
#: lib/cli/args.py:631
msgid ""
"Only required if converting from images to video. Provide The original video "
"that the source frames were extracted from (for extracting the fps and "
@ -394,7 +400,7 @@ msgstr ""
"original del que se extrajeron los fotogramas de origen (para extraer los "
"fps y el audio)."
#: lib/cli/args.py:637
#: lib/cli/args.py:640
msgid ""
"Model directory. The directory containing the trained model you wish to use "
"for conversion."
@ -402,7 +408,7 @@ msgstr ""
"Directorio del modelo. El directorio que contiene el modelo entrenado que "
"desea utilizar para la conversión."
#: lib/cli/args.py:647
#: lib/cli/args.py:650
msgid ""
"R|Performs color adjustment to the swapped face. Some of these options have "
"configurable settings in '/config/convert.ini' or 'Settings > Configure "
@ -442,11 +448,19 @@ msgstr ""
"colores. Generalmente no da resultados muy satisfactorios.\n"
"L|none: No realice el ajuste de color."
#: lib/cli/args.py:672
#: lib/cli/args.py:677
msgid ""
"R|Masker to use. NB: The mask you require must exist within the alignments "
"file. You can add additional masks with the Mask Tool.\n"
"L|none: Don't use a mask.\n"
"L|bisenet-fp-face: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'face' or "
"'legacy' centering.\n"
"L|bisenet-fp-head: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'head' "
"centering.\n"
"L|components: Mask designed to provide facial segmentation based on the "
"positioning of landmark locations. A convex hull is constructed around the "
"exterior of the landmarks to create a mask.\n"
@ -472,6 +486,14 @@ msgstr ""
"de alineaciones. Puede añadir máscaras adicionales con la herramienta de "
"máscaras.\n"
"L|none: No utilizar una máscara.\n"
"L|bisenet-fp-face: Máscara relativamente ligera basada en NN que proporciona "
"un control más refinado sobre el área a enmascarar (configurable en la "
"configuración de la máscara). Utilice esta versión de bisenet-fp si su "
"modelo está entrenado con centrado 'face' o 'legacy'.\n"
"L|bisenet-fp-head: Máscara relativamente ligera basada en NN que proporciona "
"un control más refinado sobre el área a enmascarar (configurable en la "
"configuración de la máscara). Utilice esta versión de bisenet-fp si su "
"modelo está entrenado con centrado de 'cabeza'.\n"
"L|components: Máscara diseñada para proporcionar una segmentación facial "
"basada en el posicionamiento de las ubicaciones de los puntos de referencia. "
"Se construye un casco convexo alrededor del exterior de los puntos de "
@ -496,7 +518,7 @@ msgstr ""
"L|predicted: Si la opción 'Learn Mask' se habilitó durante el entrenamiento, "
"esto usará la máscara que fue creada por el modelo entrenado."
#: lib/cli/args.py:701
#: lib/cli/args.py:713
msgid ""
"R|The plugin to use to output the converted images. The writers are "
"configurable in '/config/convert.ini' or 'Settings > Configure Convert "
@ -522,11 +544,11 @@ msgstr ""
"L|pillow: [images] Más lento que opencv, pero tiene más opciones y soporta "
"más formatos."
#: lib/cli/args.py:720 lib/cli/args.py:727 lib/cli/args.py:821
#: lib/cli/args.py:732 lib/cli/args.py:739 lib/cli/args.py:833
msgid "Frame Processing"
msgstr "Proceso de fotogramas"
#: lib/cli/args.py:721
#: lib/cli/args.py:733
msgid ""
"Scale the final output frames by this amount. 100%% will output the frames "
"at source dimensions. 50%% at half size 200%% at double size"
@ -535,7 +557,7 @@ msgstr ""
"a los fotogramas a las dimensiones de origen. 50%% a la mitad de tamaño. 200%"
"% al doble de tamaño"
#: lib/cli/args.py:728
#: lib/cli/args.py:740
msgid ""
"Frame ranges to apply transfer to e.g. For frames 10 to 50 and 90 to 100 use "
"--frame-ranges 10-50 90-100. Frames falling outside of the selected range "
@ -549,7 +571,7 @@ msgstr ""
"imágenes, ¡los nombres de los archivos deben terminar con el número de "
"fotograma!"
#: lib/cli/args.py:738
#: lib/cli/args.py:750
msgid ""
"If you have not cleansed your alignments file, then you can filter out faces "
"by defining a folder here that contains the faces extracted from your input "
@ -565,7 +587,7 @@ msgstr ""
"especificada. Si se deja en blanco, se convertirán todas las caras que "
"existan en el archivo de alineaciones."
#: lib/cli/args.py:792
#: lib/cli/args.py:804
msgid ""
"The maximum number of parallel processes for performing conversion. "
"Converting images is system RAM heavy so it is possible to run out of memory "
@ -582,7 +604,7 @@ msgstr ""
"procesos que los disponibles en su sistema. Si 'singleprocess' está "
"habilitado, este ajuste será ignorado."
#: lib/cli/args.py:803
#: lib/cli/args.py:815
msgid ""
"[LEGACY] This only needs to be selected if a legacy model is being loaded or "
"if there are multiple models in the model folder"
@ -590,7 +612,7 @@ msgstr ""
"[LEGACY] Sólo es necesario seleccionar esta opción si se está cargando un "
"modelo heredado si hay varios modelos en la carpeta de modelos"
#: lib/cli/args.py:811
#: lib/cli/args.py:823
msgid ""
"Enable On-The-Fly Conversion. NOT recommended. You should generate a clean "
"alignments file for your destination video. However, if you wish you can "
@ -605,7 +627,7 @@ msgstr ""
"de baja calidad. Si se encuentra un archivo de alineaciones, esta opción "
"será ignorada."
#: lib/cli/args.py:822
#: lib/cli/args.py:834
msgid ""
"When used with --frame-ranges outputs the unchanged frames that are not "
"processed instead of discarding them."
@ -613,16 +635,16 @@ msgstr ""
"Cuando se usa con --frame-ranges, la salida incluye los fotogramas no "
"procesados en vez de descartarlos."
#: lib/cli/args.py:830
#: lib/cli/args.py:842
msgid "Swap the model. Instead converting from of A -> B, converts B -> A"
msgstr ""
"Intercambiar el modelo. En vez de convertir de A a B, convierte de B a A"
#: lib/cli/args.py:836
#: lib/cli/args.py:848
msgid "Disable multiprocessing. Slower but less resource intensive."
msgstr "Desactiva el multiproceso. Es más lento, pero usa menos recursos."
#: lib/cli/args.py:852
#: lib/cli/args.py:864
msgid ""
"Train a model on extracted original (A) and swap (B) faces.\n"
"Training models can take a long time. Anything from 24hrs to over a week\n"
@ -634,11 +656,11 @@ msgstr ""
"hasta más de una semana.\n"
"Los plugins de los modelos pueden configurarse en el menú \"Ajustes\""
#: lib/cli/args.py:871 lib/cli/args.py:880
#: lib/cli/args.py:883 lib/cli/args.py:892
msgid "faces"
msgstr "caras"
#: lib/cli/args.py:872
#: lib/cli/args.py:884
msgid ""
"Input directory. A directory containing training images for face A. This is "
"the original face, i.e. the face that you want to remove and replace with "
@ -648,7 +670,7 @@ msgstr ""
"para la cara A. Esta es la cara original, es decir, la cara que se quiere "
"eliminar y sustituir por la cara B."
#: lib/cli/args.py:881
#: lib/cli/args.py:893
msgid ""
"Input directory. A directory containing training images for face B. This is "
"the swap face, i.e. the face that you want to place onto the head of person "
@ -658,12 +680,12 @@ msgstr ""
"para la cara B. Esta es la cara de intercambio, es decir, la cara que se "
"quiere colocar en la cabeza de la persona A."
#: lib/cli/args.py:889 lib/cli/args.py:901 lib/cli/args.py:917
#: lib/cli/args.py:942 lib/cli/args.py:952
#: lib/cli/args.py:901 lib/cli/args.py:913 lib/cli/args.py:929
#: lib/cli/args.py:954 lib/cli/args.py:964
msgid "model"
msgstr "modelo"
#: lib/cli/args.py:890
#: lib/cli/args.py:902
msgid ""
"Model directory. This is where the training data will be stored. You should "
"always specify a new folder for new models. If starting a new model, select "
@ -677,7 +699,7 @@ msgstr ""
"carpeta que no exista (que se creará). Si continúa entrenando un modelo "
"existente, especifique la ubicación del modelo existente."
#: lib/cli/args.py:902
#: lib/cli/args.py:914
msgid ""
"R|Load the weights from a pre-existing model into a newly created model. For "
"most models this will load weights from the Encoder of the given model into "
@ -701,7 +723,7 @@ msgstr ""
"NB: Los pesos solo se pueden cargar desde modelos del mismo complemento que "
"desea entrenar."
#: lib/cli/args.py:918
#: lib/cli/args.py:930
msgid ""
"R|Select which trainer to use. Trainers can be configured from the Settings "
"menu or the config folder.\n"
@ -746,7 +768,7 @@ msgstr ""
"recursos (se necesita una GPU con una buena cantidad de VRAM). Bueno para "
"los detalles, pero más susceptible a las diferencias de color."
#: lib/cli/args.py:943
#: lib/cli/args.py:955
msgid ""
"Output a summary of the model and exit. If a model folder is provided then a "
"summary of the saved model is displayed. Otherwise a summary of the model "
@ -758,7 +780,7 @@ msgstr ""
"muestra un resumen del modelo que crearía el complemento elegido y los "
"ajustes de configuración."
#: lib/cli/args.py:953
#: lib/cli/args.py:965
msgid ""
"Freeze the weights of the model. Freezing weights means that some of the "
"parameters in the model will no longer continue to learn, but those that are "
@ -772,12 +794,12 @@ msgstr ""
"congelará el codificador, pero algunos modelos pueden tener opciones de "
"configuración para congelar otras capas."
#: lib/cli/args.py:966 lib/cli/args.py:978 lib/cli/args.py:989
#: lib/cli/args.py:1075
#: lib/cli/args.py:978 lib/cli/args.py:990 lib/cli/args.py:1001
#: lib/cli/args.py:1087
msgid "training"
msgstr "entrenamiento"
#: lib/cli/args.py:967
#: lib/cli/args.py:979
msgid ""
"Batch size. This is the number of images processed through the model for "
"each side per iteration. NB: As the model is fed 2 sides at a time, the "
@ -790,7 +812,7 @@ msgstr ""
"momento es el doble del número que se establece aquí. Los lotes más grandes "
"requieren más RAM de la GPU."
#: lib/cli/args.py:979
#: lib/cli/args.py:991
msgid ""
"Length of training in iterations. This is only really used for automation. "
"There is no 'correct' number of iterations a model should be trained for. "
@ -805,22 +827,22 @@ msgstr ""
"automáticamente en un número determinado de iteraciones, puede establecer "
"ese valor aquí."
#: lib/cli/args.py:990
#: lib/cli/args.py:1002
msgid ""
"Use the Tensorflow Mirrored Distrubution Strategy to train on multiple GPUs."
msgstr ""
"Utilice la estrategia de distribución en espejo de Tensorflow para entrenar "
"en múltiples GPUs."
#: lib/cli/args.py:1000 lib/cli/args.py:1010
#: lib/cli/args.py:1012 lib/cli/args.py:1022
msgid "Saving"
msgstr "Guardar"
#: lib/cli/args.py:1001
#: lib/cli/args.py:1013
msgid "Sets the number of iterations between each model save."
msgstr "Establece el número de iteraciones entre cada guardado del modelo."
#: lib/cli/args.py:1011
#: lib/cli/args.py:1023
msgid ""
"Sets the number of iterations before saving a backup snapshot of the model "
"in it's current state. Set to 0 for off."
@ -828,11 +850,11 @@ msgstr ""
"Establece el número de iteraciones antes de guardar una copia de seguridad "
"del modelo en su estado actual. Establece 0 para que esté desactivado."
#: lib/cli/args.py:1018 lib/cli/args.py:1029 lib/cli/args.py:1040
#: lib/cli/args.py:1030 lib/cli/args.py:1041 lib/cli/args.py:1052
msgid "timelapse"
msgstr "intervalo"
#: lib/cli/args.py:1019
#: lib/cli/args.py:1031
msgid ""
"Optional for creating a timelapse. Timelapse will save an image of your "
"selected faces into the timelapse-output folder at every save iteration. "
@ -846,7 +868,7 @@ msgstr ""
"para crear el timelapse. También debe suministrar un parámetro --timelapse-"
"output y un parámetro --timelapse-input-B."
#: lib/cli/args.py:1030
#: lib/cli/args.py:1042
msgid ""
"Optional for creating a timelapse. Timelapse will save an image of your "
"selected faces into the timelapse-output folder at every save iteration. "
@ -860,7 +882,7 @@ msgstr ""
"para crear el timelapse. También debe suministrar un parámetro --timelapse-"
"output y un parámetro --timelapse-input-A."
#: lib/cli/args.py:1041
#: lib/cli/args.py:1053
msgid ""
"Optional for creating a timelapse. Timelapse will save an image of your "
"selected faces into the timelapse-output folder at every save iteration. If "
@ -872,24 +894,24 @@ msgstr ""
"Si se suministran las carpetas de entrada pero no la carpeta de salida, se "
"guardará por defecto en la carpeta del modelo /timelapse/"
#: lib/cli/args.py:1053 lib/cli/args.py:1060 lib/cli/args.py:1067
#: lib/cli/args.py:1065 lib/cli/args.py:1072 lib/cli/args.py:1079
msgid "preview"
msgstr "previsualización"
#: lib/cli/args.py:1054
#: lib/cli/args.py:1066
msgid ""
"Percentage amount to scale the preview by. 100%% is the model output size."
msgstr ""
"Cantidad porcentual para escalar la vista previa. 100%% es el tamaño de "
"salida del modelo."
#: lib/cli/args.py:1061
#: lib/cli/args.py:1073
msgid "Show training preview output. in a separate window."
msgstr ""
"Mostrar la salida de la vista previa del entrenamiento. en una ventana "
"separada."
#: lib/cli/args.py:1068
#: lib/cli/args.py:1080
msgid ""
"Writes the training result to a file. The image will be stored in the root "
"of your FaceSwap folder."
@ -897,7 +919,7 @@ msgstr ""
"Escribe el resultado del entrenamiento en un archivo. La imagen se "
"almacenará en la raíz de su carpeta FaceSwap."
#: lib/cli/args.py:1076
#: lib/cli/args.py:1088
msgid ""
"Disables TensorBoard logging. NB: Disabling logs means that you will not be "
"able to use the graph or analysis for this session in the GUI."
@ -905,12 +927,12 @@ msgstr ""
"Desactiva el registro de TensorBoard. NB: Desactivar los registros significa "
"que no podrá utilizar el gráfico o el análisis de esta sesión en la GUI."
#: lib/cli/args.py:1083 lib/cli/args.py:1092 lib/cli/args.py:1101
#: lib/cli/args.py:1110
#: lib/cli/args.py:1095 lib/cli/args.py:1104 lib/cli/args.py:1113
#: lib/cli/args.py:1122
msgid "augmentation"
msgstr "aumento"
#: lib/cli/args.py:1084
#: lib/cli/args.py:1096
msgid ""
"Warps training faces to closely matched Landmarks from the opposite face-set "
"rather than randomly warping the face. This is the 'dfaker' way of doing "
@ -920,7 +942,7 @@ msgstr ""
"conjunto de caras opuestas en lugar de deformar la cara al azar. Esta es la "
"forma 'dfaker' de hacer la deformación."
#: lib/cli/args.py:1093
#: lib/cli/args.py:1105
msgid ""
"To effectively learn, a random set of images are flipped horizontally. "
"Sometimes it is desirable for this not to occur. Generally this should be "
@ -931,7 +953,7 @@ msgstr ""
"general, esto debería dejarse sin efecto, excepto durante el 'entrenamiento "
"de ajuste'."
#: lib/cli/args.py:1102
#: lib/cli/args.py:1114
msgid ""
"Color augmentation helps make the model less susceptible to color "
"differences between the A and B sets, at an increased training time cost. "
@ -941,7 +963,7 @@ msgstr ""
"diferencias de color entre los conjuntos A y B, con un mayor coste de tiempo "
"de entrenamiento. Activa esta opción para desactivar el aumento de color."
#: lib/cli/args.py:1111
#: lib/cli/args.py:1123
msgid ""
"Warping is integral to training the Neural Network. This option should only "
"be enabled towards the very end of training to try to bring out more detail. "
@ -954,7 +976,7 @@ msgstr ""
"esta opción desde el principio, es probable que arruine el modelo y se "
"obtengan resultados terribles."
#: lib/cli/args.py:1136
#: lib/cli/args.py:1148
msgid "Output to Shell console instead of GUI console"
msgstr "Salida a la consola Shell en lugar de la consola GUI"

View File

@ -5,17 +5,17 @@
msgid ""
msgstr ""
"Project-Id-Version: faceswap.spanish\n"
"POT-Creation-Date: 2021-02-18 23:14-0000\n"
"PO-Revision-Date: 2021-02-21 16:50+0000\n"
"POT-Creation-Date: 2021-05-17 18:17+0100\n"
"PO-Revision-Date: 2021-05-17 18:18+0100\n"
"Last-Translator: \n"
"Language-Team: tokafondo\n"
"Language: es_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 2.4.2\n"
"Last-Translator: \n"
"X-Generator: Poedit 2.4.3\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es_ES\n"
#: tools/mask/cli.py:15
msgid "This command lets you generate masks for existing alignments."
@ -59,13 +59,16 @@ msgstr ""
"L|faces: La entrada es una carpeta que contiene caras extraídas.\n"
"L|frames: La entrada es una carpeta que contiene fotogramas o es un vídeo"
#: tools/mask/cli.py:62 tools/mask/cli.py:87
#: tools/mask/cli.py:62 tools/mask/cli.py:90
msgid "process"
msgstr "proceso"
#: tools/mask/cli.py:63
msgid ""
"R|Masker to use.\n"
"L|bisenet-fp: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked including full head masking "
"(configurable in mask settings).\n"
"L|components: Mask designed to provide facial segmentation based on the "
"positioning of landmark locations. A convex hull is constructed around the "
"exterior of the landmarks to create a mask.\n"
@ -86,6 +89,9 @@ msgid ""
"performance."
msgstr ""
"R|Máscara a utilizar.\n"
"L|bisenet-fp: Máscara relativamente ligera basada en NN que proporciona un "
"control más refinado sobre el área a enmascarar, incluido el enmascaramiento "
"completo de la cabeza (configurable en la configuración de la máscara).\n"
"L|components: Máscara diseñada para proporcionar una segmentación facial "
"basada en la posición de los puntos de referencia. Se construye un casco "
"convexo alrededor del exterior de los puntos de referencia para crear una "
@ -108,7 +114,7 @@ msgstr ""
"descripción. Los rostros de perfil pueden dar lugar a un rendimiento "
"inferior."
#: tools/mask/cli.py:88
#: tools/mask/cli.py:91
msgid ""
"R|Whether to update all masks in the alignments files, only those faces that "
"do not already have a mask of the given `mask type` or just to output the "
@ -128,12 +134,12 @@ msgstr ""
"L|output: No actualiza las máscaras, sólo las emite para su revisión en la "
"carpeta de salida dada."
#: tools/mask/cli.py:101 tools/mask/cli.py:108 tools/mask/cli.py:121
#: tools/mask/cli.py:134 tools/mask/cli.py:143
#: tools/mask/cli.py:104 tools/mask/cli.py:111 tools/mask/cli.py:124
#: tools/mask/cli.py:137 tools/mask/cli.py:146
msgid "output"
msgstr "salida"
#: tools/mask/cli.py:102
#: tools/mask/cli.py:105
msgid ""
"Optional output location. If provided, a preview of the masks created will "
"be output in the given folder."
@ -141,7 +147,7 @@ msgstr ""
"Ubicación de salida opcional. Si se proporciona, se obtendrá una vista "
"previa de las máscaras creadas en la carpeta indicada."
#: tools/mask/cli.py:112
#: tools/mask/cli.py:115
msgid ""
"Apply gaussian blur to the mask output. Has the effect of smoothing the "
"edges of the mask giving less of a hard edge. the size is in pixels. This "
@ -154,7 +160,7 @@ msgstr ""
"redondeará al siguiente número impar. NB: Sólo afecta a la vista previa de "
"salida. Si se ajusta a 0, se desactiva"
#: tools/mask/cli.py:125
#: tools/mask/cli.py:128
msgid ""
"Helps reduce 'blotchiness' on some masks by making light shades white and "
"dark shades black. Higher values will impact more of the mask. NB: Only "
@ -165,7 +171,7 @@ msgstr ""
"más a la máscara. NB: Sólo afecta a la vista previa de salida. Si se ajusta "
"a 0, se desactiva"
#: tools/mask/cli.py:135
#: tools/mask/cli.py:138
msgid ""
"R|How to format the output when processing is set to 'output'.\n"
"L|combined: The image contains the face/frame, face mask and masked face.\n"
@ -180,7 +186,7 @@ msgstr ""
"enmascarada.\n"
"L|mask: Sólo emite la máscara como una imagen de un solo canal."
#: tools/mask/cli.py:144
#: tools/mask/cli.py:147
msgid ""
"R|Whether to output the whole frame or only the face box when using output "
"processing. Only has an effect when using frames as input."

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-03-20 14:15+0000\n"
"POT-Creation-Date: 2021-05-17 18:04+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -39,7 +39,7 @@ msgid "Path to store the logfile. Leave blank to store in the faceswap folder"
msgstr ""
#: lib/cli/args.py:299 lib/cli/args.py:308 lib/cli/args.py:316
#: lib/cli/args.py:627 lib/cli/args.py:636
#: lib/cli/args.py:630 lib/cli/args.py:639
msgid "Data"
msgstr ""
@ -62,8 +62,8 @@ msgid ""
msgstr ""
#: lib/cli/args.py:365 lib/cli/args.py:381 lib/cli/args.py:393
#: lib/cli/args.py:425 lib/cli/args.py:443 lib/cli/args.py:455
#: lib/cli/args.py:646 lib/cli/args.py:671 lib/cli/args.py:700
#: lib/cli/args.py:428 lib/cli/args.py:446 lib/cli/args.py:458
#: lib/cli/args.py:649 lib/cli/args.py:676 lib/cli/args.py:712
msgid "Plugins"
msgstr ""
@ -85,6 +85,7 @@ msgstr ""
#: lib/cli/args.py:394
msgid ""
"R|Additional Masker(s) to use. The masks generated here will all take up GPU RAM. You can select none, one or multiple masks, but the extraction may take longer the more you select. NB: The Extended and Components (landmark based) masks are automatically generated on extraction.\n"
"L|bisenet-fp: Relatively lightweight NN based mask that provides more refined control over the area to be masked including full head masking (configurable in mask settings).\n"
"L|vgg-clear: Mask designed to provide smart segmentation of mostly frontal faces clear of obstructions. Profile faces and obstructions may result in sub-par performance.\n"
"L|vgg-obstructed: Mask designed to provide smart segmentation of mostly frontal faces. The mask model has been specifically trained to recognize some facial obstructions (hands and eyeglasses). Profile faces may result in sub-par performance.\n"
"L|unet-dfl: Mask designed to provide smart segmentation of mostly frontal faces. The mask model has been trained by community members and will need testing for further description. Profile faces may result in sub-par performance.\n"
@ -94,7 +95,7 @@ msgid ""
"(eg: `-M unet-dfl vgg-clear`, `--masker vgg-obstructed`)"
msgstr ""
#: lib/cli/args.py:426
#: lib/cli/args.py:429
msgid ""
"R|Performing normalization can help the aligner better align faces with difficult lighting conditions at an extraction speed cost. Different methods will yield different results on different sets. NB: This does not impact the output face, just the input to the aligner.\n"
"L|none: Don't perform normalization on the face.\n"
@ -103,94 +104,94 @@ msgid ""
"L|mean: Normalize the face colors to the mean."
msgstr ""
#: lib/cli/args.py:444
#: lib/cli/args.py:447
msgid "The number of times to re-feed the detected face into the aligner. Each time the face is re-fed into the aligner the bounding box is adjusted by a small amount. The final landmarks are then averaged from each iteration. Helps to remove 'micro-jitter' but at the cost of slower extraction speed. The more times the face is re-fed into the aligner, the less micro-jitter should occur but the longer extraction will take."
msgstr ""
#: lib/cli/args.py:456
#: lib/cli/args.py:459
msgid "If a face isn't found, rotate the images to try to find a face. Can find more faces at the cost of extraction speed. Pass in a single number to use increments of that size up to 360, or pass in a list of numbers to enumerate exactly what angles to check."
msgstr ""
#: lib/cli/args.py:468 lib/cli/args.py:478 lib/cli/args.py:491
#: lib/cli/args.py:505 lib/cli/args.py:737 lib/cli/args.py:751
#: lib/cli/args.py:764 lib/cli/args.py:778
#: lib/cli/args.py:471 lib/cli/args.py:481 lib/cli/args.py:494
#: lib/cli/args.py:508 lib/cli/args.py:749 lib/cli/args.py:763
#: lib/cli/args.py:776 lib/cli/args.py:790
msgid "Face Processing"
msgstr ""
#: lib/cli/args.py:469
#: lib/cli/args.py:472
msgid "Filters out faces detected below this size. Length, in pixels across the diagonal of the bounding box. Set to 0 for off"
msgstr ""
#: lib/cli/args.py:479 lib/cli/args.py:752
#: lib/cli/args.py:482 lib/cli/args.py:764
msgid "Optionally filter out people who you do not wish to process by passing in an image of that person. Should be a front portrait with a single person in the image. Multiple images can be added space separated. NB: Using face filter will significantly decrease extraction speed and its accuracy cannot be guaranteed."
msgstr ""
#: lib/cli/args.py:492 lib/cli/args.py:765
#: lib/cli/args.py:495 lib/cli/args.py:777
msgid "Optionally select people you wish to process by passing in an image of that person. Should be a front portrait with a single person in the image. Multiple images can be added space separated. NB: Using face filter will significantly decrease extraction speed and its accuracy cannot be guaranteed."
msgstr ""
#: lib/cli/args.py:506 lib/cli/args.py:779
#: lib/cli/args.py:509 lib/cli/args.py:791
msgid "For use with the optional nfilter/filter files. Threshold for positive face recognition. Lower values are stricter. NB: Using face filter will significantly decrease extraction speed and its accuracy cannot be guaranteed."
msgstr ""
#: lib/cli/args.py:517 lib/cli/args.py:529 lib/cli/args.py:541
#: lib/cli/args.py:553
#: lib/cli/args.py:520 lib/cli/args.py:532 lib/cli/args.py:544
#: lib/cli/args.py:556
msgid "output"
msgstr ""
#: lib/cli/args.py:518
#: lib/cli/args.py:521
msgid "The output size of extracted faces. Make sure that the model you intend to train supports your required size. This will only need to be changed for hi-res models."
msgstr ""
#: lib/cli/args.py:530
#: lib/cli/args.py:533
msgid "Extract every 'nth' frame. This option will skip frames when extracting faces. For example a value of 1 will extract faces from every frame, a value of 10 will extract faces from every 10th frame."
msgstr ""
#: lib/cli/args.py:542
#: lib/cli/args.py:545
msgid "Automatically save the alignments file after a set amount of frames. By default the alignments file is only saved at the end of the extraction process. NB: If extracting in 2 passes then the alignments file will only start to be saved out during the second pass. WARNING: Don't interrupt the script when writing the file because it might get corrupted. Set to 0 to turn off"
msgstr ""
#: lib/cli/args.py:554
#: lib/cli/args.py:557
msgid "Draw landmarks on the ouput faces for debugging purposes."
msgstr ""
#: lib/cli/args.py:560 lib/cli/args.py:569 lib/cli/args.py:577
#: lib/cli/args.py:584 lib/cli/args.py:791 lib/cli/args.py:802
#: lib/cli/args.py:810 lib/cli/args.py:829 lib/cli/args.py:835
#: lib/cli/args.py:563 lib/cli/args.py:572 lib/cli/args.py:580
#: lib/cli/args.py:587 lib/cli/args.py:803 lib/cli/args.py:814
#: lib/cli/args.py:822 lib/cli/args.py:841 lib/cli/args.py:847
msgid "settings"
msgstr ""
#: lib/cli/args.py:561
#: lib/cli/args.py:564
msgid "Don't run extraction in parallel. Will run each part of the extraction process separately (one after the other) rather than all at the smae time. Useful if VRAM is at a premium."
msgstr ""
#: lib/cli/args.py:570
#: lib/cli/args.py:573
msgid "Skips frames that have already been extracted and exist in the alignments file"
msgstr ""
#: lib/cli/args.py:578
#: lib/cli/args.py:581
msgid "Skip frames that already have detected faces in the alignments file"
msgstr ""
#: lib/cli/args.py:585
#: lib/cli/args.py:588
msgid "Skip saving the detected faces to disk. Just create an alignments file"
msgstr ""
#: lib/cli/args.py:607
#: lib/cli/args.py:610
msgid ""
"Swap the original faces in a source video/images to your final faces.\n"
"Conversion plugins can be configured in the 'Settings' Menu"
msgstr ""
#: lib/cli/args.py:628
#: lib/cli/args.py:631
msgid "Only required if converting from images to video. Provide The original video that the source frames were extracted from (for extracting the fps and audio)."
msgstr ""
#: lib/cli/args.py:637
#: lib/cli/args.py:640
msgid "Model directory. The directory containing the trained model you wish to use for conversion."
msgstr ""
#: lib/cli/args.py:647
#: lib/cli/args.py:650
msgid ""
"R|Performs color adjustment to the swapped face. Some of these options have configurable settings in '/config/convert.ini' or 'Settings > Configure Convert Plugins':\n"
"L|avg-color: Adjust the mean of each color channel in the swapped reconstruction to equal the mean of the masked area in the original image.\n"
@ -201,10 +202,12 @@ msgid ""
"L|none: Don't perform color adjustment."
msgstr ""
#: lib/cli/args.py:672
#: lib/cli/args.py:677
msgid ""
"R|Masker to use. NB: The mask you require must exist within the alignments file. You can add additional masks with the Mask Tool.\n"
"L|none: Don't use a mask.\n"
"L|bisenet-fp-face: Relatively lightweight NN based mask that provides more refined control over the area to be masked (configurable in mask settings). Use this version of bisenet-fp if your model is trained with 'face' or 'legacy' centering.\n"
"L|bisenet-fp-head: Relatively lightweight NN based mask that provides more refined control over the area to be masked (configurable in mask settings). Use this version of bisenet-fp if your model is trained with 'head' centering.\n"
"L|components: Mask designed to provide facial segmentation based on the positioning of landmark locations. A convex hull is constructed around the exterior of the landmarks to create a mask.\n"
"L|extended: Mask designed to provide facial segmentation based on the positioning of landmark locations. A convex hull is constructed around the exterior of the landmarks and the mask is extended upwards onto the forehead.\n"
"L|vgg-clear: Mask designed to provide smart segmentation of mostly frontal faces clear of obstructions. Profile faces and obstructions may result in sub-par performance.\n"
@ -213,7 +216,7 @@ msgid ""
"L|predicted: If the 'Learn Mask' option was enabled during training, this will use the mask that was created by the trained model."
msgstr ""
#: lib/cli/args.py:701
#: lib/cli/args.py:713
msgid ""
"R|The plugin to use to output the converted images. The writers are configurable in '/config/convert.ini' or 'Settings > Configure Convert Plugins:'\n"
"L|ffmpeg: [video] Writes out the convert straight to video. When the input is a series of images then the '-ref' (--reference-video) parameter must be set.\n"
@ -222,81 +225,81 @@ msgid ""
"L|pillow: [images] Slower than opencv, but has more options and supports more formats."
msgstr ""
#: lib/cli/args.py:720 lib/cli/args.py:727 lib/cli/args.py:821
#: lib/cli/args.py:732 lib/cli/args.py:739 lib/cli/args.py:833
msgid "Frame Processing"
msgstr ""
#: lib/cli/args.py:721
#: lib/cli/args.py:733
msgid "Scale the final output frames by this amount. 100%% will output the frames at source dimensions. 50%% at half size 200%% at double size"
msgstr ""
#: lib/cli/args.py:728
#: lib/cli/args.py:740
msgid "Frame ranges to apply transfer to e.g. For frames 10 to 50 and 90 to 100 use --frame-ranges 10-50 90-100. Frames falling outside of the selected range will be discarded unless '-k' (--keep-unchanged) is selected. NB: If you are converting from images, then the filenames must end with the frame-number!"
msgstr ""
#: lib/cli/args.py:738
#: lib/cli/args.py:750
msgid "If you have not cleansed your alignments file, then you can filter out faces by defining a folder here that contains the faces extracted from your input files/video. If this folder is defined, then only faces that exist within your alignments file and also exist within the specified folder will be converted. Leaving this blank will convert all faces that exist within the alignments file."
msgstr ""
#: lib/cli/args.py:792
#: lib/cli/args.py:804
msgid "The maximum number of parallel processes for performing conversion. Converting images is system RAM heavy so it is possible to run out of memory if you have a lot of processes and not enough RAM to accommodate them all. Setting this to 0 will use the maximum available. No matter what you set this to, it will never attempt to use more processes than are available on your system. If singleprocess is enabled this setting will be ignored."
msgstr ""
#: lib/cli/args.py:803
#: lib/cli/args.py:815
msgid "[LEGACY] This only needs to be selected if a legacy model is being loaded or if there are multiple models in the model folder"
msgstr ""
#: lib/cli/args.py:811
#: lib/cli/args.py:823
msgid "Enable On-The-Fly Conversion. NOT recommended. You should generate a clean alignments file for your destination video. However, if you wish you can generate the alignments on-the-fly by enabling this option. This will use an inferior extraction pipeline and will lead to substandard results. If an alignments file is found, this option will be ignored."
msgstr ""
#: lib/cli/args.py:822
#: lib/cli/args.py:834
msgid "When used with --frame-ranges outputs the unchanged frames that are not processed instead of discarding them."
msgstr ""
#: lib/cli/args.py:830
#: lib/cli/args.py:842
msgid "Swap the model. Instead converting from of A -> B, converts B -> A"
msgstr ""
#: lib/cli/args.py:836
#: lib/cli/args.py:848
msgid "Disable multiprocessing. Slower but less resource intensive."
msgstr ""
#: lib/cli/args.py:852
#: lib/cli/args.py:864
msgid ""
"Train a model on extracted original (A) and swap (B) faces.\n"
"Training models can take a long time. Anything from 24hrs to over a week\n"
"Model plugins can be configured in the 'Settings' Menu"
msgstr ""
#: lib/cli/args.py:871 lib/cli/args.py:880
#: lib/cli/args.py:883 lib/cli/args.py:892
msgid "faces"
msgstr ""
#: lib/cli/args.py:872
#: lib/cli/args.py:884
msgid "Input directory. A directory containing training images for face A. This is the original face, i.e. the face that you want to remove and replace with face B."
msgstr ""
#: lib/cli/args.py:881
#: lib/cli/args.py:893
msgid "Input directory. A directory containing training images for face B. This is the swap face, i.e. the face that you want to place onto the head of person A."
msgstr ""
#: lib/cli/args.py:889 lib/cli/args.py:901 lib/cli/args.py:917
#: lib/cli/args.py:942 lib/cli/args.py:952
#: lib/cli/args.py:901 lib/cli/args.py:913 lib/cli/args.py:929
#: lib/cli/args.py:954 lib/cli/args.py:964
msgid "model"
msgstr ""
#: lib/cli/args.py:890
#: lib/cli/args.py:902
msgid "Model directory. This is where the training data will be stored. You should always specify a new folder for new models. If starting a new model, select either an empty folder, or a folder which does not exist (which will be created). If continuing to train an existing model, specify the location of the existing model."
msgstr ""
#: lib/cli/args.py:902
#: lib/cli/args.py:914
msgid ""
"R|Load the weights from a pre-existing model into a newly created model. For most models this will load weights from the Encoder of the given model into the encoder of the newly created model. Some plugins may have specific configuration options allowing you to load weights from other layers. Weights will only be loaded when creating a new model. This option will be ignored if you are resuming an existing model. Generally you will also want to 'freeze-weights' whilst the rest of your model catches up with your Encoder.\n"
"NB: Weights can only be loaded from models of the same plugin as you intend to train."
msgstr ""
#: lib/cli/args.py:918
#: lib/cli/args.py:930
msgid ""
"R|Select which trainer to use. Trainers can be configured from the Settings menu or the config folder.\n"
"L|original: The original model created by /u/deepfakes.\n"
@ -311,101 +314,101 @@ msgid ""
"L|villain: 128px in/out model from villainguy. Very resource hungry (You will require a GPU with a fair amount of VRAM). Good for details, but more susceptible to color differences."
msgstr ""
#: lib/cli/args.py:943
#: lib/cli/args.py:955
msgid "Output a summary of the model and exit. If a model folder is provided then a summary of the saved model is displayed. Otherwise a summary of the model that would be created by the chosen plugin and configuration settings is displayed."
msgstr ""
#: lib/cli/args.py:953
#: lib/cli/args.py:965
msgid "Freeze the weights of the model. Freezing weights means that some of the parameters in the model will no longer continue to learn, but those that are not frozen will continue to learn. For most models, this will freeze the encoder, but some models may have configuration options for freezing other layers."
msgstr ""
#: lib/cli/args.py:966 lib/cli/args.py:978 lib/cli/args.py:989
#: lib/cli/args.py:1075
#: lib/cli/args.py:978 lib/cli/args.py:990 lib/cli/args.py:1001
#: lib/cli/args.py:1087
msgid "training"
msgstr ""
#: lib/cli/args.py:967
#: lib/cli/args.py:979
msgid "Batch size. This is the number of images processed through the model for each side per iteration. NB: As the model is fed 2 sides at a time, the actual number of images within the model at any one time is double the number that you set here. Larger batches require more GPU RAM."
msgstr ""
#: lib/cli/args.py:979
#: lib/cli/args.py:991
msgid "Length of training in iterations. This is only really used for automation. There is no 'correct' number of iterations a model should be trained for. You should stop training when you are happy with the previews. However, if you want the model to stop automatically at a set number of iterations, you can set that value here."
msgstr ""
#: lib/cli/args.py:990
#: lib/cli/args.py:1002
msgid "Use the Tensorflow Mirrored Distrubution Strategy to train on multiple GPUs."
msgstr ""
#: lib/cli/args.py:1000 lib/cli/args.py:1010
#: lib/cli/args.py:1012 lib/cli/args.py:1022
msgid "Saving"
msgstr ""
#: lib/cli/args.py:1001
#: lib/cli/args.py:1013
msgid "Sets the number of iterations between each model save."
msgstr ""
#: lib/cli/args.py:1011
#: lib/cli/args.py:1023
msgid "Sets the number of iterations before saving a backup snapshot of the model in it's current state. Set to 0 for off."
msgstr ""
#: lib/cli/args.py:1018 lib/cli/args.py:1029 lib/cli/args.py:1040
#: lib/cli/args.py:1030 lib/cli/args.py:1041 lib/cli/args.py:1052
msgid "timelapse"
msgstr ""
#: lib/cli/args.py:1019
#: lib/cli/args.py:1031
msgid "Optional for creating a timelapse. Timelapse will save an image of your selected faces into the timelapse-output folder at every save iteration. This should be the input folder of 'A' faces that you would like to use for creating the timelapse. You must also supply a --timelapse-output and a --timelapse-input-B parameter."
msgstr ""
#: lib/cli/args.py:1030
#: lib/cli/args.py:1042
msgid "Optional for creating a timelapse. Timelapse will save an image of your selected faces into the timelapse-output folder at every save iteration. This should be the input folder of 'B' faces that you would like to use for creating the timelapse. You must also supply a --timelapse-output and a --timelapse-input-A parameter."
msgstr ""
#: lib/cli/args.py:1041
#: lib/cli/args.py:1053
msgid "Optional for creating a timelapse. Timelapse will save an image of your selected faces into the timelapse-output folder at every save iteration. If the input folders are supplied but no output folder, it will default to your model folder /timelapse/"
msgstr ""
#: lib/cli/args.py:1053 lib/cli/args.py:1060 lib/cli/args.py:1067
#: lib/cli/args.py:1065 lib/cli/args.py:1072 lib/cli/args.py:1079
msgid "preview"
msgstr ""
#: lib/cli/args.py:1054
#: lib/cli/args.py:1066
msgid "Percentage amount to scale the preview by. 100%% is the model output size."
msgstr ""
#: lib/cli/args.py:1061
#: lib/cli/args.py:1073
msgid "Show training preview output. in a separate window."
msgstr ""
#: lib/cli/args.py:1068
#: lib/cli/args.py:1080
msgid "Writes the training result to a file. The image will be stored in the root of your FaceSwap folder."
msgstr ""
#: lib/cli/args.py:1076
#: lib/cli/args.py:1088
msgid "Disables TensorBoard logging. NB: Disabling logs means that you will not be able to use the graph or analysis for this session in the GUI."
msgstr ""
#: lib/cli/args.py:1083 lib/cli/args.py:1092 lib/cli/args.py:1101
#: lib/cli/args.py:1110
#: lib/cli/args.py:1095 lib/cli/args.py:1104 lib/cli/args.py:1113
#: lib/cli/args.py:1122
msgid "augmentation"
msgstr ""
#: lib/cli/args.py:1084
#: lib/cli/args.py:1096
msgid "Warps training faces to closely matched Landmarks from the opposite face-set rather than randomly warping the face. This is the 'dfaker' way of doing warping."
msgstr ""
#: lib/cli/args.py:1093
#: lib/cli/args.py:1105
msgid "To effectively learn, a random set of images are flipped horizontally. Sometimes it is desirable for this not to occur. Generally this should be left off except for during 'fit training'."
msgstr ""
#: lib/cli/args.py:1102
#: lib/cli/args.py:1114
msgid "Color augmentation helps make the model less susceptible to color differences between the A and B sets, at an increased training time cost. Enable this option to disable color augmentation."
msgstr ""
#: lib/cli/args.py:1111
#: lib/cli/args.py:1123
msgid "Warping is integral to training the Neural Network. This option should only be enabled towards the very end of training to try to bring out more detail. Think of it as 'fine-tuning'. Enabling this option from the beginning is likely to kill a model and lead to terrible results."
msgstr ""
#: lib/cli/args.py:1136
#: lib/cli/args.py:1148
msgid "Output to Shell console instead of GUI console"
msgstr ""

View File

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2021-03-20 14:15+0000\n"
"PO-Revision-Date: 2021-03-20 14:17+0000\n"
"POT-Creation-Date: 2021-05-17 18:04+0100\n"
"PO-Revision-Date: 2021-05-17 18:11+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 2.4.2\n"
"X-Generator: Poedit 2.4.3\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
@ -57,7 +57,7 @@ msgstr ""
"с faceswap"
#: lib/cli/args.py:299 lib/cli/args.py:308 lib/cli/args.py:316
#: lib/cli/args.py:627 lib/cli/args.py:636
#: lib/cli/args.py:630 lib/cli/args.py:639
msgid "Data"
msgstr "Данные"
@ -90,8 +90,8 @@ msgstr ""
"Плагины извлечения можно настроить в меню 'Настройки'"
#: lib/cli/args.py:365 lib/cli/args.py:381 lib/cli/args.py:393
#: lib/cli/args.py:425 lib/cli/args.py:443 lib/cli/args.py:455
#: lib/cli/args.py:646 lib/cli/args.py:671 lib/cli/args.py:700
#: lib/cli/args.py:428 lib/cli/args.py:446 lib/cli/args.py:458
#: lib/cli/args.py:649 lib/cli/args.py:676 lib/cli/args.py:712
msgid "Plugins"
msgstr "Плагины"
@ -138,6 +138,9 @@ msgid ""
"RAM. You can select none, one or multiple masks, but the extraction may take "
"longer the more you select. NB: The Extended and Components (landmark based) "
"masks are automatically generated on extraction.\n"
"L|bisenet-fp: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked including full head masking "
"(configurable in mask settings).\n"
"L|vgg-clear: Mask designed to provide smart segmentation of mostly frontal "
"faces clear of obstructions. Profile faces and obstructions may result in "
"sub-par performance.\n"
@ -164,6 +167,9 @@ msgstr ""
"занять больше времени в зависимости от выбора. Прим.: Маски Extended и "
"Components (на основе меток лица) всегда создаются автоматически при "
"извлечении лиц.\n"
"L|bisenet-fp: Относительно легкая маска на основе NN, которая обеспечивает "
"более точный контроль над маскируемой областью, включая полное маскирование "
"головы (настраивается в настройках маски).\n"
"L|vgg-clear: Маска предназначена для умной сегментации преимущественно "
"фронтальных лиц без препятствий. Фотографии в профиль могут быть обработаны "
"посредственно.\n"
@ -183,7 +189,7 @@ msgstr ""
"ориентиров лица и расширяется вверх на лоб.\n"
"(пример: `-M unet-dfl vgg-clear`, `--masker vgg-obstructed`)"
#: lib/cli/args.py:426
#: lib/cli/args.py:429
msgid ""
"R|Performing normalization can help the aligner better align faces with "
"difficult lighting conditions at an extraction speed cost. Different methods "
@ -204,7 +210,7 @@ msgstr ""
"L|hist: Выравнивание гистограммы каналов RGB каналов.\n"
"L|mean: Усреднение цветов лица."
#: lib/cli/args.py:444
#: lib/cli/args.py:447
msgid ""
"The number of times to re-feed the detected face into the aligner. Each time "
"the face is re-fed into the aligner the bounding box is adjusted by a small "
@ -219,7 +225,7 @@ msgstr ""
"замедления скорости извлечения. Чем больше проходов выравнивания, тем меньше "
"микродрожание, но тем дольше идет извлечение."
#: lib/cli/args.py:456
#: lib/cli/args.py:459
msgid ""
"If a face isn't found, rotate the images to try to find a face. Can find "
"more faces at the cost of extraction speed. Pass in a single number to use "
@ -231,13 +237,13 @@ msgstr ""
"использовать приращения этого размера до 360, либо передайте список чисел, "
"чтобы точно указать, какие углы проверять."
#: lib/cli/args.py:468 lib/cli/args.py:478 lib/cli/args.py:491
#: lib/cli/args.py:505 lib/cli/args.py:737 lib/cli/args.py:751
#: lib/cli/args.py:764 lib/cli/args.py:778
#: lib/cli/args.py:471 lib/cli/args.py:481 lib/cli/args.py:494
#: lib/cli/args.py:508 lib/cli/args.py:749 lib/cli/args.py:763
#: lib/cli/args.py:776 lib/cli/args.py:790
msgid "Face Processing"
msgstr "Обработка лиц"
#: lib/cli/args.py:469
#: lib/cli/args.py:472
msgid ""
"Filters out faces detected below this size. Length, in pixels across the "
"diagonal of the bounding box. Set to 0 for off"
@ -245,7 +251,7 @@ msgstr ""
"Отбрасывает лица ниже указанного размера. Длина указывается в пикселях по "
"диагонали. Установите в 0 для отключения"
#: lib/cli/args.py:479 lib/cli/args.py:752
#: lib/cli/args.py:482 lib/cli/args.py:764
msgid ""
"Optionally filter out people who you do not wish to process by passing in an "
"image of that person. Should be a front portrait with a single person in the "
@ -259,7 +265,7 @@ msgstr ""
"пробел. Прим.: Фильтрация лиц существенно снижает скорость извлечения, при "
"этом точность не гарантируется."
#: lib/cli/args.py:492 lib/cli/args.py:765
#: lib/cli/args.py:495 lib/cli/args.py:777
msgid ""
"Optionally select people you wish to process by passing in an image of that "
"person. Should be a front portrait with a single person in the image. "
@ -273,7 +279,7 @@ msgstr ""
"изображений через пробел. Прим.: Использование фильтра существенно замедлит "
"скорость извлечения. Также точность не гарантируется."
#: lib/cli/args.py:506 lib/cli/args.py:779
#: lib/cli/args.py:509 lib/cli/args.py:791
msgid ""
"For use with the optional nfilter/filter files. Threshold for positive face "
"recognition. Lower values are stricter. NB: Using face filter will "
@ -284,12 +290,12 @@ msgstr ""
"лица. Чем ниже значения, тем строже. Прим.: Использование фильтра лиц "
"существенно замедлит скорость извлечения. Также точность не гарантируется."
#: lib/cli/args.py:517 lib/cli/args.py:529 lib/cli/args.py:541
#: lib/cli/args.py:553
#: lib/cli/args.py:520 lib/cli/args.py:532 lib/cli/args.py:544
#: lib/cli/args.py:556
msgid "output"
msgstr "вывод"
#: lib/cli/args.py:518
#: lib/cli/args.py:521
msgid ""
"The output size of extracted faces. Make sure that the model you intend to "
"train supports your required size. This will only need to be changed for hi-"
@ -299,7 +305,7 @@ msgstr ""
"поддерживает такой входной размер. Стоит изменять только для моделей "
"высокого разрешения."
#: lib/cli/args.py:530
#: lib/cli/args.py:533
msgid ""
"Extract every 'nth' frame. This option will skip frames when extracting "
"faces. For example a value of 1 will extract faces from every frame, a value "
@ -309,7 +315,7 @@ msgstr ""
"извлечении. Например, значение 1 будет искать лица в каждом кадре, а "
"значение 10 в каждом 10том кадре."
#: lib/cli/args.py:542
#: lib/cli/args.py:545
msgid ""
"Automatically save the alignments file after a set amount of frames. By "
"default the alignments file is only saved at the end of the extraction "
@ -324,17 +330,17 @@ msgstr ""
"только во время второго прохода. ВНИМАНИЕ: Не прерывайте выполнение во время "
"записи, так как это может повлечь порчу файла. Установите в 0 для выключения"
#: lib/cli/args.py:554
#: lib/cli/args.py:557
msgid "Draw landmarks on the ouput faces for debugging purposes."
msgstr "Рисовать ландмарки на выходных лицах для нужд отладки."
#: lib/cli/args.py:560 lib/cli/args.py:569 lib/cli/args.py:577
#: lib/cli/args.py:584 lib/cli/args.py:791 lib/cli/args.py:802
#: lib/cli/args.py:810 lib/cli/args.py:829 lib/cli/args.py:835
#: lib/cli/args.py:563 lib/cli/args.py:572 lib/cli/args.py:580
#: lib/cli/args.py:587 lib/cli/args.py:803 lib/cli/args.py:814
#: lib/cli/args.py:822 lib/cli/args.py:841 lib/cli/args.py:847
msgid "settings"
msgstr "настройки"
#: lib/cli/args.py:561
#: lib/cli/args.py:564
msgid ""
"Don't run extraction in parallel. Will run each part of the extraction "
"process separately (one after the other) rather than all at the smae time. "
@ -344,7 +350,7 @@ msgstr ""
"стадия извлечения будет запущена отдельно (одна, за другой). Полезно при "
"нехватке VRAM."
#: lib/cli/args.py:570
#: lib/cli/args.py:573
msgid ""
"Skips frames that have already been extracted and exist in the alignments "
"file"
@ -352,16 +358,16 @@ msgstr ""
"Пропускать кадры, которые уже были извлечены и существуют в файле "
"выравнивания"
#: lib/cli/args.py:578
#: lib/cli/args.py:581
msgid "Skip frames that already have detected faces in the alignments file"
msgstr "Пропускать кадры, для которых в файле выравнивания есть найденные лица"
#: lib/cli/args.py:585
#: lib/cli/args.py:588
msgid "Skip saving the detected faces to disk. Just create an alignments file"
msgstr ""
"Не сохранять найденные лица на носитель. Просто создать файл выравнивания"
#: lib/cli/args.py:607
#: lib/cli/args.py:610
msgid ""
"Swap the original faces in a source video/images to your final faces.\n"
"Conversion plugins can be configured in the 'Settings' Menu"
@ -369,7 +375,7 @@ msgstr ""
"Заменить оригиналы лица в исходном видео/фотографиях новыми.\n"
"Плагины конвертации могут быть настроены в меню 'Настройки'"
#: lib/cli/args.py:628
#: lib/cli/args.py:631
msgid ""
"Only required if converting from images to video. Provide The original video "
"that the source frames were extracted from (for extracting the fps and "
@ -379,7 +385,7 @@ msgstr ""
"Предоставьте исходное видео, из которого были извлечены кадры (для настройки "
"частоты кадров, а также аудио)."
#: lib/cli/args.py:637
#: lib/cli/args.py:640
msgid ""
"Model directory. The directory containing the trained model you wish to use "
"for conversion."
@ -387,7 +393,7 @@ msgstr ""
"Папка с моделью. Папка, содержащая обученную модель, которую вы хотите "
"использовать для преобразования."
#: lib/cli/args.py:647
#: lib/cli/args.py:650
msgid ""
"R|Performs color adjustment to the swapped face. Some of these options have "
"configurable settings in '/config/convert.ini' or 'Settings > Configure "
@ -426,11 +432,19 @@ msgstr ""
"дает удовлетворительных результатов.\n"
"L|none: Не производить подгонку цвета."
#: lib/cli/args.py:672
#: lib/cli/args.py:677
msgid ""
"R|Masker to use. NB: The mask you require must exist within the alignments "
"file. You can add additional masks with the Mask Tool.\n"
"L|none: Don't use a mask.\n"
"L|bisenet-fp-face: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'face' or "
"'legacy' centering.\n"
"L|bisenet-fp-head: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'head' "
"centering.\n"
"L|components: Mask designed to provide facial segmentation based on the "
"positioning of landmark locations. A convex hull is constructed around the "
"exterior of the landmarks to create a mask.\n"
@ -455,6 +469,14 @@ msgstr ""
"R|Использовать маску. Прим.: Требуемая маска должна наличествовать в файле "
"выравнивания. Доп. маски можно добавить через Инструмент Создания Масок.\n"
"L|none: Не использовать маску.\n"
"L|bisenet-fp-face: Относительно легкая маска на основе NN, которая "
"обеспечивает более точный контроль над маскируемой областью (настраивается в "
"настройках маски). Используйте эту версию bisenet-fp, если ваша модель "
"обучена с центрированием «face» или «legacy» центрирование.\n"
"L|bisenet-fp-head: Относительно легкая маска на основе NN, которая "
"обеспечивает более точный контроль над маскируемой областью (настраивается в "
"настройках маски). Используйте эту версию bisenet-fp, если ваша модель "
"обучена с центрированием «head».\n"
"L| components: маска, предназначенная для сегментации лица на основе "
"найденных ориентиров. Маска создается построением выпуклого многоугольника "
"вокруг внешних ориентиров лица.\n"
@ -475,7 +497,7 @@ msgstr ""
"L| predicted: Если во время обучения была включена опция «Learn Mask», будет "
"использоваться маска, созданная обученной моделью."
#: lib/cli/args.py:701
#: lib/cli/args.py:713
msgid ""
"R|The plugin to use to output the converted images. The writers are "
"configurable in '/config/convert.ini' or 'Settings > Configure Convert "
@ -501,11 +523,11 @@ msgstr ""
"L|pillow: [изображения] Более медленный, чем opencv, но имеет больше опций и "
"поддерживает больше форматов."
#: lib/cli/args.py:720 lib/cli/args.py:727 lib/cli/args.py:821
#: lib/cli/args.py:732 lib/cli/args.py:739 lib/cli/args.py:833
msgid "Frame Processing"
msgstr "Обработка кадров"
#: lib/cli/args.py:721
#: lib/cli/args.py:733
msgid ""
"Scale the final output frames by this amount. 100%% will output the frames "
"at source dimensions. 50%% at half size 200%% at double size"
@ -514,7 +536,7 @@ msgstr ""
"кадры в исходном размере. 50%% половина от размера, а 200%% в удвоенном "
"размере"
#: lib/cli/args.py:728
#: lib/cli/args.py:740
msgid ""
"Frame ranges to apply transfer to e.g. For frames 10 to 50 and 90 to 100 use "
"--frame-ranges 10-50 90-100. Frames falling outside of the selected range "
@ -527,7 +549,7 @@ msgstr ""
"unchanged). Прим.: Если при конверсии используются изображения, то имена "
"файлов должны заканчиваться номером кадра!"
#: lib/cli/args.py:738
#: lib/cli/args.py:750
msgid ""
"If you have not cleansed your alignments file, then you can filter out faces "
"by defining a folder here that contains the faces extracted from your input "
@ -543,7 +565,7 @@ msgstr ""
"Если оставить это поле пустым, то все лица, которые существуют в файле "
"выравниваний будут сконвертированы."
#: lib/cli/args.py:792
#: lib/cli/args.py:804
msgid ""
"The maximum number of parallel processes for performing conversion. "
"Converting images is system RAM heavy so it is possible to run out of memory "
@ -560,7 +582,7 @@ msgstr ""
"будет использоваться больше процессов, чем доступно в вашей системе. Если "
"включен одиночный процесс, этот параметр будет проигнорирован."
#: lib/cli/args.py:803
#: lib/cli/args.py:815
msgid ""
"[LEGACY] This only needs to be selected if a legacy model is being loaded or "
"if there are multiple models in the model folder"
@ -568,7 +590,7 @@ msgstr ""
"[СОВМЕСТИМОСТЬ] Это нужно выбирать только в том случае, если загружается "
"устаревшая модель или если в папке сохранения есть несколько моделей"
#: lib/cli/args.py:811
#: lib/cli/args.py:823
msgid ""
"Enable On-The-Fly Conversion. NOT recommended. You should generate a clean "
"alignments file for your destination video. However, if you wish you can "
@ -582,7 +604,7 @@ msgstr ""
"использованию улучшенного конвейера экстракции и некачественных результатов. "
"Если файл выравниваний найден, этот параметр будет проигнорирован."
#: lib/cli/args.py:822
#: lib/cli/args.py:834
msgid ""
"When used with --frame-ranges outputs the unchanged frames that are not "
"processed instead of discarding them."
@ -590,16 +612,16 @@ msgstr ""
"При использовании с --frame-range кадры не попавшие в диапазон выводятся "
"неизменными, вместо их пропуска."
#: lib/cli/args.py:830
#: lib/cli/args.py:842
msgid "Swap the model. Instead converting from of A -> B, converts B -> A"
msgstr ""
"Поменять модели местами. Вместо преобразования из A -> B, преобразует B -> A"
#: lib/cli/args.py:836
#: lib/cli/args.py:848
msgid "Disable multiprocessing. Slower but less resource intensive."
msgstr "Отключить многопроцессорность. Медленнее, но менее ресурсоемко."
#: lib/cli/args.py:852
#: lib/cli/args.py:864
msgid ""
"Train a model on extracted original (A) and swap (B) faces.\n"
"Training models can take a long time. Anything from 24hrs to over a week\n"
@ -610,11 +632,11 @@ msgstr ""
"Обучение моделей может занять долгое время: от 24 часов до недели\n"
"Каждую модель можно отдельно настроить в меню «Настройки»"
#: lib/cli/args.py:871 lib/cli/args.py:880
#: lib/cli/args.py:883 lib/cli/args.py:892
msgid "faces"
msgstr "лица"
#: lib/cli/args.py:872
#: lib/cli/args.py:884
msgid ""
"Input directory. A directory containing training images for face A. This is "
"the original face, i.e. the face that you want to remove and replace with "
@ -623,7 +645,7 @@ msgstr ""
"Входная папка. Папка содержащая изображения для тренировки лица A. Это "
"исходное лицо т.е. лицо, которое вы хотите убрать, заменив лицом B."
#: lib/cli/args.py:881
#: lib/cli/args.py:893
msgid ""
"Input directory. A directory containing training images for face B. This is "
"the swap face, i.e. the face that you want to place onto the head of person "
@ -632,12 +654,12 @@ msgstr ""
"Входная папка. Папка содержащая изображения для тренировки лица B. Это новое "
"лицо т.е. лицо, которое вы хотите поместить на голову человека A."
#: lib/cli/args.py:889 lib/cli/args.py:901 lib/cli/args.py:917
#: lib/cli/args.py:942 lib/cli/args.py:952
#: lib/cli/args.py:901 lib/cli/args.py:913 lib/cli/args.py:929
#: lib/cli/args.py:954 lib/cli/args.py:964
msgid "model"
msgstr "модель"
#: lib/cli/args.py:890
#: lib/cli/args.py:902
msgid ""
"Model directory. This is where the training data will be stored. You should "
"always specify a new folder for new models. If starting a new model, select "
@ -651,7 +673,7 @@ msgstr ""
"будет создана). Если вы хотите продолжить тренировку, выберите папку с уже "
"существующими сохранениями."
#: lib/cli/args.py:902
#: lib/cli/args.py:914
msgid ""
"R|Load the weights from a pre-existing model into a newly created model. For "
"most models this will load weights from the Encoder of the given model into "
@ -675,7 +697,7 @@ msgstr ""
"NB: Вес можно загружать только из моделей того же плагина, который вы "
"собираетесь тренировать."
#: lib/cli/args.py:918
#: lib/cli/args.py:930
msgid ""
"R|Select which trainer to use. Trainers can be configured from the Settings "
"menu or the config folder.\n"
@ -721,7 +743,7 @@ msgstr ""
"ресурсам (Вам потребуется GPU с хорошим количеством видеопамяти). Хороша для "
"деталей, но подвержена к неправильной передаче цвета."
#: lib/cli/args.py:943
#: lib/cli/args.py:955
msgid ""
"Output a summary of the model and exit. If a model folder is provided then a "
"summary of the saved model is displayed. Otherwise a summary of the model "
@ -733,7 +755,7 @@ msgstr ""
"сводная информация о модели, которая будет создана выбранным плагином, и "
"параметрами конфигурации."
#: lib/cli/args.py:953
#: lib/cli/args.py:965
msgid ""
"Freeze the weights of the model. Freezing weights means that some of the "
"parameters in the model will no longer continue to learn, but those that are "
@ -747,12 +769,12 @@ msgstr ""
"некоторые модели могут иметь параметры конфигурации для замораживания других "
"слоев."
#: lib/cli/args.py:966 lib/cli/args.py:978 lib/cli/args.py:989
#: lib/cli/args.py:1075
#: lib/cli/args.py:978 lib/cli/args.py:990 lib/cli/args.py:1001
#: lib/cli/args.py:1087
msgid "training"
msgstr "тренировка"
#: lib/cli/args.py:967
#: lib/cli/args.py:979
msgid ""
"Batch size. This is the number of images processed through the model for "
"each side per iteration. NB: As the model is fed 2 sides at a time, the "
@ -765,7 +787,7 @@ msgstr ""
"изображений в два раза больше этого числа. Увеличение размера партии требует "
"больше памяти GPU."
#: lib/cli/args.py:979
#: lib/cli/args.py:991
msgid ""
"Length of training in iterations. This is only really used for automation. "
"There is no 'correct' number of iterations a model should be trained for. "
@ -779,22 +801,22 @@ msgstr ""
"Однако, если вы хотите, чтобы тренировка прервалась после указанного кол-ва "
"итерация, вы можете ввести это здесь."
#: lib/cli/args.py:990
#: lib/cli/args.py:1002
msgid ""
"Use the Tensorflow Mirrored Distrubution Strategy to train on multiple GPUs."
msgstr ""
"Использовать стратегию зеркального распределения Tensorflow для совместной "
"тренировки сразу на нескольких GPU."
#: lib/cli/args.py:1000 lib/cli/args.py:1010
#: lib/cli/args.py:1012 lib/cli/args.py:1022
msgid "Saving"
msgstr "Сохранение"
#: lib/cli/args.py:1001
#: lib/cli/args.py:1013
msgid "Sets the number of iterations between each model save."
msgstr "Установка количества итераций между сохранениями модели."
#: lib/cli/args.py:1011
#: lib/cli/args.py:1023
msgid ""
"Sets the number of iterations before saving a backup snapshot of the model "
"in it's current state. Set to 0 for off."
@ -802,11 +824,11 @@ msgstr ""
"Устанавливает кол-во итераций перед созданием резервной копии модели. "
"Установите в 0 для отключения."
#: lib/cli/args.py:1018 lib/cli/args.py:1029 lib/cli/args.py:1040
#: lib/cli/args.py:1030 lib/cli/args.py:1041 lib/cli/args.py:1052
msgid "timelapse"
msgstr "таймлапс"
#: lib/cli/args.py:1019
#: lib/cli/args.py:1031
msgid ""
"Optional for creating a timelapse. Timelapse will save an image of your "
"selected faces into the timelapse-output folder at every save iteration. "
@ -819,7 +841,7 @@ msgstr ""
"папку лиц набора 'A' для использования при создании таймлапса. Вам также "
"нужно указать параметры--timelapse-output и --timelapse-input-B."
#: lib/cli/args.py:1030
#: lib/cli/args.py:1042
msgid ""
"Optional for creating a timelapse. Timelapse will save an image of your "
"selected faces into the timelapse-output folder at every save iteration. "
@ -833,7 +855,7 @@ msgstr ""
"таймлапса. Вы также должны указать параметр --timelapse-output и --timelapse-"
"input-A."
#: lib/cli/args.py:1041
#: lib/cli/args.py:1053
msgid ""
"Optional for creating a timelapse. Timelapse will save an image of your "
"selected faces into the timelapse-output folder at every save iteration. If "
@ -845,22 +867,22 @@ msgstr ""
"указаны только входные папки, то по умолчанию вывод будет сохранен вместе с "
"моделью в подкаталог /timelapse/"
#: lib/cli/args.py:1053 lib/cli/args.py:1060 lib/cli/args.py:1067
#: lib/cli/args.py:1065 lib/cli/args.py:1072 lib/cli/args.py:1079
msgid "preview"
msgstr "предварительный просмотр"
#: lib/cli/args.py:1054
#: lib/cli/args.py:1066
msgid ""
"Percentage amount to scale the preview by. 100%% is the model output size."
msgstr ""
"Величина в процентах, на которую требуется масштабировать предварительный "
"просмотр. 100 %% - размер вывода модели."
#: lib/cli/args.py:1061
#: lib/cli/args.py:1073
msgid "Show training preview output. in a separate window."
msgstr "Показывать предварительный просмотр в отдельном окне."
#: lib/cli/args.py:1068
#: lib/cli/args.py:1080
msgid ""
"Writes the training result to a file. The image will be stored in the root "
"of your FaceSwap folder."
@ -868,7 +890,7 @@ msgstr ""
"Записывает результат тренировки в файл. Файл будет сохранен в коренной папке "
"FaceSwap."
#: lib/cli/args.py:1076
#: lib/cli/args.py:1088
msgid ""
"Disables TensorBoard logging. NB: Disabling logs means that you will not be "
"able to use the graph or analysis for this session in the GUI."
@ -876,12 +898,12 @@ msgstr ""
"Отключает журнал TensorBoard. Примечание: Отключение журналов означает, что "
"вы не сможете использовать графики или анализ сессии внутри GUI."
#: lib/cli/args.py:1083 lib/cli/args.py:1092 lib/cli/args.py:1101
#: lib/cli/args.py:1110
#: lib/cli/args.py:1095 lib/cli/args.py:1104 lib/cli/args.py:1113
#: lib/cli/args.py:1122
msgid "augmentation"
msgstr "аугментация"
#: lib/cli/args.py:1084
#: lib/cli/args.py:1096
msgid ""
"Warps training faces to closely matched Landmarks from the opposite face-set "
"rather than randomly warping the face. This is the 'dfaker' way of doing "
@ -891,7 +913,7 @@ msgstr ""
"Ориентирами/Landmarks противоположного набора лиц. Этот способ используется "
"пакетом \"dfaker\"."
#: lib/cli/args.py:1093
#: lib/cli/args.py:1105
msgid ""
"To effectively learn, a random set of images are flipped horizontally. "
"Sometimes it is desirable for this not to occur. Generally this should be "
@ -902,7 +924,7 @@ msgstr ""
"происходило. Как правило, эту настройку не стоит трогать, за исключением "
"периода «финальной шлифовки»."
#: lib/cli/args.py:1102
#: lib/cli/args.py:1114
msgid ""
"Color augmentation helps make the model less susceptible to color "
"differences between the A and B sets, at an increased training time cost. "
@ -912,7 +934,7 @@ msgstr ""
"цвета между наборами A and B ценой некоторого замедления скорости "
"тренировки. Включите эту опцию для отключения цветовой аугментации."
#: lib/cli/args.py:1111
#: lib/cli/args.py:1123
msgid ""
"Warping is integral to training the Neural Network. This option should only "
"be enabled towards the very end of training to try to bring out more detail. "
@ -925,7 +947,7 @@ msgstr ""
"Включение этой опции с самого начала может убить модель и привести к ужасным "
"результатам."
#: lib/cli/args.py:1136
#: lib/cli/args.py:1148
msgid "Output to Shell console instead of GUI console"
msgstr "Вывод в системную консоль вместо GUI"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-02-18 23:14-0000\n"
"POT-Creation-Date: 2021-05-17 18:17+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -44,13 +44,14 @@ msgid ""
"L|frames: The input is a folder containing frames or is a video"
msgstr ""
#: tools/mask/cli.py:62 tools/mask/cli.py:87
#: tools/mask/cli.py:62 tools/mask/cli.py:90
msgid "process"
msgstr ""
#: tools/mask/cli.py:63
msgid ""
"R|Masker to use.\n"
"L|bisenet-fp: Relatively lightweight NN based mask that provides more refined control over the area to be masked including full head masking (configurable in mask settings).\n"
"L|components: Mask designed to provide facial segmentation based on the positioning of landmark locations. A convex hull is constructed around the exterior of the landmarks to create a mask.\n"
"L|extended: Mask designed to provide facial segmentation based on the positioning of landmark locations. A convex hull is constructed around the exterior of the landmarks and the mask is extended upwards onto the forehead.\n"
"L|vgg-clear: Mask designed to provide smart segmentation of mostly frontal faces clear of obstructions. Profile faces and obstructions may result in sub-par performance.\n"
@ -58,7 +59,7 @@ msgid ""
"L|unet-dfl: Mask designed to provide smart segmentation of mostly frontal faces. The mask model has been trained by community members and will need testing for further description. Profile faces may result in sub-par performance."
msgstr ""
#: tools/mask/cli.py:88
#: tools/mask/cli.py:91
msgid ""
"R|Whether to update all masks in the alignments files, only those faces that do not already have a mask of the given `mask type` or just to output the masks to the `output` location.\n"
"L|all: Update the mask for all faces in the alignments file.\n"
@ -66,24 +67,24 @@ msgid ""
"L|output: Don't update the masks, just output them for review in the given output folder."
msgstr ""
#: tools/mask/cli.py:101 tools/mask/cli.py:108 tools/mask/cli.py:121
#: tools/mask/cli.py:134 tools/mask/cli.py:143
#: tools/mask/cli.py:104 tools/mask/cli.py:111 tools/mask/cli.py:124
#: tools/mask/cli.py:137 tools/mask/cli.py:146
msgid "output"
msgstr ""
#: tools/mask/cli.py:102
#: tools/mask/cli.py:105
msgid "Optional output location. If provided, a preview of the masks created will be output in the given folder."
msgstr ""
#: tools/mask/cli.py:112
#: tools/mask/cli.py:115
msgid "Apply gaussian blur to the mask output. Has the effect of smoothing the edges of the mask giving less of a hard edge. the size is in pixels. This value should be odd, if an even number is passed in then it will be rounded to the next odd number. NB: Only effects the output preview. Set to 0 for off"
msgstr ""
#: tools/mask/cli.py:125
#: tools/mask/cli.py:128
msgid "Helps reduce 'blotchiness' on some masks by making light shades white and dark shades black. Higher values will impact more of the mask. NB: Only effects the output preview. Set to 0 for off"
msgstr ""
#: tools/mask/cli.py:135
#: tools/mask/cli.py:138
msgid ""
"R|How to format the output when processing is set to 'output'.\n"
"L|combined: The image contains the face/frame, face mask and masked face.\n"
@ -91,7 +92,7 @@ msgid ""
"L|mask: Only output the mask as a single channel image."
msgstr ""
#: tools/mask/cli.py:144
#: tools/mask/cli.py:147
msgid "R|Whether to output the whole frame or only the face box when using output processing. Only has an effect when using frames as input."
msgstr ""

View File

@ -164,7 +164,7 @@ class PluginLoader():
return getattr(module, ttl)
@staticmethod
def get_available_extractors(extractor_type, add_none=False):
def get_available_extractors(extractor_type, add_none=False, extend_plugin=False):
""" Return a list of available extractors of the given type
Parameters
@ -173,6 +173,14 @@ class PluginLoader():
The type of extractor to return the plugins for
add_none: bool, optional
Append "none" to the list of returned plugins. Default: False
extend_plugin: bool, optional
Some plugins have configuration options that mean that multiple 'pseudo-plugins'
can be generated based on their settings. An example of this is the bisenet-fp mask
which, whilst selected as 'bisenet-fp' can be stored as 'bisenet-fp-face' and
'bisenet-fp-head' depending on whether hair has been included in the mask or not.
``True`` will generate each pseudo-plugin, ``False`` will generate the original
plugin name. Default: ``False``
Returns
-------
list:
@ -181,11 +189,16 @@ class PluginLoader():
extractpath = os.path.join(os.path.dirname(__file__),
"extract",
extractor_type)
extractors = sorted(item.name.replace(".py", "").replace("_", "-")
for item in os.scandir(extractpath)
if not item.name.startswith("_")
and not item.name.endswith("defaults.py")
and item.name.endswith(".py"))
extractors = [item.name.replace(".py", "").replace("_", "-")
for item in os.scandir(extractpath)
if not item.name.startswith("_")
and not item.name.endswith("defaults.py")
and item.name.endswith(".py")]
if extend_plugin and extractor_type == "mask" and "bisenet-fp" in extractors:
extractors.remove("bisenet-fp")
extractors.extend(["bisenet-fp-face", "bisenet-fp-head"])
extractors = sorted(extractors)
if add_none:
extractors.insert(0, "none")
return extractors

View File

@ -35,7 +35,7 @@ class Config(FaceswapConfig):
datatype=str,
gui_radio=True,
default="face",
choices=["face", "legacy"],
choices=["face", "head", "legacy"],
fixed=True,
group="face",
info="How to center the training image. The extracted images are centered on the "
@ -44,6 +44,11 @@ class Config(FaceswapConfig):
"will be cropped from the aligned images."
"\n\tface: Centers the training image on the center of the face, adjusting for "
"pitch and yaw."
"\n\thead: Centers the training image on the center of the head, adjusting for "
"pitch and yaw. NB: You should only select head centering if you intend to "
"include the full head (including hair) in the final swap. This may give mixed "
"results. Additionally, it is only worth choosing head centering if you are "
"training with a mask that includes the hair (e.g. BiSeNet-FP-Head)."
"\n\tlegacy: The 'original' extraction technique. Centers the training image "
"near the tip of the nose with no adjustment. Can result in the edges of the "
"face appearing outside of the training area.")
@ -60,12 +65,13 @@ class Config(FaceswapConfig):
"model's scope to a zoomed-in central area while higher amounts can include the "
"entire face. A trade-off exists between lower amounts given more detail "
"versus higher amounts avoiding noticeable swap transitions. For 'Face' "
"centering you will want to leave this above 75%. Sensible values for 'Legacy' "
"centering you will want to leave this above 75%. For Head centering you will "
"most likely want to set this to 100%. Sensible values for 'Legacy' "
"centering are:"
"\n\t62.5%% spans from eyebrow to eyebrow."
"\n\t75.0%% spans from temple to temple."
"\n\t87.5%% spans from ear to ear."
"\n\t100.0%% is a mugshot.")
"\n\t62.5% spans from eyebrow to eyebrow."
"\n\t75.0% spans from temple to temple."
"\n\t87.5% spans from ear to ear."
"\n\t100.0% is a mugshot.")
self.add_item(
section=section,
@ -344,7 +350,8 @@ class Config(FaceswapConfig):
title="mask_type",
datatype=str,
default="extended",
choices=PluginLoader.get_available_extractors("mask", add_none=True),
choices=PluginLoader.get_available_extractors("mask",
add_none=True, extend_plugin=True),
group="mask",
gui_radio=True,
info="The mask to be used for training. If you have selected 'Learn Mask' or "
@ -353,6 +360,13 @@ class Config(FaceswapConfig):
"exist in the alignments file then it will be generated prior to training "
"commencing."
"\n\tnone: Don't use a mask."
"\n\tbisenet-fp-face: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'face' or "
"'legacy' centering."
"\n\tbisenet-fp-head: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked (configurable in mask settings). "
"Use this version of bisenet-fp if your model is trained with 'head' centering."
"\n\tcomponents: Mask designed to provide facial segmentation based on the "
"positioning of landmark locations. A convex hull is constructed around the "
"exterior of the landmarks to create a mask."

View File

@ -61,6 +61,9 @@ class MaskArgs(FaceSwapArgs):
default="extended",
group=_("process"),
help=_("R|Masker to use."
"\nL|bisenet-fp: Relatively lightweight NN based mask that provides more "
"refined control over the area to be masked including full head masking "
"(configurable in mask settings)."
"\nL|components: Mask designed to provide facial segmentation based on the "
"positioning of landmark locations. A convex hull is constructed around the "
"exterior of the landmarks to create a mask."