Comments (7)
remove stable-diffusion-webui\models\body_pose_model.pth and relaunch will work for you
from openpose-editor.
I deleted body_pose_model.pth and restarted, but still got this error
from openpose-editor.
same here, I reinstall openpose and deleted the file body_pose_model. I restarted and it downloaded the model. Then error.
100%|███████████████████████████████████████████████████████████████████████████████| 200M/200M [00:16<00:00, 12.7MB/s]
Traceback (most recent call last):
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 39
4, in run_predict
output = await app.get_blocks().process_api(
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 10
75, in process_api
result = await self.call_function(
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 88
4, in call_function
prediction = await anyio.to_thread.run_sync(
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line
31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.p
y", line 937, in run_sync_in_worker_thread
return await future
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.p
y", line 867, in run
result = context.run(func, *args)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py", line
106, in estimate
candidate, subset = body_estimation(pil2cv(img))
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\openpose-editor\scripts\openpose\body.
py", line 49, in call
Mconv7_stage6_L1, Mconv7_stage6_L2 = self.model(data)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py
", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\openpose-editor\scripts\openpose\model
.py", line 118, in forward
out1 = self.model0(x)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py
", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\container
.py", line 204, in forward
input = module(input)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py
", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 319, in lo
ra_Conv2d_forward
return torch.nn.Conv2d_forward_before_lora(self, input)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\conv.py",
line 463, in forward
return self._conv_forward(input, self.weight, self.bias)
File "E:\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\conv.py",
line 459, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Given groups=1, weight of size [64, 3, 3, 3], expected input[1, 4, 184, 248] to have 3 channels, but got 4
channels instead
from openpose-editor.
I think the 4th channel is the alphachannel.
Workaround: I converted my image to JPEG (which does not support alphachannel), then it worked.
from openpose-editor.
I pushed small fix for this issue in https://github.com/fkunn1326/openpose-editor/tree/fkunn1326-patch-3, so please git switch fkunn1326-patch-3
in this extension's directory.
from openpose-editor.
nothing worked for me, I get no error, but my output is nothing or blank
from openpose-editor.
Has anyone got this working again?
from openpose-editor.
Related Issues (20)
- Detect from image not work HOT 1
- Higher resolution required
- Detect Image result inaccuracy
- this doesn't work in new version chrome HOT 1
- Detect from image not working (No error, blank output) HOT 2
- プリセットの削除方法 HOT 1
- Send To txt2img and img2img are not working properly
- Load from JSON not work! HOT 4
- Facial pose/expressions
- [Detect From Image], [Add Background Image] functionality not working properly in Firefox HOT 1
- openpose_editor_index not found HOT 2
- TypeError: 'type' object is not subscriptable HOT 1
- openpose_editor_index 404 HOT 1
- How can I make the shoulders narrower?
- FIX - ADD BACKGROUND IMAGE HOT 6
- TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter HOT 7
- GPU low uses
- ReadMe Suggestion
- FIX - Load From JSON HOT 1
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 openpose-editor.