Comments (10)
If everything was working before chat gpt blindly told you to edit venv stuff, then your venv is likely messed up. You can create a new venv and set it up from scratch and avoid any and all AI-generated install suggestions.
from comfyui-videohelpersuite.
The black outputs are a fairly common issue and are the result of something going wrong earlier in the workflow. If you pass the ouput into a Preview Image node, you'll get the same black output.
These can be quite inconvenient to debug, but I'd suggest you start with the example txt2img workflow and change one thing at a time until it breaks and produces black output.
from comfyui-videohelpersuite.
thank you for your suggestion, I did used the original txt2img workflow, actually everything was ok before I installed tensorflow and pytorch, which followed chatgpt 4o to enhance the efficience of rendering in mac m3. For now, other workflows were all rendered ok except animatediff ones, and I reinstalled animatediff which was not useful.
from comfyui-videohelpersuite.
ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/nodes.py:95: RuntimeWarning: invalid value encountered in cast
return tensor_to_int(tensor, 8).astype(np.uint8)---------that's the log
from comfyui-videohelpersuite.
If everything was working before chat gpt blindly told you to edit venv stuff, then your venv is likely messed up. You can create a new venv and set it up from scratch and avoid any and all AI-generated install suggestions.
thank you so.... much for your reply. not sure whether it's the problem of the "environment.yaml", since i got the error as below, when I create the new venv and prepare to reinstall the animatediff. do I have to change the code of the "environment.yaml" for Mac system?
conda env create -f environment.yaml
Retrieving notices: ...working... done
Channels:
- pytorch
- nvidia
- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: failed
Channels: - pytorch
- nvidia
- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- nothing provides cuda 11.7.* needed by pytorch-cuda-11.7-h67b0de4_0
Could not solve for environment specs
The following package could not be installed
└─ pytorch-cuda 11.7** is not installable because it requires
└─ cuda 11.7.* , which does not exist (perhaps a missing channel).
from comfyui-videohelpersuite.
ComfyUI's readme has a guide for installing ComfyUI on Mac: https://github.com/comfyanonymous/ComfyUI?tab=readme-ov-file#apple-mac-silicon
ComfyUI does not use conda for its environment for the default install, just pip. I'm not sure what guide you are using, but it does not apply to Mac at all; CUDA is an NVIDIA-card only thing, so it is not a thing for mac installs.
from comfyui-videohelpersuite.
Really appreciate for your inspiration. while, I canceled conda and reinstalled the animatediff, the problem was still there, black output with the error :
ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/nodes.py:95: RuntimeWarning: invalid value encountered in cast
return tensor_to_int(tensor, 8).astype(np.uint8)
seem problem was about the animatediff model, since it's ok if cancel the animatediff related nodes.
from comfyui-videohelpersuite.
got prompt
[rgthree] Using rgthree's optimized recursive execution.
Requested to load SD1ClipModel
Loading 1 new model
[AnimateDiffEvo] - INFO - Regular AnimateDiff activated - latents passed in (8) less or equal to context_length None.
[AnimateDiffEvo] - INFO - Using motion module mm_sd_v15.ckpt:v1.
100%|███████████████████████████████████████████| 20/20 [01:00<00:00, 3.05s/it]
Prompt executed in 64.34 seconds
from comfyui-videohelpersuite.
See if you get black images if you use a V2 or a V3 motion model on that same workflow
from comfyui-videohelpersuite.
hi, I changed the sampler to dpmpp_2m_sde, and down the denoise value to 0.3, it can generated some images. not sure why but seem problems solved...
denoise 0.5 will be ok, but 0.8, it will turn to black...from comfyui-videohelpersuite.
Related Issues (20)
- 加载视频时及时预览不可调节Timely preview when loading videos is not adjustable HOT 2
- VHS load image node, is it possible to clean the history ? HOT 2
- delete
- Why is it necessary to use 'pad' in VideoCombine? HOT 2
- Error loading a workflow HOT 2
- cannot access local variable 'res' where it is not associated with a value HOT 1
- shaking scale ! how to deal with it ?
- Vhs_videocombine error HOT 2
- 'function' object is not subscriptable HOT 6
- Which video formats are supported for Load Video node? HOT 3
- [BUG] fault on node "Load Video" / force_size
- Why is it that the video I loaded has 9 seconds, but the batch output of images only takes 1 second
- Run doesn't continue to Save to S3 node when uploaded video doesn't have audio HOT 2
- Error occurred when executing VHS_LoadVideoPath: video is not a valid path: .\ComfyUI\Output\Projects\video\video.mp4
- VIdeoCombine node -disable saving unnecessary video without audio and image
- different video format, different audio length HOT 3
- Update ComfyUI Node and getting error VHS_LoadVideo int is_integer HOT 5
- Error occurred when executing VHS_VideoCombine: An error occured in the ffmpeg subprocess HOT 6
- Add filepath as output for VideoCombine node HOT 1
- type object 'PromptServer' has no attribute 'instance' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui-videohelpersuite.