Comments (3)
│ /usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.py:1098 in download │
│ │
│ 1095 │ │ ignore_patterns = None │
│ 1096 │ │ │
│ 1097 │ │ if not local_files_only: │
│ ❱ 1098 │ │ │ config_file = hf_hub_download( │
│ 1099 │ │ │ │ pretrained_model_name, │
│ 1100 │ │ │ │ cls.config_name, │
│ 1101 │ │ │ │ cache_dir=cache_dir, │
│ │
│ /usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py:112 in _inner_fn │
│ │
│ 109 │ │ │ kwargs.items(), # Kwargs values │
│ 110 │ │ ): │
│ 111 │ │ │ if arg_name in ["repo_id", "from_id", "to_id"]: │
│ ❱ 112 │ │ │ │ validate_repo_id(arg_value) │
│ 113 │ │ │ │
│ 114 │ │ │ elif arg_name == "token" and arg_value is not None: │
│ 115 │ │ │ │ has_token = True │
│ │
│ /usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/validators.py:160 in │
│ validate_repo_id │
│ │
│ 157 │ │ raise HFValidationError(f"Repo id must be a string, not {type(repo_id)}: '{repo │
│ 158 │ │
│ 159 │ if repo_id.count("/") > 1: │
│ ❱ 160 │ │ raise HFValidationError( │
│ 161 │ │ │ "Repo id must be in the form 'repo_name' or 'namespace/repo_name':" │
│ 162 │ │ │ f" '{repo_id}'. Use repo_type
argument if needed." │
│ 163 │ │ ) │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name':
'/content/drive/MyDrive/stable_diffusion_weights/zwx/800'. Use repo_type
argument if needed.
from dreambooth-tutorial.
Realizei alguns testes e, para mim, o erro não é apresentado, porém, as imagens ficam com uma qualidade péssima.
Irei separar um tempo para tentar resolver.
Por agora, recomendo você dar uma olhada no exemplo original
from dreambooth-tutorial.
Realizei alguns testes hoje, e aqui vão alguns insights sobre os problemas
ERRO (HFValidationError)
Nos meus testes, não obtive esse erro, contudo, tenho algumas ideias de o que você pode fazer
- garanta que todas as seções foram rodadas na ordem
- garanta que você tenha dado as permissões de acesso ao google drive
- garanta que as outras seções rodaram sem nenhum erro
- verifique se existe a pasta
MyDrive/stable_diffusion_weights/zwx/800
na barra lateral esquerda no google colab. Caso a pasta não tenha sido criada tente mudar a versão do xformers para a 0.0.18 ou anterior, para isso basta ir na seção em que está escrito🏃♂️ Rode esta célula para instalar as dependencias necessárias
, e mudar a ultima linha de%pip install -q accelerate transformers ftfy bitsandbytes==0.35.0 gradio natsort safetensors xformers
para%pip install -q accelerate transformers ftfy bitsandbytes==0.35.0 gradio natsort safetensors xformers==0.0.18
- tente limpar as seções ativas no google colab (vá em
runtime > manage sessions
) e depois rodar todas as seções novamente
Qualidade das imagens
Nos testes, percebi que as imagens estavam bem ruins, mesmo mudando algumas versões e utilizando esse script. Acredito que isso melhorará na próxima versão do xformers .
Para isso, tenho duas sugestões:
- Esperar a próxima versão estável do xformers. Caso você esteja usando o script antes de ser atualizado, para colocar a nova versão do xformers basta ir na seção em que está escrito
🏃♂️ Rode esta célula para instalar as dependencias necessárias
, e mudar a ultima linha de%pip install -q accelerate transformers ftfy bitsandbytes==0.35.0 gradio natsort safetensors xformers
para%pip install -q accelerate transformers ftfy bitsandbytes==0.35.0 gradio natsort safetensors xformers==versao_nova
. Para ver as versões do xformers clique aqui - Utilizar outro modelo, acredito que o modelo mais chamativo hoje é o midjourney
Continuarei nessa saga, tentando melhorar o script, vou tentar usar algumas configurações diferentes e venho com atualizações caso tenha alguma melhora.
Espero ter ajudado @AluiMaker
from dreambooth-tutorial.
Related Issues (20)
- Aceitar os termos no huggingface HOT 1
- Erro : The following values were not passed to `accelerate launch` and had defaults used instead HOT 3
- Inference error HOT 9
- Run to generate a grid of preview images from the last saved weights. HOT 3
- [ERRO] Run to generate a grid of preview images from the last saved weights. HOT 6
- [ERRO] Estou tendo problema ao dar launch no dreambooth para começar a treinar a IA com meu rosto. HOT 6
- ERRO CRIAÇÃO DA PASTA 800 HOT 2
- Dessa vez esta dando erro em tudo HOT 12
- error HOT 1
- Colab e GPU HOT 2
- problema com o path do modelo HOT 2
- (usando o GoogleDrive) Não é um problema, é uma dica!
- Erro na etapa 12, na aba Inference HOT 4
- Accept and confirm with huggingface website HOT 1
- Uma duvida com o prompt negativo HOT 1
- Erro no inference e para gerar preview das imagens HOT 5
- Problema ao criar pasta HOT 4
- Resultados em qualidade baixa entre versões HOT 8
- mateus HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dreambooth-tutorial.