Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Farquisian - itch.io
[go: Go Back, main page]

Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Farquisian

2
Posts
A member registered Jul 11, 2023

Recent community posts

Got it fixed and it's working now, I was correct and it was due to not having InsightFace installed which I had to do manually. What got it to work for me:

1. Using the terminal (I used VSCode Terminal) find the folder path where ComfyUI stores the virtual environment (.venv) folder, it will be the same folder that has the models. output, custom_nodes folder. 

2. Start the virtual environment. Should be like ./venv/Scripts/Activate

3. run the command "python -m pip install * " where the * is "insightface" then "onnxruntime" "opencv-python" and "numpy"

4. verify it installed correctly with the command "python -c "import insightface; print('InsightFace installed')""

Next time you open ComfyUI and check it should show no errors with the ComfyUI_FaceAnalysis node and it should work making portraits in game. This is what worked for me and I could of forgotten a step or two, ChatGPT was great in troubleshooting some stuff.

This was on a Windows 11 desktop for the platform.

Fantastic mod though it's very well implemented!

Running into the same error with the ComfyUI console logs giving 

"invalid prompt: {'type': 'missing_node_type', 'message': "Node 'Face Bounding Box' not found. The custom node may not be installed.", 'details': "Node ID '#2'", 'extra_info': {'node_id': '2', 'class_type': 'FaceBoundingBox', 'node_title': 'Face Bounding Box'}}".

Possible cause I found checking I noticed that my import of "ComfyUI_FaceAnalysis" through ComfyUI mentioned in the ReadMe failed. I'd assume it's due to it requiring DLib or InsightFace. Trying to install those and get it working with Comfy have been a pain I'm working through.

Not 100% if this would be the cause of the issue, just wanted to chime in with my own findings. Hope this helps!