Open yxf551 opened 1 week ago
It seems you included the --preview-method CLI argument in your ComfyUI start up batch file e.g. in run_nvidia_gpu, you should have something that looks like this: .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --preview-method pause I suggest you remove the --preview-method argument whenever you want to use the UniAnimate nodes because the --preview-method argument in ComfyUI depends on two other classes which have their own requirement and I currently do not have the time to implement and troubleshoot them.
Thank you. Wait until you have time
It seems you included the --preview-method CLI argument in your ComfyUI start up batch file e.g. in run_nvidia_gpu, you should have something that looks like this: .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --preview-method pause I suggest you remove the --preview-method argument whenever you want to use the UniAnimate nodes because the --preview-method argument in ComfyUI depends on two other classes which have their own requirement and I currently do not have the time to implement and troubleshoot them.
I suggest use parser.parse_known_args instead in util/config.py.
self.args, unkonw = self._parse_args()
...
return parser.parse_known_args()
It seems you included the --preview-method CLI argument in your ComfyUI start up batch file e.g. in run_nvidia_gpu, you should have something that looks like this: .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --preview-method pause I suggest you remove the --preview-method argument whenever you want to use the UniAnimate nodes because the --preview-method argument in ComfyUI depends on two other classes which have their own requirement and I currently do not have the time to implement and troubleshoot them.
I suggest use parser.parse_known_args instead in util/config.py.
self.args, unkonw = self._parse_args() ... return parser.parse_known_args()
Thank you for the suggestion. I will implement & test it soon.
got prompt usage: main.py [-h] [--cfg CFG_FILE] [--init_method INIT_METHOD] [--debug] [--windows-standalone-build] [--listen [IP]] [--port PORT] [--tls-keyfile TLS_KEYFILE] [--tls-certfile TLS_CERTFILE] [--enable-cors-header [ORIGIN]] [--max-upload-size MAX_UPLOAD_SIZE] [--extra-model-paths-config PATH [PATH ...]] [--output-directory OUTPUT_DIRECTORY] [--temp-directory TEMP_DIRECTORY] [--input-directory INPUT_DIRECTORY] [--auto-launch] [--disable-auto-launch] [--cuda-device DEVICE_ID] [--force-channels-last] [--directml [DIRECTML_DEVICE]] [--disable-ipex-optimize] [--disable-xformers] [--default-hashing-function {md5,sha1,sha256,sha512}] [--disable-smart-memory] [--deterministic] [--dont-print-server] [--quick-test-for-ci] [--disable-metadata] [--disable-all-custom-nodes] [--multi-user] [--verbose] [--front-end-version FRONT_END_VERSION] ... main.py: error: unrecognized arguments: --preview-method