Comments (4)
@s0md3v @BobbtheBuilder the "no models found" can be solved by manually moving the model files from:
/extensions/sd-webui-roop/models/roop/
to:
/extensions/sd-webui-roop/models/
This move allowed me to use roop on macOS with the Vladmandic fork.
from sd-webui-roop.
Delete your extension and reinstall.
from sd-webui-roop.
@BobbtheBuilder did deleting and reinstalling the extension fix the issue? I'm having the same problem (but on macOS).
The models are definitely where they are supposed to be. And uninstalling/reinstalling the extension changed nothing, unfortunately.
from sd-webui-roop.
well i reinstalled and now i have more errors.
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
inswapper-shape: [1, 3, 128, 128]
04:43:27-030873 ERROR Module load: C:\AIStuff\automatic\extensions\sd-webui-roop\scripts\faceswap.py: AttributeError
┌───────────────────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────────────────┐
│ C:\AIStuff\automatic\modules\script_loading.py:13 in load_module │
│ │
│ 12 │ try: │
│ > 13 │ │ module_spec.loader.exec_module(module) │
│ 14 │ except Exception as e: │
│ in exec_module:883 │
│ │
│ ... 2 frames hidden ... │
│ │
│ C:\AIStuff\automatic\extensions\sd-webui-roop\scripts\swapper.py:31 in │
│ │
│ 30 │
│ > 31 ANALYSIS_MODEL = insightface.app.FaceAnalysis(name="buffalo_l", providers=providers) │
│ 32 │
│ │
│ C:\AIStuff\automatic\venv\lib\site-packages\insightface\app\face_analysis.py:37 in init │
│ │
│ 36 │ │ │ │ del model │
│ > 37 │ │ │ elif model.taskname not in self.models and (allowed_modules is None or model │
│ 38 │ │ │ │ print('find model:', onnx_file, model.taskname, model.input_shape, model │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
AttributeError: 'INSwapper' object has no attribute 'taskname'
2023-06-21 04:43:27,140 - roop - INFO - roop v0.0.2
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: C:\Users\Walter/.insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
inswapper-shape: [1, 3, 128, 128]
04:43:30-124772 ERROR Module load: C:\AIStuff\automatic\extensions\sd-webui-roop\scripts\swapper.py: AttributeError
┌───────────────────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────────────────┐
│ C:\AIStuff\automatic\modules\script_loading.py:13 in load_module │
│ │
│ 12 │ try: │
│ > 13 │ │ module_spec.loader.exec_module(module) │
│ 14 │ except Exception as e: │
│ in exec_module:883 │
│ │
│ ... 1 frames hidden ... │
│ │
│ C:\AIStuff\automatic\extensions\sd-webui-roop\scripts\swapper.py:31 in │
│ │
│ 30 │
│ > 31 ANALYSIS_MODEL = insightface.app.FaceAnalysis(name="buffalo_l", providers=providers) │
│ 32 │
│ │
│ C:\AIStuff\automatic\venv\lib\site-packages\insightface\app\face_analysis.py:37 in init │
│ │
│ 36 │ │ │ │ del model │
│ > 37 │ │ │ elif model.taskname not in self.models and (allowed_modules is None or model │
│ 38 │ │ │ │ print('find model:', onnx_file, model.taskname, model.input_shape, model │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
AttributeError: 'INSwapper' object has no attribute 'taskname'
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.