Output is just black image/gif
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
I have been trying to set up ComfyUI (with AnimateDiff-Evolved and ComfyUI Manager) on a Mac M1. I struggled through a few issues but finally have it up and running and I am able to Install/Uninstall via manager etc, etc. I have taken a simple workflow, connected all the models, run a simple prompt but I get just a black image/gif. The sampler runs and I see can the processes happening if I look at terminal but just a plain black image is created. This also appears in the Output folder. I did notice this in terminal after the 20 images had run.
```
[AnimateDiffEvo] - INFO - Ejecting motion module mm_sd_v15_v2.ckpt version v2.
[AnimateDiffEvo] - INFO - Cleaning motion module from unet.
[AnimateDiffEvo] - INFO - Removing motion module mm_sd_v15_v2.ckpt from cache
/Users/andrew_mackay_1/Documents/—— Resources/—— ComfyUI/——ComfyUI-master/comfy/model_base.py:47: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
self.register_buffer('betas', torch.tensor(betas, dtype=torch.float32))
/Users/andrew_mackay_1/Documents/—— Resources/—— ComfyUI/——ComfyUI-master/comfy/model_base.py:48: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
self.register_buffer('alphas_cumprod', torch.tensor(alphas_cumprod, dtype=torch.float32))
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
/Users/andrew_mackay_1/Documents/—— Resources/—— ComfyUI/——ComfyUI-master/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/nodes.py:110: RuntimeWarning: invalid value encountered in cast
img = Image.fromarray(np.clip(img, 0, 255).astype(np.uint8))
Prompt executed in 235.25 seconds
```
The only other bit I changed was in the `was_suite_config.json`where I changed the path to `/Users/andrew_mackay_1/anaconda3/pkgs/ffmpeg-4.2.2-h04105a8_0/bin` as I was getting a message that `ffmpeg_bin_path` was not defined.
I also noticed this. Not sure how any of this is related. Apologies.
Any help would be greatly appreciated... Thanks
Contributor guide
Assessment
This issue has not been assessed yet.