mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-17 06:56:07 +08:00
kornia's canny only accepts 1 or 3 channel input, so a 4 channel image raised a RuntimeError. Run edge detection on the colour channels. CORE-393
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/