Coder Social home page Coder Social logo

Comments (12)

acheong08 avatar acheong08 commented on May 18, 2024

The issue is that the link has been accessed too many times. Google disables command line download after ~200 downloads (not by you but in total) of the same file. This is why huggingface is so popular right now. You can send me the link and I'll try to get it onto huggingface

from diffusion-colabui.

RayZ3R0 avatar RayZ3R0 commented on May 18, 2024

No pretty sure that's not it, The file was literally just uploaded and never used before. I can upload to huggingface as well don't worry, but it'd be better if drive worked since I use the fast-Dreambooth colab and it auto saves to drive

from diffusion-colabui.

RayZ3R0 avatar RayZ3R0 commented on May 18, 2024

Also, I'm getting this error after uploading to huggingface and using the link

Loading weights [e3b0c442] from /content/stable-diffusion-webui/models/Stable-diffusion/kuru.ckpt
Error verifying pickled file from /content/stable-diffusion-webui/models/Stable-diffusion/kuru.ckpt:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/safe.py", line 83, in check_pt
    with zipfile.ZipFile(filename) as z:
  File "/usr/lib/python3.7/zipfile.py", line 1258, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/safe.py", line 131, in load_with_extra
    check_pt(filename, extra_handler)
  File "/content/stable-diffusion-webui/modules/safe.py", line 98, in check_pt
    unpickler.load()
_pickle.UnpicklingError: invalid load key, '<'.

-----> !!!! The file is most likely corrupted !!!! <-----
You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.


Traceback (most recent call last):
  File "launch.py", line 251, in <module>
    start()
  File "launch.py", line 246, in start
    webui.webui()
  File "/content/stable-diffusion-webui/webui.py", line 150, in webui
    initialize()
  File "/content/stable-diffusion-webui/webui.py", line 85, in initialize
    modules.sd_models.load_model()
  File "/content/stable-diffusion-webui/modules/sd_models.py", line 248, in load_model
    load_model_weights(sd_model, checkpoint_info)
  File "/content/stable-diffusion-webui/modules/sd_models.py", line 177, in load_model_weights
    if "global_step" in pl_sd:
TypeError: argument of type 'NoneType' is not iterable

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 18, 2024

It says you're using the wrong link. It has to be a direct download link ending in .ckpt

from diffusion-colabui.

RayZ3R0 avatar RayZ3R0 commented on May 18, 2024

It is, here's the one I used https://huggingface.co/Z3R069/kuru-diffusion/blob/main/Tokisaki.ckpt

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 18, 2024

It's not a direct download link. It should be https://huggingface.co/Z3R069/kuru-diffusion/resolve/main/Tokisaki.ckpt

from diffusion-colabui.

RayZ3R0 avatar RayZ3R0 commented on May 18, 2024

ohh, thanks

from diffusion-colabui.

RayZ3R0 avatar RayZ3R0 commented on May 18, 2024

Would be nice if we could use private repos as well, probably with a huggingface token ig?

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 18, 2024

Would be nice if we could use private repos as well, probably with a huggingface token ig?

You can change the token used manually in the code. I don't want to include it in the interface as there are idiots who won't understand and mistake it as a requirement. I am already using a default token.

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 18, 2024

I could make it default and allow edit

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 18, 2024

Done

from diffusion-colabui.

RayZ3R0 avatar RayZ3R0 commented on May 18, 2024

ok, thanks

from diffusion-colabui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.