Loading modules/inpaint/base.py +4 −2 Original line number Diff line number Diff line Loading @@ -270,6 +270,7 @@ class AOTInpainter(InpainterBase): if param_key == 'device': param_device = self.params['device']['select'] if self.model is not None: self.model.to(param_device) self.device = param_device Loading Loading @@ -386,6 +387,7 @@ class LamaInpainterMPE(InpainterBase): if param_key == 'device': param_device = self.params['device']['select'] if self.model is not None: self.model.to(param_device) self.device = param_device Loading Loading
modules/inpaint/base.py +4 −2 Original line number Diff line number Diff line Loading @@ -270,6 +270,7 @@ class AOTInpainter(InpainterBase): if param_key == 'device': param_device = self.params['device']['select'] if self.model is not None: self.model.to(param_device) self.device = param_device Loading Loading @@ -386,6 +387,7 @@ class LamaInpainterMPE(InpainterBase): if param_key == 'device': param_device = self.params['device']['select'] if self.model is not None: self.model.to(param_device) self.device = param_device Loading