fofr / cog-comfyui-liveportrait Goto Github PK
View Code? Open in Web Editor NEWRun LivePortrait on Replicate
Home Page: https://replicate.com/fofr/live-portrait
License: MIT License
Run LivePortrait on Replicate
Home Page: https://replicate.com/fofr/live-portrait
License: MIT License
I try fofr / live-portrait but I get below errors
Traceback (most recent call last):
File "/root/.pyenv/versions/3.10.6/lib/python3.10/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/root/.pyenv/versions/3.10.6/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/http/client.py", line 1037, in _send_output
self.send(msg)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/http/client.py", line 975, in send
self.connect()
File "/root/.pyenv/versions/3.10.6/lib/python3.10/http/client.py", line 941, in connect
self.sock = self._create_connection(
File "/root/.pyenv/versions/3.10.6/lib/python3.10/socket.py", line 845, in create_connection
raise err
File "/root/.pyenv/versions/3.10.6/lib/python3.10/socket.py", line 833, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.pyenv/versions/3.10.6/lib/python3.10/site-packages/cog/server/worker.py", line 221, in _predict
result = predict(**payload)
File "/src/predict.py", line 132, in predict
self.comfyUI.cleanup(ALL_DIRECTORIES)
File "/src/comfyui.py", line 266, in cleanup
self.clear_queue()
File "/src/comfyui.py", line 159, in clear_queue
self.post_request("/queue", {"clear": True})
File "/src/comfyui.py", line 153, in post_request
with urllib.request.urlopen(req) as response:
File "/root/.pyenv/versions/3.10.6/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/root/.pyenv/versions/3.10.6/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/urllib/request.py", line 1377, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/root/.pyenv/versions/3.10.6/lib/python3.10/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
Cannot execute because node DownloadAndLoadLivePortraitModels does not exist.', 'details': "Node ID '#1'", 'extra_info
Traceback (most recent call last):
File "/root/.pyenv/versions/3.10.6/lib/python3.10/site-packages/cog/server/worker.py", line 221, in _predict
result = predict(**payload)
File "/src/predict.py", line 163, in predict
self.comfyUI.run_workflow(workflow)
File "/src/comfyui.py", line 222, in run_workflow
prompt_id = self.queue_prompt(workflow)
File "/src/comfyui.py", line 178, in queue_prompt
raise Exception(
Exception: ComfyUI Error – Your workflow could not be run. This usually happens if you’re trying to use an unsupported node. Check the logs for 'KeyError: ' details, and go to https://github.com/fofr/cog-comfyui to see the list of supported custom nodes.
I'm trying to build off this repo and get Comfy UI Replicate endpoints working. Unfortunately, when I clone the repo as it is, then push and test the model on Replicate, it fails with the error above.
Any ideas what I can do? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.