Giter VIP home page Giter VIP logo

Comments (2)

itasky avatar itasky commented on August 10, 2024

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.

github-actions avatar github-actions commented on August 10, 2024

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)

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.