From 8544e219b087afd3aa883921d0c1adbabb003261 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Sun, 15 Jan 2023 17:29:42 +0900 Subject: [PATCH] Fix typos --- README-ja.md | 2 +- README.md | 4 ++-- gen_img_diffusers.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README-ja.md b/README-ja.md index 95327b369..f11069604 100644 --- a/README-ja.md +++ b/README-ja.md @@ -99,7 +99,7 @@ accelerate configの質問には以下のように答えてください。(bf1 ``` ※場合によって ``ValueError: fp16 mixed precision requires a GPU`` というエラーが出ることがあるようです。この場合、6番目の質問( -``What GPU(s) (by id) should be used for training on this machine as a comma-seperated list? [all]:``)に「0」と答えてください。(id `0`のGPUが使われます。) +``What GPU(s) (by id) should be used for training on this machine as a comma-separated list? [all]:``)に「0」と答えてください。(id `0`のGPUが使われます。) ## アップグレード diff --git a/README.md b/README.md index 3f3ecf797..5f1b15ced 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,8 @@ Answers to accelerate config: - fp16 ``` -note: Some user reports ``ValueError: fp16 mixed precision requires a GPU`` is occured in training. In this case, answer `0` for the 6th question: -``What GPU(s) (by id) should be used for training on this machine as a comma-seperated list? [all]:`` +note: Some user reports ``ValueError: fp16 mixed precision requires a GPU`` is occurred in training. In this case, answer `0` for the 6th question: +``What GPU(s) (by id) should be used for training on this machine as a comma-separated list? [all]:`` (Single GPU with id `0` will be used.) diff --git a/gen_img_diffusers.py b/gen_img_diffusers.py index 4edfe0b26..7b4ef2e56 100644 --- a/gen_img_diffusers.py +++ b/gen_img_diffusers.py @@ -2518,9 +2518,9 @@ def process_batch(batch, highres_fix, highres_1st=False): parser.add_argument("--bf16", action='store_true', help='use bfloat16 / bfloat16を指定し省メモリ化する') parser.add_argument("--xformers", action='store_true', help='use xformers / xformersを使用し高速化する') parser.add_argument("--diffusers_xformers", action='store_true', - help='use xformers by diffusers (Hypernetworks doen\'t work) / Diffusersでxformersを使用する(Hypernetwork利用不可)') + help='use xformers by diffusers (Hypernetworks doesn\'t work) / Diffusersでxformersを使用する(Hypernetwork利用不可)') parser.add_argument("--opt_channels_last", action='store_true', - help='set channels last option to model / モデルにchannles lastを指定し最適化する') + help='set channels last option to model / モデルにchannels lastを指定し最適化する') parser.add_argument("--network_module", type=str, default=None, nargs='*', help='Hypernetwork module to use / Hypernetworkを使う時そのモジュール名') parser.add_argument("--network_weights", type=str, default=None, nargs='*',