TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.55k stars 1.31k forks source link

Error test trained model but generate gradio interface #1508

Open billyjoker opened 1 year ago

billyjoker commented 1 year ago

Error setting up CodeFormer: Traceback (most recent call last): File "/content/gdrive/MyDrive/Fast-Dreambooth/sd_db/stable-diffusion-webui/modules/codeformer_model.py", line 38, in setup_model from facelib.utils.face_restoration_helper import FaceRestoreHelper File "/content/gdrive/MyDrive/Fast-Dreambooth/sd_db/stablediffusion/src/codeformer/facelib/utils/face_restoration_helper.py", line 7, in from facelib.detection import init_detection_model File "/content/gdrive/MyDrive/Fast-Dreambooth/sd_db/stablediffusion/src/codeformer/facelib/detection/init.py", line 10, in from .retinaface.retinaface import RetinaFace File "/content/gdrive/MyDrive/Fast-Dreambooth/sd_db/stablediffusion/src/codeformer/facelib/detection/retinaface/retinaface.py", line 14, in from basicsr.utils.misc import get_device ImportError: cannot import name 'get_device' from 'basicsr.utils.misc' (/usr/local/lib/python3.8/dist-packages/basicsr/utils/misc.py)

TheLastBen commented 1 year ago

that's just a warning, I'll fix it later