Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Codeformer error #21

Closed
possom2009 opened this issue Nov 9, 2022 · 3 comments
Closed

Codeformer error #21

possom2009 opened this issue Nov 9, 2022 · 3 comments

Comments

@possom2009
Copy link

possom2009 commented Nov 9, 2022

Edit: Deleted repositories from g drive solved the problem.

I'm not sure what the problem is:

/content/drive/MyDrive/AI/stable-diffusion-webui
Python 3.7.15 (default, Oct 12 2022, 19:14:55)
[GCC 7.5.0]
Commit hash: fff7808311bdf414e8c5263a4383d170dc31709e
Installing gfpgan
Installing clip
Cloning K-diffusion into repositories/k-diffusion...
Fetching updates for CodeFormer...
Checking out commit for CodeFormer with hash: c5b4593074ba6214284d6acd5f1719b6c5d739af...
Traceback (most recent call last):
File "launch.py", line 251, in
prepare_enviroment()
File "launch.py", line 203, in prepare_enviroment
git_clone(codeformer_repo, repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
File "launch.py", line 82, in git_clone
run(f'"{git}" -C {dir} checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}")
File "launch.py", line 34, in run
raise RuntimeError(message)
RuntimeError: Couldn't checkout commit c5b4593074ba6214284d6acd5f1719b6c5d739af for CodeFormer.
Command: "git" -C repositories/CodeFormer checkout c5b4593074ba6214284d6acd5f1719b6c5d739af
Error code: 128
stdout:
stderr: fatal: reference is not a tree: c5b4593074ba6214284d6acd5f1719b6c5d739af

@acheong08
Copy link
Owner

Have you resolved this?

@acheong08 acheong08 reopened this Nov 9, 2022
@acheong08
Copy link
Owner

Not replicated

@possom2009
Copy link
Author

Not replicated

It was an issue with corrupted files in the repositories folder in gdrive. Fixed by deleting the said files and restarting the process over.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants