Comments (10)
Could it be a problem with the latest version of xformers?
possibly
Ok, I will downgrade the xformers version and try again, thank you for your reply.
from batch-face-swap.
Just setting
p.batch_size
to 1 seems to be working.Can you please try it out?
p.batch_size = 1 p.n_iter = 0 p.init_images[0] = all_images[0]batch-face-swap/scripts/batch_face_swap.py
Lines 930 to 932 in fc79eef
python: 3.10.6 • torch: 2.0.0+cu118 • xformers: 0.0.19
it works!thanks!
from batch-face-swap.
I just updated to the latest A1111, updated torch and xformers and it's working. I don't know what could be causing your issue.
from batch-face-swap.
I just updated to the latest A1111, updated torch and xformers and it's working. I don't know what could be causing your issue.
Your xformers 0.0.17?
from batch-face-swap.
Your xformers 0.0.17?
from batch-face-swap.
Your xformers 0.0.17?
Could it be a problem with the latest version of xformers?
from batch-face-swap.
Could it be a problem with the latest version of xformers?
possibly
from batch-face-swap.
I just tested img2img tab and I'm getting the same error, I'll look into it.
from batch-face-swap.
Alright, looks like these lines are causing the issue
batch-face-swap/scripts/batch_face_swap.py
Lines 930 to 932 in fc79eef
Removing them works but then it generates 2x as many images in img2img
The reason is because I'm already generating the faces here
batch-face-swap/scripts/batch_face_swap.py
Lines 321 to 340 in fc79eef
but then it continues and does the regular img2img. I need to somehow stop it after it's done with the faces.
from batch-face-swap.
Just setting p.batch_size
to 1 seems to be working.
Can you please try it out?
p.batch_size = 1
p.n_iter = 0
p.init_images[0] = all_images[0]
batch-face-swap/scripts/batch_face_swap.py
Lines 930 to 932 in fc79eef
from batch-face-swap.
Related Issues (20)
- [Feature Request] Roop Funtionality
- [BUG] "Existing masks" feature not working
- Inverted mask is not working HOT 1
- ValueError: height and width must be > 0
- Could not find upscaler?
- Seed in batches not incremented
- AttributeError: 'NoneType' object has no attribute 'mode' HOT 1
- [REQUEST] Script version
- Error running postprocess HOT 1
- [Bug] Stuck web-ui `run.bat` at `Installing requirements` step
- It doesnt work for a1111 1.5.1 HOT 8
- ModuleNotFoundError: No module named 'bfs_utils'
- Different prompts, same faces. HOT 2
- Face Mask Only
- Installation errors
- TypeError: cannot unpack non-iterable int object HOT 1
- Error when attempting to image split
- Doesnt seem to work with Roop anymore
- Compatibility with Dynamic Prompts?
- AttributeError: 'NoneType' object has no attribute 'strip'
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 batch-face-swap.