Edward Owusu Adjei
Edward Owusu Adjei
First of all run the below code `jupyter nbconvert --to script 'FASNet.ipynb'` to convert to it to the python script. or you could head over to https://github.com/cvtower/FASNet/blob/master/FASNet.py he has it...
For insightface those on windows can download the prebuilt package here: https://github.com/cubiq/ComfyUI_IPAdapter_plus/issues/162#issuecomment-1868967714
For mac users, this may work for some: https://github.com/deepinsight/insightface/issues/2493#issuecomment-1947902986, you need to have onnx installed, follow easy steps here: https://github.com/onnx/onnx?tab=readme-ov-file#mac hopefully this is helpful for someone.
When asked for the redis-cli string enter the full string for example: redis-cli -h HOST In your case you just used "- h"
> On Windows, simply copy/paste \PhotoMaker\gradio_demo folder contents to \PhotoMaker > > Now it should be possible to run python app.py as normal. Same for mac or anyone facing same....
For those on mac that used the requirement.txt in the project initially will now have to point to torchvision==0.16.2, a requirement by torch==2.1.2 and remove pytorch-cuda==11.8, or does not really...
@sdbds it supports mac's mps now from https://github.com/TencentARC/PhotoMaker/pull/17