Comments (2)
me too, can't change width and height
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 50/50 [00:08<00:00, 5.75it/s]
0%| | 0/35 [00:04<?, ?it/s]
Traceback (most recent call last):
File "/mnt/private/fuhuan/projects/X-Adapter/inference.py", line 124, in <module>
run_inference(args)
File "/mnt/private/fuhuan/projects/X-Adapter/inference.py", line 117, in run_inference
inference_lora(args)
File "/mnt/private/fuhuan/projects/X-Adapter/scripts/inference_lora.py", line 239, in inference_lora
pipe(prompt=prompt, prompt_sd1_5=prompt_sd1_5, negative_prompt=negative_prompt, width=768,
File "/root/miniconda3/envs/xadapter/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/mnt/private/fuhuan/projects/X-Adapter/pipeline/pipeline_sd_xl_adapter.py", line 987, in __call__
noise_pred = self.unet(
File "/root/miniconda3/envs/xadapter/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/root/miniconda3/envs/xadapter/lib/python3.10/site-packages/accelerate/hooks.py", line 165, in new_forward
output = old_forward(*args, **kwargs)
File "/mnt/private/fuhuan/projects/X-Adapter/model/unet_adapter.py", line 1019, in forward
sample += up_block_additional_residual.pop(0)
RuntimeError: The size of tensor a (24) must match the size of tensor b (32) at non-singleton dimension 2
from x-adapter.
i fixed in #20, Try updating my code.
from x-adapter.
Related Issues (20)
- IndexError: index 51 is out of bounds for dimension 0 with size 51 HOT 3
- Subject: Feature Request: Support for Loading Local .safetensors Files for SD1.5 and SDXL Models HOT 11
- Any Automatic1111 Extension? HOT 6
- Other controlnets? HOT 1
- How to support multi contorlnet?
- ComfyUI Implementation HOT 2
- Convert the Lora version? HOT 1
- Is SD15 base pass to T0 manatory? HOT 2
- Implementation
- [Bug] Adapter cannot be applied directly as described on paper HOT 12
- Can X-Adapter use with gligen?
- where can I GET X_Adapter_v1.bin? HOT 2
- Image2Image, Inpaint pipelines? HOT 1
- Some inconsistencies
- Please use load_lora_weights
- IndexError: index 21 is out of bounds for dimension 0 with size 21 HOT 1
- How would control guidance end affect the adapter parameters HOT 2
- Is there any plans to release the training code? HOT 5
- Please tell me whether you plan to provide your training images (Laion-high-resolution containing 300k images) ? HOT 3
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 x-adapter.