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

Can you talk about how to reproduce the code and do data enhancement for small sample classification? #9

Open
201811510210hjx opened this issue Sep 6, 2023 · 3 comments

Comments

@201811510210hjx
Copy link

Hello, I am very interested after reading your paper! Can you tell us how to reproduce your code? I have a problem with the reproduction process: huggingface_hub.utils._headers. LocalTokenNotFoundError: Token is required (token=True), but no token found. You need to provide a token or be logged in to Hugging Face with huggingface-cli login or huggingface_hub.login. See https://huggingface.co/settings/tokens.
Trouble you!

@tsWen0309
Copy link

You can check the answer for #4

@201811510210hjx
Copy link
Author

You can check the answer for #4

Thanks brother, I hope to communicate, I am a newbie, the code does not reproduce, if you succeed, I hope I can ask you

@brandontrabucco
Copy link
Owner

brandontrabucco commented Sep 7, 2023

Hello 201811510210hjx,

Thanks for your interest in DA-Fusion. We are using a Stable Diffusion checkpoint from HuggingFace, which requires you to log in to the huggingface api via the command line before Stable Diffusion can be downloaded.

Run the following in your terminal:

pip install --upgrade huggingface_hub
huggingface-cli login

You will be prompted for your HuggingFace account credentials, and for an access token that you may create for your account by following this guide:
https://huggingface.co/docs/huggingface_hub/quick-start#login

Let me know if any steps in the guide don't work for you!

-Brandon

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

3 participants