GithubHelp home page GithubHelp logo

Comments (8)

XmYx avatar XmYx commented on September 17, 2024 1

Hi!

I'm working on a major update, which improved both the venv and how nodes are executed, I suggest that you do the following for a new installation, for exiting ones, delete the nodes_env, and skip first step.:

git clone https://github.com/XmYx/ainodes-engine

cd ainodes-engine

git fetch

git checkout dev

setup_ainodes.bat

make sure it downloads ComfyUI into the src directory, and that the ai_nodes/ainodes_engine_base_nodes folder is in the dev branch. To do that, just navigate to the folder in command line, and:

git fetch

git checkout dev

git pull

Basically switched to a miniconda environment, and added an auto node runner, so pressing End on the keyboard runs the nodes placed, if they can (all required inputs connected). There is a keybind editor in the settings, and a small flaw that makes it not save the diretories, but if you manually edit the settings.yaml, you can set the dirs, i'll work on fixing saving from gui, if you wish to change any current keybind, or model directory.

from ainodes-engine.

XmYx avatar XmYx commented on September 17, 2024

Hey!

I've pushed a fix this morning, please try running update_ainodes.bat, if the app does not start up, run debug_venv.bat, and enter python main.py then report here with the full error stack from the command prompt please.

Thanks,
Miki

from ainodes-engine.

SoftologyPro avatar SoftologyPro commented on September 17, 2024

OK, running update_ainodes.bat had these errors during running

INFO: pip is looking at multiple versions of tensorflow to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 11), -r requirements.txt (line 4) and protobuf==3.20.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested protobuf==3.20.3
    tensorboard 2.8.0 depends on protobuf>=3.6.0
    tensorflow 2.8.4 depends on protobuf<3.20 and >=3.9.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Processing ainodes_engine_comfy_nodes
warning: redirecting to https://github.com/XmYx/ainodes_engine_comfy_nodes.git/
Already up to date.
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

and when it finished the same logo flicker for half a second then nothing.

Running the debug did give more info

D:\ainodes\ainodes-engine>debug_venv.bat

(nodes_env) D:\ainodes\ainodes-engine>python main.py
Start aiNodes, please wait. 2023-07-24 21:03:01.549169
Using HF Cache in app dir
Importing from ai_nodes\ainodes_engine_base_nodes
ai_nodes.ainodes_engine_base_nodes.audio_generation_nodes.audiocraft_music_node
===== 2023.07.24 21:07:03 =====
Traceback (most recent call last):
File "D:\ainodes\ainodes-engine\main.py", line 126, in
import_nodes_from_subdirectories(folder_path)
File "D:\ainodes\ainodes-engine\ainodes_frontend\base\import_utils.py", line 54, in import_nodes_from_subdirectories
import_nodes_from_directory(subdir_path)
File "D:\ainodes\ainodes-engine\ainodes_frontend\base\import_utils.py", line 43, in import_nodes_from_directory
module = importlib.import_module(f"{dir}.{module_name}")
File "importlib_init_.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\ainodes\ainodes-engine\ai_nodes\ainodes_engine_base_nodes\audio_generation_nodes\audiocraft_music_node.py", line 9, in
from audiocraft.modules.conditioners import ConditioningAttributes
ModuleNotFoundError: No module named 'audiocraft'

(nodes_env) D:\ainodes\ainodes-engine>

from ainodes-engine.

XmYx avatar XmYx commented on September 17, 2024

Cool cool, this helps. I'll get back to you with a fix.

from ainodes-engine.

jags111 avatar jags111 commented on September 17, 2024

I am having a similar problem and now trying to fix same by reinstalling all requirements one by one. every time we run the update bat it keeps downloading everything from start and the takes almost a long time even though the files exists. May be the windows permission issues are at the core and also file not being located to the version of python in the system. Not sure what the issue is but it is a lot of work to solve the install issues.

from ainodes-engine.

jags111 avatar jags111 commented on September 17, 2024

Hey it worked perfect with your new instructions and all good and as you mentioned the same; settings.yaml in the config directory needs editing to update paths. rest i am exploring and will keep you posted and looks all good now in my windows, 3096 configuration and testing the render speeds and deforum both and will update in the deforum or other discord servers. Good work ! a quick question on what are the color palette for and may be settings needs to be explained in the basics section for any one wanting the learn the UI. You can start a git hub -- info page for same and keep adding info there !

from ainodes-engine.

kyle215ps3 avatar kyle215ps3 commented on September 17, 2024

I tried all of this but it's not working and comfyui is not in the src folder...

from ainodes-engine.

XmYx avatar XmYx commented on September 17, 2024

Solved. Sorry to have left the issue stale.

from ainodes-engine.

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.