diff options
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | javascript/edit-attention.js | 3 | ||||
-rw-r--r-- | launch.py | 11 | ||||
-rw-r--r-- | localizations/it_IT.json | 28 | ||||
-rw-r--r-- | localizations/ko_KR.json | 9 | ||||
-rw-r--r-- | localizations/zh_CN.json | 416 | ||||
-rw-r--r-- | localizations/zh_TW.json | 282 | ||||
-rw-r--r-- | modules/api/api.py | 85 | ||||
-rw-r--r-- | modules/api/models.py | 80 | ||||
-rw-r--r-- | modules/extras.py | 5 | ||||
-rw-r--r-- | modules/hypernetworks/hypernetwork.py | 36 | ||||
-rw-r--r-- | modules/masking.py | 2 | ||||
-rw-r--r-- | modules/processing.py | 38 | ||||
-rw-r--r-- | modules/scripts.py | 56 | ||||
-rw-r--r-- | modules/sd_models.py | 26 | ||||
-rw-r--r-- | modules/shared.py | 39 | ||||
-rw-r--r-- | modules/ui.py | 39 | ||||
-rw-r--r-- | modules/ui_extensions.py | 2 | ||||
-rw-r--r-- | scripts/custom_code.py | 2 | ||||
-rw-r--r-- | scripts/outpainting_mk_2.py | 2 | ||||
-rw-r--r-- | scripts/poor_mans_outpainting.py | 4 | ||||
-rw-r--r-- | scripts/prompts_from_file.py | 10 | ||||
-rw-r--r-- | scripts/sd_upscale.py | 4 | ||||
-rw-r--r-- | scripts/xy_grid.py | 8 | ||||
-rw-r--r-- | test/utils_test.py | 63 | ||||
-rw-r--r-- | webui.py | 6 |
26 files changed, 894 insertions, 369 deletions
@@ -155,14 +155,15 @@ The documentation was moved from this README over to the project's [wiki](https: - Swin2SR - https://github.com/mv-lab/swin2sr
- LDSR - https://github.com/Hafiidz/latent-diffusion
- Ideas for optimizations - https://github.com/basujindal/stable-diffusion
-- Doggettx - Cross Attention layer optimization - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.
-- InvokeAI, lstein - Cross Attention layer optimization - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)
-- Rinon Gal - Textual Inversion - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).
+- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.
+- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)
+- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).
- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd
- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot
- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator
- Idea for Composable Diffusion - https://github.com/energy-based-model/Compositional-Visual-Generation-with-Composable-Diffusion-Models-PyTorch
- xformers - https://github.com/facebookresearch/xformers
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru
+- Security advice - RyotaK
- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.
- (You)
diff --git a/javascript/edit-attention.js b/javascript/edit-attention.js index c0d29a74..b947cbec 100644 --- a/javascript/edit-attention.js +++ b/javascript/edit-attention.js @@ -1,7 +1,6 @@ addEventListener('keydown', (event) => {
let target = event.originalTarget || event.composedPath()[0];
- if (!target.hasAttribute("placeholder")) return;
- if (!target.placeholder.toLowerCase().includes("prompt")) return;
+ if (!target.matches("#toprow textarea.gr-text-input[placeholder]")) return;
if (! (event.metaKey || event.ctrlKey)) return;
@@ -238,12 +238,15 @@ def tests(argv): proc.kill()
-def start_webui():
- print(f"Launching Web UI with arguments: {' '.join(sys.argv[1:])}")
+def start():
+ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with arguments: {' '.join(sys.argv[1:])}")
import webui
- webui.webui()
+ if '--nowebui' in sys.argv:
+ webui.api_only()
+ else:
+ webui.webui()
if __name__ == "__main__":
prepare_enviroment()
- start_webui()
+ start()
diff --git a/localizations/it_IT.json b/localizations/it_IT.json index 49489f40..83d0ccce 100644 --- a/localizations/it_IT.json +++ b/localizations/it_IT.json @@ -104,6 +104,7 @@ "Seed travel": "Interpolazione semi",
"Shift attention": "Sposta l'attenzione",
"Text to Vector Graphics": "Da testo a grafica vettoriale",
+ "Unprompted": "Unprompted",
"X/Y plot": "Grafico X/Y",
"X/Y/Z plot": "Grafico X/Y/Z",
"Dynamic Prompting v0.13.6": "Prompt dinamici v0.13.6",
@@ -259,6 +260,7 @@ "Save results as video": "Salva i risultati come video",
"Frames per second": "Fotogrammi al secondo",
"Iterate seed every line": "Iterare il seme per ogni riga",
+ "Use same random seed for all lines": "Usa lo stesso seme casuale per tutte le righe",
"List of prompt inputs": "Elenco di prompt di input",
"Upload prompt inputs": "Carica un file contenente i prompt di input",
"n": "Esegui n volte",
@@ -294,6 +296,13 @@ "Transparent PNG": "PNG trasparente",
"Noise Tolerance": "Tolleranza al rumore",
"Quantize": "Quantizzare",
+ "Dry Run": "Esecuzione a vuoto (Debug)",
+ "NEW!": "NUOVO!",
+ "Premium Fantasy Card Template": "Premium Fantasy Card Template",
+ "is now available.": "è ora disponibile.",
+ "Generate a wide variety of creatures and characters in the style of a fantasy card game. Perfect for heroes, animals, monsters, and even crazy hybrids.": "Genera un'ampia varietà di creature e personaggi nello stile di un gioco di carte fantasy. Perfetto per eroi, animali, mostri e persino ibridi incredibili.",
+ "Learn More ➜": "Per saperne di più ➜",
+ "Purchases help fund the continued development of Unprompted. Thank you for your support!": "Gli acquisti aiutano a finanziare il continuo sviluppo di Unprompted. Grazie per il vostro sostegno!",
"X type": "Parametro asse X",
"Nothing": "Niente",
"Var. seed": "Seme della variazione",
@@ -424,6 +433,7 @@ "Sigma adjustment for finding noise for image": "Regolazione Sigma per trovare il rumore per l'immagine",
"Tile size": "Dimensione piastrella",
"Tile overlap": "Sovrapposizione piastrella",
+ "New seed for each tile": "Nuovo seme per ogni piastrella",
"alternate img2img imgage": "Immagine alternativa per img2img",
"interpolation values": "Valori di interpolazione",
"Refinement loops": "Cicli di affinamento",
@@ -455,8 +465,9 @@ "Will upscale the image to twice the dimensions; use width and height sliders to set tile size": "Aumenterà l'immagine al doppio delle dimensioni; utilizzare i cursori di larghezza e altezza per impostare la dimensione della piastrella",
"Upscaler": "Ampliamento immagine",
"Lanczos": "Lanczos",
+ "Nearest": "Nearest",
"LDSR": "LDSR",
- "ESRGAN_4x": "ESRGAN_4x",
+ "BSRGAN": "BSRGAN",
"ScuNET GAN": "ScuNET GAN",
"ScuNET PSNR": "ScuNET PSNR",
"SwinIR 4x": "SwinIR 4x",
@@ -808,6 +819,7 @@ "image_path": "Percorso immagine",
"mp4_path": "Percorso MP4",
"Click here after the generation to show the video": "Clicca qui dopo la generazione per mostrare il video",
+ "NOTE: If the 'Generate' button doesn't work, go in Settings and click 'Restart Gradio and Refresh...'.": "NOTA: se il pulsante 'Genera' non funziona, vai in Impostazioni e fai clic su 'Riavvia Gradio e Aggiorna...'.",
"Save Settings": "Salva le impostazioni",
"Load Settings": "Carica le impostazioni",
"Path relative to the webui folder." : "Percorso relativo alla cartella webui.",
@@ -922,8 +934,8 @@ "Renew Page": "Aggiorna la pagina",
"Number": "Numero",
"set_index": "Imposta indice",
- "load_switch": "load_switch",
- "turn_page_switch": "turn_page_switch",
+ "load_switch": "Carica",
+ "turn_page_switch": "Volta pagina",
"Checkbox": "Casella di controllo",
"Checkbox Group": "Seleziona immagini per",
"artists": "Artisti",
@@ -956,6 +968,8 @@ "Save text information about generation parameters as chunks to png files": "Salva le informazioni di testo dei parametri di generazione come blocchi nel file png",
"Create a text file next to every image with generation parameters.": "Crea un file di testo assieme a ogni immagine con i parametri di generazione.",
"Save a copy of image before doing face restoration.": "Salva una copia dell'immagine prima di eseguire il restauro dei volti.",
+ "Save a copy of image before applying highres fix.": "Salva una copia dell'immagine prima di applicare la correzione ad alta risoluzione.",
+ "Save a copy of image before applying color correction to img2img results": "Salva una copia dell'immagine prima di applicare la correzione del colore ai risultati di img2img",
"Quality for saved jpeg images": "Qualità delle immagini salvate in formato JPEG",
"If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG": "Se l'immagine PNG è più grande di 4 MB o qualsiasi dimensione è maggiore di 4000, ridimensiona e salva la copia come JPG",
"Use original name for output filename during batch process in extras tab": "Usa il nome originale per il nome del file di output durante l'elaborazione a lotti nella scheda 'Extra'",
@@ -997,12 +1011,14 @@ "Filename join string": "Stringa per unire le parole estratte dal nome del file",
"Number of repeats for a single input image per epoch; used only for displaying epoch number": "Numero di ripetizioni per una singola immagine di input per epoca; utilizzato solo per visualizzare il numero di epoca",
"Save an csv containing the loss to log directory every N steps, 0 to disable": "Salva un file CSV contenente la perdita nella cartella di registrazione ogni N passaggi, 0 per disabilitare",
+ "Use cross attention optimizations while training": "Usa le ottimizzazioni di controllo dell'attenzione incrociato durante l'allenamento",
"Stable Diffusion": "Stable Diffusion",
"Checkpoints to cache in RAM": "Checkpoint da memorizzare nella RAM",
+ "SD VAE": "SD VAE",
+ "auto": "auto",
"Hypernetwork strength": "Forza della Iperrete",
"Inpainting conditioning mask strength": "Forza della maschera di condizionamento del Inpainting",
"Apply color correction to img2img results to match original colors.": "Applica la correzione del colore ai risultati di img2img in modo che corrispondano ai colori originali.",
- "Save a copy of image before applying color correction to img2img results": "Salva una copia dell'immagine prima di applicare la correzione del colore ai risultati di img2img",
"With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising).": "Con img2img, esegue esattamente la quantità di passi specificata dalla barra di scorrimento (normalmente se ne effettuano di meno con meno riduzione del rumore).",
"Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply.": "Abilita la quantizzazione nei campionatori K per risultati più nitidi e puliti. Questo può cambiare i semi esistenti. Richiede il riavvio per applicare la modifica.",
"Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention": "Enfasi: utilizzare (testo) per fare in modo che il modello presti maggiore attenzione al testo e [testo] per fargli prestare meno attenzione",
@@ -1194,8 +1210,8 @@ "Hue:0": "Hue:0",
"S:0": "S:0",
"L:0": "L:0",
- "Load Canvas": "Carica Tela",
- "saveCanvas": "Salva Tela",
+ "Load Canvas": "Carica Canvas",
+ "Save Canvas": "Salva Canvas",
"latest": "aggiornato",
"behind": "da aggiornare",
"Description": "Descrizione",
diff --git a/localizations/ko_KR.json b/localizations/ko_KR.json index 874771f9..29e10075 100644 --- a/localizations/ko_KR.json +++ b/localizations/ko_KR.json @@ -24,6 +24,7 @@ "Add model hash to generation information": "생성 정보에 모델 해시 추가",
"Add model name to generation information": "생성 정보에 모델 이름 추가",
"Add number to filename when saving": "이미지를 저장할 때 파일명에 숫자 추가하기",
+ "Adds a tab to the webui that allows the user to automatically extract keyframes from video, and manually extract 512x512 crops of those frames for use in model training.": "WebUI에 비디오로부터 자동으로 키프레임을 추출하고, 그 키프레임으로부터 모델 훈련에 사용될 512x512 이미지를 잘라낼 수 있는 탭을 추가합니다.",
"Aesthetic Gradients": "스타일 그라디언트",
"Aesthetic Image Scorer": "스타일 이미지 스코어러",
"Aesthetic imgs embedding": "스타일 이미지 임베딩",
@@ -260,6 +261,7 @@ "Keep -1 for seeds": "시드값 -1로 유지",
"keep whatever was there originally": "이미지 원본 유지",
"keyword": "프롬프트",
+ "Krita Plugin.": "Kirta 플러그인입니다.",
"Label": "라벨",
"Lanczos": "Lanczos",
"Last prompt:": "마지막 프롬프트 : ",
@@ -441,8 +443,8 @@ "See": "자세한 설명은",
"Seed": "시드",
"Seed of a different picture to be mixed into the generation.": "결과물에 섞일 다른 그림의 시드",
- "Select activation function of hypernetwork": "하이퍼네트워크 활성화 함수 선택",
- "Select Layer weights initialization. relu-like - Kaiming, sigmoid-like - Xavier is recommended": "레이어 가중치 초기화 방식 선택 - relu류 : Kaiming 추천, sigmoid류 : Xavier 추천",
+ "Select activation function of hypernetwork. Recommended : Swish / Linear(none)": "하이퍼네트워크 활성화 함수 선택 - 추천 : Swish / Linear(None)",
+ "Select Layer weights initialization. Recommended: Kaiming for relu-like, Xavier for sigmoid-like, Normal otherwise": "레이어 가중치 초기화 방식 선택 - relu류 : Kaiming 추천, sigmoid류 : Xavier 추천, 그 외 : Normal",
"Select which Real-ESRGAN models to show in the web UI. (Requires restart)": "WebUI에 표시할 Real-ESRGAN 모델을 선택하십시오. (재시작 필요)",
"Send seed when sending prompt or image to other interface": "다른 화면으로 프롬프트나 이미지를 보낼 때 시드도 함께 보내기",
"Send to extras": "부가기능으로 전송",
@@ -458,7 +460,7 @@ "should be 2 or lower.": "이 2 이하여야 합니다.",
"Show generation progress in window title.": "창 타이틀에 생성 진행도 보여주기",
"Show grid in results for web": "웹에서 결과창에 그리드 보여주기",
- "Show image creation progress every N sampling steps. Set 0 to disable.": "N번째 샘플링 스텝마다 이미지 생성 과정 보이기 - 비활성화하려면 0으로 설정",
+ "Show image creation progress every N sampling steps. Set to 0 to disable. Set to -1 to show after completion of batch.": "N번째 샘플링 스텝마다 이미지 생성 과정 보이기 - 비활성화하려면 0으로 설정, 배치 생성 완료시 보이려면 -1로 설정",
"Show images zoomed in by default in full page image viewer": "전체 페이지 이미지 뷰어에서 기본값으로 이미지 확대해서 보여주기",
"Show previews of all images generated in a batch as a grid": "배치에서 생성된 모든 이미지의 미리보기를 그리드 형식으로 보여주기",
"Show progressbar": "프로그레스 바 보이기",
@@ -520,6 +522,7 @@ "Train Embedding": "임베딩 훈련",
"Train Hypernetwork": "하이퍼네트워크 훈련",
"Training": "훈련",
+ "training-picker": "훈련용 선택기",
"txt2img": "텍스트→이미지",
"txt2img history": "텍스트→이미지 기록",
"uniform": "uniform",
diff --git a/localizations/zh_CN.json b/localizations/zh_CN.json index e453f5e3..56c8980e 100644 --- a/localizations/zh_CN.json +++ b/localizations/zh_CN.json @@ -7,19 +7,19 @@ "Loading...": "载入中...", "view": "查看", "api": "api", - "•": "•", + "•": " • ", "built with gradio": "基于 Gradio 构建", "Stable Diffusion checkpoint": "Stable Diffusion 模型(ckpt)", "txt2img": "文生图", "img2img": "图生图", - "Extras": "后处理", - "PNG Info": "PNG 信息", - "Checkpoint Merger": "模型(ckpt)合并工具", + "Extras": "更多", + "PNG Info": "图片信息", + "Checkpoint Merger": "模型(ckpt)合并", "Train": "训练", - "Create aesthetic embedding": "生成美术风格 embedding", + "Create aesthetic embedding": "生成美术风格", "Image Browser": "图库浏览器", - "History": "历史记录", "Settings": "设置", + "Extensions": "扩展", "Prompt": "提示词", "Negative prompt": "反向提示词", "Run": "运行", @@ -37,8 +37,8 @@ "Image": "图像", "Check progress": "查看进度", "Check progress (first)": "(首次)查看进度", - "Sampling Steps": "采样迭代步数", - "Sampling method": "采样方法", + "Sampling Steps": "采样迭代步数 (Steps)", + "Sampling method": "采样方法 (Sampler)", "Euler a": "Euler a", "Euler": "Euler", "LMS": "LMS", @@ -59,38 +59,39 @@ "Highres. fix": "高分辨率修复", "Firstpass width": "第一遍的宽度", "Firstpass height": "第一遍的高度", - "Denoising strength": "去噪强度", - "Batch count": "批次", - "Batch size": "批量", + "Denoising strength": "重绘幅度(Denoising strength)", + "Batch count": "生成批次", + "Batch size": "每批数量", "CFG Scale": "提示词相关性(CFG Scale)", - "Seed": "随机种子", - "Extra": "额外参数", + "Seed": "随机种子(seed)", + "Extra": "▼", "Variation seed": "差异随机种子", "Variation strength": "差异强度", "Resize seed from width": "自宽度缩放随机种子", "Resize seed from height": "自高度缩放随机种子", - "Open for Clip Aesthetic!": "打开美术风格 Clip!", - "▼": "▼", + "Open for Clip Aesthetic!": "打开以调整 Clip 的美术风格!", "Aesthetic weight": "美术风格权重", "Aesthetic steps": "美术风格迭代步数", "Aesthetic learning rate": "美术风格学习率", - "Slerp interpolation": "Slerp 插值", + "Slerp interpolation": "球面线性插值", "Aesthetic imgs embedding": "美术风格图集 embedding", "None": "无", "Aesthetic text for imgs": "该图集的美术风格描述", - "Slerp angle": "Slerp 角度", + "Slerp angle": "球面线性插值角度", "Is negative text": "是反向提示词", "Script": "脚本", - "Embedding to Shareable PNG": "将 Embedding 转换为可分享的 PNG", + "Embedding to Shareable PNG": "将 Embedding 转换为可分享的 PNG 图片文件", "Prompt matrix": "提示词矩阵", "Prompts from file or textbox": "从文本框或文件载入提示词", "X/Y plot": "X/Y 图表", "Source embedding to convert": "用于转换的源 Embedding", "Embedding token": "Embedding 的 token (关键词)", + "Output directory": "输出目录", "Put variable parts at start of prompt": "把变量部分放在提示词文本的开头", - "Show Textbox": "显示文本框", - "File with inputs": "含输入内容的文件", - "Prompts": "提示词", + "Iterate seed every line": "每行输入都换一个种子", + "Use same random seed for all lines": "每行输入都使用同一个随机种子", + "List of prompt inputs": "提示词输入列表", + "Upload prompt inputs": "上传提示词输入文件", "X type": "X轴类型", "Nothing": "无", "Var. seed": "差异随机种子", @@ -100,8 +101,8 @@ "Prompt order": "提示词顺序", "Sampler": "采样器", "Checkpoint name": "模型(ckpt)名", - "Hypernetwork": "Hypernetwork", - "Hypernet str.": "Hypernetwork 强度", + "Hypernetwork": "超网络(Hypernetwork)", + "Hypernet str.": "超网络(Hypernetwork) 强度", "Sigma Churn": "Sigma Churn", "Sigma min": "最小 Sigma", "Sigma max": "最大 Sigma", @@ -109,53 +110,52 @@ "Eta": "Eta", "Clip skip": "Clip 跳过", "Denoising": "去噪", + "Cond. Image Mask Weight": "图像调节屏蔽度", "X values": "X轴数值", "Y type": "Y轴类型", "Y values": "Y轴数值", "Draw legend": "在图表中包括轴标题", "Include Separate Images": "包括独立的图像", "Keep -1 for seeds": "保持随机种子为-1", - "Drop Image Here": "拖拽图像到此", "Save": "保存", "Send to img2img": ">> 图生图", - "Send to inpaint": ">> 内补绘制", - "Send to extras": ">> 后处理", + "Send to inpaint": ">> 局部重绘", + "Send to extras": ">> 更多", "Make Zip when Save?": "保存时生成zip压缩文件?", "Textbox": "文本框", "Interrogate\nCLIP": "CLIP\n反推提示词", "Interrogate\nDeepBooru": "DeepBooru\n反推提示词", - "Inpaint": "内补绘制", + "Inpaint": "局部重绘", "Batch img2img": "批量图生图", "Image for img2img": "图生图的图像", - "Image for inpainting with mask": "用于内补绘制蒙版内容的图像", + "Drop Image Here": "拖拽图像到此", + "Image for inpainting with mask": "用于局部重绘并手动画蒙版的图像", "Mask": "蒙版", "Mask blur": "蒙版模糊", "Mask mode": "蒙版模式", "Draw mask": "绘制蒙版", "Upload mask": "上传蒙版", "Masking mode": "蒙版模式", - "Inpaint masked": "内补绘制蒙版内容", - "Inpaint not masked": "内补绘制非蒙版内容", + "Inpaint masked": "重绘蒙版内容", + "Inpaint not masked": "重绘非蒙版内容", "Masked content": "蒙版蒙住的内容", "fill": "填充", "original": "原图", "latent noise": "潜空间噪声", "latent nothing": "潜空间数值零", - "Inpaint at full resolution": "以完整分辨率进行内补绘制", - "Inpaint at full resolution padding, pixels": "以完整分辨率进行内补绘制 - 填补像素", - "Process images in a directory on the same machine where the server is running.": "在服务器主机上的目录中处理图像", - "Use an empty output directory to save pictures normally instead of writing to the output directory.": "指定一个空的文件夹为输出目录而非默认的 output 文件夹为输出目录", - "Disabled when launched with --hide-ui-dir-config.": "启动 --hide-ui-dir-config 时禁用", + "Inpaint at full resolution": "全分辨率局部重绘", + "Inpaint at full resolution padding, pixels": "预留像素", + "Process images in a directory on the same machine where the server is running.": "使用服务器主机上的一个目录,作为输入目录处理图像", + "Use an empty output directory to save pictures normally instead of writing to the output directory.": "使用一个空的文件夹作为输出目录,而不是使用默认的 output 文件夹作为输出目录", "Input directory": "输入目录", - "Output directory": "输出目录", "Resize mode": "缩放模式", - "Just resize": "只缩放", - "Crop and resize": "缩放并剪裁", - "Resize and fill": "缩放并填充", + "Just resize": "拉伸", + "Crop and resize": "裁剪", + "Resize and fill": "填充", "img2img alternative test": "图生图的另一种测试", "Loopback": "回送", - "Outpainting mk2": "外补绘制第二版", - "Poor man's outpainting": "效果稍差的外补绘制", + "Outpainting mk2": "向外绘制第二版", + "Poor man's outpainting": "效果稍差的向外绘制", "SD upscale": "使用 SD 放大(SD upscale)", "should be 2 or lower.": "必须小于等于2", "Override `Sampling method` to Euler?(this method is built for it)": "覆写 `采样方法` 为 Euler?(这个方法就是为这样做设计的)", @@ -164,15 +164,15 @@ "Original negative prompt": "初始反向提示词", "Override `Sampling Steps` to the same value as `Decode steps`?": "覆写 `采样迭代步数` 为 `解码迭代步数`?", "Decode steps": "解码迭代步数", - "Override `Denoising strength` to 1?": "覆写 `去噪强度` 为 1?", + "Override `Denoising strength` to 1?": "覆写 `重绘幅度` 为 1?", "Decode CFG scale": "解码提示词相关性(CFG scale)", "Randomness": "随机度", "Sigma adjustment for finding noise for image": "为寻找图中噪点的 Sigma 调整", "Loops": "迭代次数", - "Denoising strength change factor": "去噪强度的调整系数", - "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8": "推荐设置:采样迭代步数:80-100,采样器:Euler a,去噪强度:0.8", + "Denoising strength change factor": "重绘幅度的调整系数", + "Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8": "推荐设置:采样迭代步数:80-100,采样器:Euler a,重绘幅度:0.8", "Pixels to expand": "拓展的像素数", - "Outpainting direction": "外补绘制的方向", + "Outpainting direction": "向外绘制的方向", "left": "左", "right": "右", "up": "上", @@ -183,6 +183,7 @@ "Tile overlap": "图块重叠的像素(Tile overlap)", "Upscaler": "放大算法", "Lanczos": "Lanczos", + "Nearest": "最邻近(整数缩放)", "LDSR": "LDSR", "BSRGAN 4x": "BSRGAN 4x", "ESRGAN_4x": "ESRGAN_4x", @@ -199,12 +200,11 @@ "Scale to": "指定尺寸缩放", "Resize": "缩放", "Crop to fit": "裁剪以适应", - "Upscaler 2": "放大算法 2", - "Upscaler 2 visibility": "放大算法 2 可见度", + "Upscaler 2 visibility": "放大算法 2 (Upscaler 2) 可见度", "GFPGAN visibility": "GFPGAN 可见度", "CodeFormer visibility": "CodeFormer 可见度", "CodeFormer weight (0 = maximum effect, 1 = minimum effect)": "CodeFormer 权重 (0 = 最大效果, 1 = 最小效果)", - "Open output directory": "打开输出目录", + "Upscale Before Restoring Faces": "放大后再进行面部修复", "Send to txt2img": ">> 文生图", "A merger of the two checkpoints will be generated in your": "合并后的模型(ckpt)会生成在你的", "checkpoint": "模型(ckpt)", @@ -219,10 +219,9 @@ "Add difference": "添加差分", "Save as float16": "以 float16 储存", "See": "查看", - "wiki": "wiki", + "wiki": "wiki文档", "for detailed explanation.": "以了解详细说明", "Create embedding": "生成 embedding", - "Create aesthetic images embedding": "生成美术风格图集 embedding", "Create hypernetwork": "生成 hypernetwork", "Preprocess images": "图像预处理", "Name": "名称", @@ -237,6 +236,36 @@ "leakyrelu": "leakyrelu", "elu": "elu", "swish": "swish", + "tanh": "tanh", + "sigmoid": "sigmoid", + "celu": "celu", + "gelu": "gelu", + "glu": "glu", + "hardshrink": "hardshrink", + "hardsigmoid": "hardsigmoid", + "hardtanh": "hardtanh", + "logsigmoid": "logsigmoid", + "logsoftmax": "logsoftmax", + "mish": "mish", + "prelu": "prelu", + "rrelu": "rrelu", + "relu6": "relu6", + "selu": "selu", + "silu": "silu", + "softmax": "softmax", + "softmax2d": "softmax2d", + "softmin": "softmin", + "softplus": "softplus", + "softshrink": "softshrink", + "softsign": "softsign", + "tanhshrink": "tanhshrink", + "threshold": "阈值", + "Select Layer weights initialization. relu-like - Kaiming, sigmoid-like - Xavier is recommended": "选择初始化层权重的方案. 类relu - Kaiming, 类sigmoid - Xavier 都是比较推荐的选项", + "Normal": "正态", + "KaimingUniform": "Kaiming 均匀", + "KaimingNormal": "Kaiming 正态", + "XavierUniform": "Xavier 均匀", + "XavierNormal": "Xavier 正态", "Add layer normalization": "添加层标准化", "Use dropout": "采用 dropout 防止过拟合", "Overwrite Old Hypernetwork": "覆写旧的 Hypernetwork", @@ -248,89 +277,92 @@ "prepend": "放前面", "append": "放后面", "Create flipped copies": "生成镜像副本", - "Split oversized images into two": "将过大的图像分为两份", "Split oversized images": "分割过大的图像", + "Auto focal point crop": "自动焦点裁切", "Use BLIP for caption": "使用 BLIP 生成说明文字(自然语言描述)", "Use deepbooru for caption": "使用 deepbooru 生成说明文字(tags)", "Split image threshold": "图像分割阈值", "Split image overlap ratio": "分割图像重叠的比率", + "Focal point face weight": "焦点面部权重", + "Focal point entropy weight": "焦点熵权重", + "Focal point edges weight": "焦点线条权重", + "Create debug image": "生成调试(debug)图片", "Preprocess": "预处理", - "Train an embedding; must specify a directory with a set of 1:1 ratio images": "训练 embedding; 必须指定一组具有 1:1 比例图像的目录", "Train an embedding or Hypernetwork; you must specify a directory with a set of 1:1 ratio images": "训练 embedding 或者 hypernetwork; 必须指定一组具有 1:1 比例图像的目录", - "[wiki]": "[wiki]", + "[wiki]": "[wiki文档]", "Embedding": "Embedding", "Embedding Learning rate": "Embedding 学习率", "Hypernetwork Learning rate": "Hypernetwork 学习率", - "Learning rate": "学习率", "Dataset directory": "数据集目录", "Log directory": "日志目录", "Prompt template file": "提示词模版文件", "Max steps": "最大迭代步数", "Save an image to log directory every N steps, 0 to disable": "每 N 步保存一个图像到日志目录,0 表示禁用", "Save a copy of embedding to log directory every N steps, 0 to disable": "每 N 步将 embedding 的副本保存到日志目录,0 表示禁用", - "Save images with embedding in PNG chunks": "保存图像并在 PNG 文件中嵌入 embedding 文件", - "Read parameters (prompt, etc...) from txt2img tab when making previews": "进行预览时从文生图选项卡中读取参数(提示词等)", + "Save images with embedding in PNG chunks": "保存图像,并在 PNG 图片文件中嵌入 embedding 文件", + "Read parameters (prompt, etc...) from txt2img tab when making previews": "进行预览时,从文生图选项卡中读取参数(提示词等)", "Train Hypernetwork": "训练 Hypernetwork", "Train Embedding": "训练 Embedding", "Create an aesthetic embedding out of any number of images": "从任意数量的图像中创建美术风格 embedding", "Create images embedding": "生成图集 embedding", - "txt2img history": "文生图历史记录", - "img2img history": "图生图历史记录", - "extras history": "后处理历史记录", - "Renew Page": "刷新页面", - "extras": "后处理", - "favorites": "收藏夹", - "custom fold": "自定义文件夹", - "Load": "载入", + "Favorites": "收藏夹(已保存)", + "Others": "其他", "Images directory": "图像目录", - "Prev batch": "上一批", - "Next batch": "下一批", + "Dropdown": "下拉列表", "First Page": "首页", "Prev Page": "上一页", "Page Index": "页数", "Next Page": "下一页", "End Page": "尾页", - "number of images to delete consecutively next": "接下来要连续删除的图像数", + "delete next": "删除下一张", "Delete": "删除", + "sort by": "排序方式", + "path name": "路径名", + "date": "日期", + "keyword": "搜索", "Generate Info": "生成信息", "File Name": "文件名", - "Collect": "收藏", - "Refresh page": "刷新页面", - "Date to": "日期至", + "Move to favorites": "移动到收藏夹(保存)", + "Renew Page": "刷新页面", "Number": "数量", "set_index": "设置索引", + "load_switch": "载入开关", + "turn_page_switch": "翻页开关", "Checkbox": "勾选框", "Apply settings": "保存设置", - "Saving images/grids": "保存图像/概览图", + "Saving images/grids": "保存图像/宫格图", "Always save all generated images": "始终保存所有生成的图像", "File format for images": "图像的文件格式", "Images filename pattern": "图像文件名格式", - "Always save all generated image grids": "始终保存所有生成的概览图", - "File format for grids": "概览图的文件格式", - "Add extended info (seed, prompt) to filename when saving grid": "保存概览时将扩展信息(随机种子、提示词)添加到文件名", - "Do not save grids consisting of one picture": "只有一张图片时不要保存概览图", - "Prevent empty spots in grid (when set to autodetect)": "(在自动检测时)防止概览图中出现空位", - "Grid row count; use -1 for autodetect and 0 for it to be same as batch size": "概览行数; 使用 -1 进行自动检测,使用 0 使其与批量大小相同", - "Save text information about generation parameters as chunks to png files": "将有关生成参数的文本信息作为块保存到 png 文件中", - "Create a text file next to every image with generation parameters.": "保存图像时在每个图像旁边创建一个文本文件储存生成参数", + "Add number to filename when saving": "储存的时候在文件名里添加数字", + "Always save all generated image grids": "始终保存所有生成的宫格图", + "File format for grids": "宫格图的文件格式", + "Add extended info (seed, prompt) to filename when saving grid": "保存宫格图时,将扩展信息(随机种子、提示词)添加到文件名", + "Do not save grids consisting of one picture": "只有一张图片时不要保存宫格图", + "Prevent empty spots in grid (when set to autodetect)": "(启用自动检测时)防止宫格图中出现空位", + "Grid row count; use -1 for autodetect and 0 for it to be same as batch size": "宫格图行数; 使用 -1 进行自动检测,使用 0 使其与每批数量相同", + "Save text information about generation parameters as chunks to png files": "将有关生成参数的文本信息,作为块保存到 png 图片文件中", + "Create a text file next to every image with generation parameters.": "保存图像时,在每个图像旁边创建一个文本文件储存生成参数", "Save a copy of image before doing face restoration.": "在进行面部修复之前保存图像副本", + "Save a copy of image before applying highres fix.": "在做高分辨率修复之前保存初始图像副本", + "Save a copy of image before applying color correction to img2img results": "在对图生图结果应用颜色校正之前保存图像副本", |