Code Monkey home page Code Monkey logo

Comments (7)

ozcelikfu avatar ozcelikfu commented on August 26, 2024

@cnwangy Well, I never encountered any results like these but it seems the diffusion model doesn't seem to working properly, have you changed any parameters in the versatilediffusion_reconstruct_images.py like strength or mixing?

from brain-diffuser.

MRLQ-Q avatar MRLQ-Q commented on August 26, 2024

I also followed the steps you mentioned for training, and the training results were the same as his, very blurry, like partial screenshots of the original image.

from brain-diffuser.

cnwangy avatar cnwangy commented on August 26, 2024

I think I have solved the problem. It is the version of the transformers lib. When I use v4.33.2 the extracted clipvision features are different from v4.19.2. Using the latter one I can replicate your results. Thanks a lot!

from brain-diffuser.

MRLQ-Q avatar MRLQ-Q commented on August 26, 2024

I think I have solved the problem. It is the version of the transformers lib. When I use v4.33.2 the extracted clipvision features are different from v4.19.2. Using the latter one I can replicate your results. Thanks a lot!

May I ask how you solved it and how to use v4.33.2? Can you provide me with a detailed explanation? Because I am a novice, please forgive me. Thank you.

from brain-diffuser.

cnwangy avatar cnwangy commented on August 26, 2024

I think I have solved the problem. It is the version of the transformers lib. When I use v4.33.2 the extracted clipvision features are different from v4.19.2. Using the latter one I can replicate your results. Thanks a lot!

May I ask how you solved it and how to use v4.33.2? Can you provide me with a detailed explanation? Because I am a novice, please forgive me. Thank you.

You can just follow the README to use transformers==v4.19.2 as in the environment.yaml. Do not upgrade to v4.33.2.

from brain-diffuser.

MRLQ-Q avatar MRLQ-Q commented on August 26, 2024

I think I have solved the problem. It is the version of the transformers lib. When I use v4.33.2 the extracted clipvision features are different from v4.19.2. Using the latter one I can replicate your results. Thanks a lot!

May I ask how you solved it and how to use v4.33.2? Can you provide me with a detailed explanation? Because I am a novice, please forgive me. Thank you.

You can just follow the README to use transformers==v4.19.2 as in the environment.yaml. Do not upgrade to v4.33.2.

Thank you very much for your guidance. I have successfully reproduced it.

from brain-diffuser.

happylufei avatar happylufei commented on August 26, 2024

I think I have solved the problem. It is the version of the transformers lib. When I use v4.33.2 the extracted clipvision features are different from v4.19.2. Using the latter one I can replicate your results. Thanks a lot!

May I ask how you solved it and how to use v4.33.2? Can you provide me with a detailed explanation? Because I am a novice, please forgive me. Thank you.

You can just follow the README to use transformers==v4.19.2 as in the environment.yaml. Do not upgrade to v4.33.2.

Thank you very much for the solution you provided. However, I encountered the following error after downgrading the transforms library.
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /openai/clip-vit-large-patch14/resolve/main/vocab.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1af21956d0>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: 3df39c48-06cc-45e7-8096-22b9ca4c9f91)')' thrown while requesting HEAD https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/**vocab.json**
I've tried to resolve it, but it seems that Hugging Face no longer provides older versions of the models. I'm not sure if you've encountered the same issue or if you have any suggestions for a solution. Once again, thank you for your help

from brain-diffuser.

Related Issues (14)

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.