diff --git a/no-3d/attachments/run_nvidia_gpu.bat b/no-3d/attachments/run_nvidia_gpu.bat index 6997143..bb647b0 100644 --- a/no-3d/attachments/run_nvidia_gpu.bat +++ b/no-3d/attachments/run_nvidia_gpu.bat @@ -20,14 +20,6 @@ set HF_HUB_CACHE=%~dp0\HuggingFaceHub @REM This command will let the .pyc files to be stored in one place. set PYTHONPYCACHEPREFIX=%~dp0\pycache -@REM This command will copy u2net.onnx to user's home path, to skip download at first start. -IF NOT EXIST "%USERPROFILE%\.u2net\u2net.onnx" ( - IF EXIST ".\extras\u2net.onnx" ( - mkdir "%USERPROFILE%\.u2net" 2>nul - copy ".\extras\u2net.onnx" "%USERPROFILE%\.u2net\u2net.onnx" - ) -) - @REM If you don't want the browser to open automatically, add " --disable-auto-launch" (without quotation marks) to the end of the line below. .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build diff --git "a/no-3d/attachments/\344\270\255\346\226\207\350\204\232\346\234\254/run_cn.bat" "b/no-3d/attachments/\344\270\255\346\226\207\350\204\232\346\234\254/run_cn.bat" index b4dc801..f36f8c4 100644 --- "a/no-3d/attachments/\344\270\255\346\226\207\350\204\232\346\234\254/run_cn.bat" +++ "b/no-3d/attachments/\344\270\255\346\226\207\350\204\232\346\234\254/run_cn.bat" @@ -22,14 +22,6 @@ set HF_HUB_CACHE=%~dp0\HuggingFaceHub @REM 该环境变量使 .pyc 缓存文件集中保存在一个文件夹下,而不是随 .py 文件分布。 set PYTHONPYCACHEPREFIX=%~dp0\pycache -@REM 该命令会复制 u2net.onnx 到用户主目录下,以免启动时还需下载。 -IF NOT EXIST "%USERPROFILE%\.u2net\u2net.onnx" ( - IF EXIST ".\extras\u2net.onnx" ( - mkdir "%USERPROFILE%\.u2net" 2>nul - copy ".\extras\u2net.onnx" "%USERPROFILE%\.u2net\u2net.onnx" - ) -) - @REM 如不希望 ComfyUI 启动后自动打开浏览器,添加 --disable-auto-launch 到下行末尾(注意空格)。 @REM 如在用 40 系显卡,可添加 --fast 开启实验性高性能模式。 .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build diff --git a/no-3d/requirements5.txt b/no-3d/requirements5.txt index 5b70879..8071e96 100644 --- a/no-3d/requirements5.txt +++ b/no-3d/requirements5.txt @@ -13,7 +13,9 @@ filelock GitPython imageio-ffmpeg importlib-metadata +iopath jaxtyping +libigl matrix-client==0.4.0 mediapipe mss diff --git a/no-3d/stage2.sh b/no-3d/stage2.sh index b049a04..9b0a7f3 100644 --- a/no-3d/stage2.sh +++ b/no-3d/stage2.sh @@ -126,15 +126,8 @@ $gcs https://github.com/ltdrdata/ComfyUI-Impact-Subpack.git impact_subpack cd "$workdir"/ComfyUI_Windows_portable ./python_embeded/python.exe -s -B ComfyUI/main.py --quick-test-for-ci --cpu -# Copy model files from ~/ -cd "$workdir"/ComfyUI_Windows_portable -mkdir extras -cp ~/.u2net/u2net.onnx ./extras/u2net.onnx - # Clean up rm "$workdir"/ComfyUI_Windows_portable/*.log -# DO NOT clean pymatting cache, they are nbi/nbc files for Numba, and won't be regenerated. -#rm -rf "$workdir"/ComfyUI_Windows_portable/python_embeded/Lib/site-packages/pymatting cd "$workdir"/ComfyUI_Windows_portable/ComfyUI/custom_nodes rm ./was-node-suite-comfyui/was_suite_config.json