Giter Club home page Giter Club logo

Comments (4)

system1system2 avatar system1system2 commented on August 30, 2024 1

@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.

s0md3v avatar s0md3v commented on August 30, 2024

Delete your extension and reinstall.

from sd-webui-roop.

system1system2 avatar system1system2 commented on August 30, 2024

@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.

BobbtheBuilder avatar BobbtheBuilder commented on August 30, 2024

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)

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.