Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

설치버전 인스톨 후 실행이 안 됩니다 #3

Open
callace opened this issue Oct 25, 2023 · 0 comments
Open

설치버전 인스톨 후 실행이 안 됩니다 #3

callace opened this issue Oct 25, 2023 · 0 comments

Comments

@callace
Copy link

callace commented Oct 25, 2023

brabeautiful_realistic colab 설치버전으로 설치를 완료한 후,
안내에 따라 run.ipynb 를 구글드라이브에 올리고 코랩으로 실행했는데요,
아래와 같은 에러메시지가 뜨면서 열리지 않습니다.
확인 부탁드립니다.

fatal: No names found, cannot describe anything.
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Version: 1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Fetching updates for K-diffusion...
Checking out commit for K-diffusion with hash: ab527a9a6d347f364e3d185ba6d714e22d80cb3c...
error: Your local changes to the following files would be overwritten by checkout:
convert_for_inference.py
sample.py
sample_clip_guided.py
train.py
Please commit your changes or stash them before you switch branches.
Aborting
Couldn't checkout commit ab527a9a6d347f364e3d185ba6d714e22d80cb3c for K-diffusion, attempting autofix...
Fetching all contents for K-diffusion
error: unknown option `refetch'
usage: git fetch [] [ [...]]
or: git fetch []
or: git fetch --multiple [] [( | )...]
or: git fetch --all []

-v, --verbose         be more verbose
-q, --quiet           be more quiet
--all                 fetch from all remotes
--set-upstream        set upstream for git pull/fetch
-a, --append          append to .git/FETCH_HEAD instead of overwriting
--atomic              use atomic transaction to update references
--upload-pack <path>  path to upload pack on remote end
-f, --force           force overwrite of local reference
-m, --multiple        fetch from multiple remotes
-t, --tags            fetch all tags and associated objects
-n                    do not fetch all tags (--no-tags)
-j, --jobs <n>        number of submodules fetched in parallel
--prefetch            modify the refspec to place all refs within refs/prefetch/
-p, --prune           prune remote-tracking branches no longer on remote
-P, --prune-tags      prune local tags no longer on remote and clobber changed tags
--recurse-submodules[=<on-demand>]
                      control recursive fetching of submodules
--dry-run             dry run
--write-fetch-head    write fetched references to the FETCH_HEAD file
-k, --keep            keep downloaded pack
-u, --update-head-ok  allow updating of HEAD ref
--progress            force progress reporting
--depth <depth>       deepen history of shallow clone
--shallow-since <time>
                      deepen history of shallow repository based on time
--shallow-exclude <revision>
                      deepen history of shallow clone, excluding rev
--deepen <n>          deepen history of shallow clone
--unshallow           convert to a complete repository
--update-shallow      accept refs that update .git/shallow
--refmap <refmap>     specify fetch refmap
-o, --server-option <server-specific>
                      option to transmit
-4, --ipv4            use IPv4 addresses only
-6, --ipv6            use IPv6 addresses only
--negotiation-tip <revision>
                      report that we have only objects reachable from this object
--negotiate-only      do not fetch a packfile; instead, print ancestors of negotiation tips
--filter <args>       object filtering
--auto-maintenance    run 'maintenance --auto' after fetching
--auto-gc             run 'maintenance --auto' after fetching
--show-forced-updates
                      check for forced-updates on all updated branches
--write-commit-graph  write the commit-graph after fetching
--stdin               accept refspecs from stdin

Traceback (most recent call last):
File "/content/drive/MyDrive/install/launch.py", line 48, in
main()
File "/content/drive/MyDrive/install/launch.py", line 39, in main
prepare_environment()
File "/content/drive/MyDrive/install/modules/launch_utils.py", line 382, in prepare_environment
git_clone(k_diffusion_repo, repo_dir('k-diffusion'), "K-diffusion", k_diffusion_commit_hash)
File "/content/drive/MyDrive/install/modules/launch_utils.py", line 181, in git_clone
run_git(dir, name, f'checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
File "/content/drive/MyDrive/install/modules/launch_utils.py", line 160, in run_git
git_fix_workspace(dir, name)
File "/content/drive/MyDrive/install/modules/launch_utils.py", line 147, in git_fix_workspace
run(f'"{git}" -C "{dir}" fetch --refetch --no-auto-gc', f"Fetching all contents for {name}", f"Couldn't fetch {name}", live=True)
File "/content/drive/MyDrive/install/modules/launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't fetch K-diffusion.
Command: "git" -C "/content/drive/MyDrive/install/repositories/k-diffusion" fetch --refetch --no-auto-gc
Error code: 129

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

No branches or pull requests

1 participant