Giter Club home page Giter Club logo

Comments (10)

Kosinkadink avatar Kosinkadink commented on August 16, 2024 1

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.

AustinMroz avatar AustinMroz commented on August 16, 2024

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.

t2i_wf

from comfyui-videohelpersuite.

abumolly avatar abumolly commented on August 16, 2024

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.
workflow

from comfyui-videohelpersuite.

abumolly avatar abumolly commented on August 16, 2024

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.

abumolly avatar abumolly commented on August 16, 2024

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.

Kosinkadink avatar Kosinkadink commented on August 16, 2024

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.

abumolly avatar abumolly commented on August 16, 2024

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)

截屏2024-06-04 15 54 30

seem problem was about the animatediff model, since it's ok if cancel the animatediff related nodes.

from comfyui-videohelpersuite.

abumolly avatar abumolly commented on August 16, 2024
截屏2024-06-04 16 08 37 For the simple workflow, there's no errors report but outputs are black.

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.

Kosinkadink avatar Kosinkadink commented on August 16, 2024

See if you get black images if you use a V2 or a V3 motion model on that same workflow

from comfyui-videohelpersuite.

abumolly avatar abumolly commented on August 16, 2024

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...

截屏2024-06-04 19 10 22 denoise 0.5 will be ok, but 0.8, it will turn to black...

from comfyui-videohelpersuite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.