From db88d71a6b4e2a0f427f34c5f8d9411dfffb0f70 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Thu, 15 Jun 2023 00:36:35 +0900 Subject: [PATCH] Fix typo in trainer.py offical -> official --- gligen/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gligen/trainer.py b/gligen/trainer.py index 0f82218f..9f295e53 100644 --- a/gligen/trainer.py +++ b/gligen/trainer.py @@ -60,7 +60,7 @@ def __call__(self, images, real, masked_real, captions, seen): def read_official_ckpt(ckpt_path): - "Read offical pretrained SD ckpt and convert into my style" + "Read official pretrained SD ckpt and convert into my style" state_dict = torch.load(ckpt_path, map_location="cpu")["state_dict"] out = {} out["model"] = {}