Comments (2)
Maybe this error:
Error running postprocess_batch: /Users/jimmygunawan/stable-diffusion-webui/extensions/sd-webui-roop/scripts/faceswap.py
Traceback (most recent call last):
File "/Users/jimmygunawan/stable-diffusion-webui/modules/scripts.py", line 462, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "/Users/jimmygunawan/stable-diffusion-webui/extensions/sd-webui-roop/scripts/faceswap.py", line 187, in postprocess_image
result: ImageResult = swap_face(
File "/Users/jimmygunawan/stable-diffusion-webui/extensions/sd-webui-roop/scripts/swapper.py", line 131, in swap_face
result_image = upscale_image(result_image, upscale_options)
File "/Users/jimmygunawan/stable-diffusion-webui/extensions/sd-webui-roop/scripts/swapper.py", line 68, in upscale_image
numpy_image = upscale_options.face_restorer.restore(numpy_image)
File "/Users/jimmygunawan/stable-diffusion-webui/modules/codeformer_model.py", line 96, in restore
self.face_helper.get_face_landmarks_5(only_center_face=False, resize=640, eye_dist_threshold=5)
File "/Users/jimmygunawan/stable-diffusion-webui/repositories/CodeFormer/facelib/utils/face_restoration_helper.py", line 151, in get_face_landmarks_5
bboxes = self.face_det.detect_faces(input_img)
File "/Users/jimmygunawan/stable-diffusion-webui/repositories/CodeFormer/facelib/detection/retinaface/retinaface.py", line 231, in detect_faces
keep = py_cpu_nms(bounding_boxes, nms_threshold)
File "/Users/jimmygunawan/stable-diffusion-webui/repositories/CodeFormer/facelib/detection/retinaface/retinaface_utils.py", line 41, in py_cpu_nms
keep = torchvision.ops.nms(
File "/Users/jimmygunawan/stable-diffusion-webui/venv/lib/python3.10/site-packages/torchvision/ops/boxes.py", line 40, in nms
_assert_has_ops()
File "/Users/jimmygunawan/stable-diffusion-webui/venv/lib/python3.10/site-packages/torchvision/extension.py", line 33, in _assert_has_ops
raise RuntimeError(
RuntimeError: Couldn't load custom C++ ops. This can happen if your PyTorch and torchvision versions are incompatible, or if you had errors while compiling torchvision from source. For further information on the compatible versions, check https://github.com/pytorch/vision#installation for the compatibility matrix. Please check your PyTorch version with torch.__version__ and your torchvision version with torchvision.__version__ and verify if they are compatible, and if not please reinstall torchvision so that it matches your PyTorch install.
from sd-webui-roop.
NSFW images are skipped.
If your image is SFW and its related to the error you posted, use google to figure out how to fix it. Installation and env specific problems are out of scope.
from sd-webui-roop.
Related Issues (20)
- Dependency conflict with other extension
- Has reactor changed the way it handles multiple faces
- Hello i wanted to use face swap in Stable diffusion, with roop, but there are a few errors wich i cant fix. Maybe someone can helb me fixing this. HOT 3
- ImportError: cannot import name 'get_models' from 'scripts.faceswap' (unknown location) error at commit 868f7d1 HOT 2
- Error after Roop: error loading script:api.py;cimage.py... HOT 3
- AttributeError: module 'insightface' has no attribute 'app' HOT 1
- roop tab no longer visible HOT 5
- Error running postprocess_image: D:\ST-AI\Packages\Stable Diffusion WebUI\extensions\sd-webui-roop\scripts\faceswap.py Traceback (most recent call last):
- I am having this error while running roop unleashed please help
- Cannot import name '_initizialize_variables' from 'keras.src.backend' HOT 1
- Gh
- Scripts wont load: api.py, cimage.py, faceswap.py, swapper.py because of ModuleNotFoundError: No module named 'ifnude' HOT 6
- Unable to access https://huggingface.co/henryruhs/roop/resolve/main/inswapper_128.onnx" HOT 2
- Run.bat
- Roop
- Q&A
- Could not find a version that satisfies the requirement onnxruntime==1.15.0 (from versions: 1.17.0, 1.17.1, 1.17.3, 1.18.0, 1.18.1)
- cannot import name 'Undefined' from 'pydantic.fields after add the roop extension HOT 2
- [Windows11] Error running install.py for extension sd-webui-roop-main/运行install.py时出现错误
- AttributeError: 'NoneType' object has no attribute 'shape' 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 sd-webui-roop.