Comments (2)
Initializing dreambooth training...
Init dataset!set: 0%| | 0/5 [00:00<?, ?it/s]
Preparing Dataset (Without Caching)
Bucket 0 (512, 512, 0) - Instance Images: 10 | Class Images: 50 | Max Examples/batch: 20
Saving cache!mages...: 100%|██████████████████████████████████████████████████████████| 60/60 [00:00<00:00, 4789.57it/s]
Total Buckets 1 - Instance Images: 10 | Class Images: 50 | Max Examples/batch: 20
Total images / batch: 20, total examples: 20█████████████████████████████████████████| 60/60 [00:00<00:00, 3520.43it/s]
Initializing bucket counter!
wandb: Tracking run with wandb version 0.16.1
wandb: W&B syncing is set to offline
in this directory.
wandb: Run wandb online
or set WANDB_MODE=online to enable cloud syncing.
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 6.01it/s]
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 3.82it/s]
Saving diffusion model: 100%|████████████████████████████████████████████████████████████| 1/1 [00:02<00:00, 2.87s/it]Model name: immobile6 50%|████████████████████████████████ | 2/4 [00:30<00:31, 15.93s/it]
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\loss_plot_100.png
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\ram_plot_100.png
Cleanup log parse.
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 6.13it/s]
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 3.74it/s]
Saving diffusion model: 100%|████████████████████████████████████████████████████████████| 1/1 [00:02<00:00, 2.68s/it]WARNING:dreambooth.train_dreambooth:Exception saving sample. | 0/4 [00:00<?, ?it/s]
Traceback (most recent call last):
File "G:\Automatic1111\sd.webui\webui\extensions\sd_dreambooth_extension\dreambooth\train_dreambooth.py", line 1335, in save_weights
s_image = s_pipeline(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 933, in call
prompt_embeds, negative_prompt_embeds = self.encode_prompt(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 403, in encode_prompt
prompt_embeds = self.text_encoder(text_input_ids.to(device), attention_mask=attention_mask)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 822, in forward
return self.text_model(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 730, in forward
hidden_states = self.embeddings(input_ids=input_ids, position_ids=position_ids)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 227, in forward
inputs_embeds = self.token_embedding(input_ids)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\sparse.py", line 162, in forward
return F.embedding(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\functional.py", line 2233, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
Model name: immobile6
Log file updated, re-parsing: G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\dreambooth\events.out.tfevents.1704660012.DESKTOP-OR3CMG1.27892.2
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\loss_plot_200.png
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\ram_plot_200.png
Cleanup log parse.
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 6.08it/s]
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 3.89it/s]
Saving diffusion model: 100%|████████████████████████████████████████████████████████████| 1/1 [00:02<00:00, 2.57s/it]WARNING:dreambooth.train_dreambooth:Exception saving sample. | 0/4 [00:00<?, ?it/s]
Traceback (most recent call last):
File "G:\Automatic1111\sd.webui\webui\extensions\sd_dreambooth_extension\dreambooth\train_dreambooth.py", line 1335, in save_weights
s_image = s_pipeline(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 933, in call
prompt_embeds, negative_prompt_embeds = self.encode_prompt(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 403, in encode_prompt
prompt_embeds = self.text_encoder(text_input_ids.to(device), attention_mask=attention_mask)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 822, in forward
return self.text_model(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 730, in forward
hidden_states = self.embeddings(input_ids=input_ids, position_ids=position_ids)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 227, in forward
inputs_embeds = self.token_embedding(input_ids)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\sparse.py", line 162, in forward
return F.embedding(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\functional.py", line 2233, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
Model name: immobile6
Log file updated, re-parsing: G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\dreambooth\events.out.tfevents.1704660012.DESKTOP-OR3CMG1.27892.2
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\loss_plot_300.png
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\ram_plot_300.png
Cleanup log parse.
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 5.92it/s]
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:02<00:00, 3.40it/s]
Saving diffusion model: 100%|████████████████████████████████████████████████████████████| 1/1 [00:02<00:00, 2.93s/it]WARNING:dreambooth.train_dreambooth:Exception saving sample. | 0/4 [00:00<?, ?it/s]
Traceback (most recent call last):
File "G:\Automatic1111\sd.webui\webui\extensions\sd_dreambooth_extension\dreambooth\train_dreambooth.py", line 1335, in save_weights
s_image = s_pipeline(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 933, in call
prompt_embeds, negative_prompt_embeds = self.encode_prompt(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 403, in encode_prompt
prompt_embeds = self.text_encoder(text_input_ids.to(device), attention_mask=attention_mask)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 822, in forward
return self.text_model(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 730, in forward
hidden_states = self.embeddings(input_ids=input_ids, position_ids=position_ids)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\clip\modeling_clip.py", line 227, in forward
inputs_embeds = self.token_embedding(input_ids)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\sparse.py", line 162, in forward
return F.embedding(
File "C:\Users\manue\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\functional.py", line 2233, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
Model name: immobile6
Log file updated, re-parsing: G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\dreambooth\events.out.tfevents.1704660012.DESKTOP-OR3CMG1.27892.2
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\loss_plot_336.png
Saving G:\Automatic1111\sd.webui\webui\models\dreambooth\immobile6\logging\ram_plot_336.png
Cleanup log parse.
Cleanup completed. | 0/4 [00:00<?, ?it/s]
wandb:
wandb:
wandb: Run history:
wandb: epoch_loss ▁▂▅▂▆▁▄█▄▅▂▄▂▄█▂▇▂▅▁▆█▃▆▂▄▁▅▇▂▆▁▄▁▂▆▂▅▂▆
wandb: inst_loss ▁▃▁▁▆▃▁▂▁▁▃▂▂▁▄▆▄▅▁▄▂▄▄▄▁▁▂▃▁▄▁▂▄▁▁▆▂▃█▁
wandb: loss ▁▃▁▁▆▃▁▂▁▁▃▂▂▁▄▆▄▅▁▄▂▄▄▄▁▁▂▃▁▄▁▂▄▁▁▆▂▃█▁
wandb: lr ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
wandb: vram ▁▁▁▁▁▁▁▁▁▁▁▁████████████████████████████
wandb:
wandb: Run summary:
wandb: epoch_loss 0.92403
wandb: inst_loss 0.03606
wandb: loss 0.03606
wandb: lr 0.0
wandb: vram 18.1
wandb:
wandb: You can sync this run to the cloud by running:
wandb: wandb sync G:\Automatic1111\sd.webui\webui\wandb\offline-run-20240107_214012-i7l96qm3
wandb: Find logs at: .\wandb\offline-run-20240107_214012-i7l96qm3\logs
Steps: 13%|▌ | 336/2600 [02:42<18:16, 2.06it/s, inst_loss=0.0361, loss=0.0361, lr=1e-6, prior_loss=None, vram=18.1]
Duration: 00:02:56
Duration: 00:02:57
from sd_dreambooth_extension.
This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days
from sd_dreambooth_extension.
Related Issues (20)
- 'Training Parameters' lost HOT 1
- Lora appears to be created during training but once complete it doesn't produce expected results[Bug]: HOT 13
- [Bug]: Can't create model using trained & generated model using dreambooth. HOT 3
- [Bug]: Exception training model: 'Cannot copy out of meta tensor; no data!'. HOT 2
- [Bug]: HOT 1
- [Bug]: The deprecation tuple ('LoRAAttnProcessor2_0', '0.26.0', 'Make sure use AttnProcessor2_0 instead by settingLoRA layers to `self.{to_q,to_k,to_v,to_out[0]}.lora_layer` respectively. This will be done automatically when using `LoraLoaderMixin.load_lora_weights`') should be removed since diffusers' version 0.26.1 is >= 0.26.0 HOT 4
- [Bug]: Completely unable to train any LORA with CUDA out of memory error HOT 2
- RuntimeError: Expected query, key, and value to have the same dtype, but got query.dtype: c10::Half key.dtype: float and value.dtype: float instead. HOT 9
- [Bug]: HOT 1
- [Bug]: OSError: Can't load tokenizer for 'laion/CLIP-ViT-bigG-14-laion2B-39B-b160k'. HOT 2
- [Bug]: TypeError: intercept_args() got an unexpected keyword argument 'multiprocessing_context' HOT 1
- Error al cargar sd_dreambooth_extension en Windows 10: 'LoRAAttnProcessor2_0' no definido HOT 1
- [Bug]: Dreambooth (input tab) not showing correctly HOT 10
- [Bug]: Exception training model: 'type object 'LoraLoaderMixin' has no attribute '_modify_text_encoder''. HOT 4
- [Bug]: AttributeError: 'NoneType' object has no attribute 'unscale_grads' HOT 1
- [Bug]: Unable to further train using previously trained ckpt in dreambooth. HOT 1
- [Bug]: Dreambooth can not start training HOT 3
- AttributeError: module 'jax.random' has no attribute 'KeyArray'[Bug]: HOT 1
- [Bug]: Fast api of concepts don't work HOT 2
- [Bug]: AttributeError: 'NoneType' object has no attribute 'keys' 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 sd_dreambooth_extension.