Giter Site home page Giter Site logo

xmyx / ainodes-pyside Goto Github PK

View Code? Open in Web Editor NEW
94.0 94.0 12.0 139.78 MB

Desktop AI Generator

License: GNU Lesser General Public License v2.1

Python 99.56% Batchfile 0.09% Shell 0.12% Jupyter Notebook 0.23%
ai art artifical-intelligense deforum ml nodes

ainodes-pyside's People

Contributors

osi1880vr avatar xmyx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ainodes-pyside's Issues

at start 0,1 second splash screen and crush

(ai-pixel) E:\AI\SD\ainodes-pyside>python frontend/main_app.py
Traceback (most recent call last):
File "E:\AI\SD\ainodes-pyside\frontend\main_app.py", line 30, in
from frontend.mainwindow import MainWindow
ModuleNotFoundError: No module named 'frontend.mainwindow'

"Enter Event" every time i mouse over the image output area

"Enter Event" every time i mouse over the image output area

Not sure if that is intentional or not.


Also, just tacking this on, (not expecting a resolution on this, i just have no other way to mention it) sometimes i get errors and have to restart aiNodes.
This is the last error I got.
I tried to generate a 1536 x 1152 on a EVGA 1080 ti FTW3 11gb.
I'm assuming it is a random error of something not loading right or something crashing or unloading, so I'll assume it is just something I have to tolerate.

Traceback (most recent call last):
File "D:\2.0\backend\worker.py", line 70, in run
result = self.fn(*self.args, **self.kwargs)
File "D:\2.0\frontend\ui_deforum.py", line 162, in run_deforum_six_txt2img
self.deforum_six.run_deforum_six(W=int(params['W']),
File "D:\2.0\backend\deforum\deforum_adapter.py", line 501, in run_deforum_six
render_image_batch(args, prompts, root, image_callback=image_callback, step_callback=step_callback)
File "D:\2.0\backend\deforum\six\render.py", line 130, in render_image_batch
results = generate(args, root, step_callback=step_callback,)
File "D:\2.0\backend\deforum\six\generate.py", line 227, in generate
sampler = PLMSSampler(gs.models["sd"]) if args.sampler == 'plms' else DDIMSampler(gs.models["sd"])
File "D:\2.0\ldm\models\diffusion\ddim.py", line 16, in init
self.ddpm_num_timesteps = model.num_timesteps
AttributeError: 'NoneType' object has no attribute 'num_timesteps'

path too long, it can't save the image

When I use a prompt with about 15 words (approximately), it tries to make a folder + filename with the prompt and it becomes too long and windows can't handle it.
Please add the option to truncate filenames and folders.

Traceback (most recent call last):
File "D:\apps\AI\2.0\ainodes-pyside-sd_v2\backend\worker.py", line 70, in run
result = self.fn(*self.args, **self.kwargs)
File "D:\apps\AI\2.0\ainodes-pyside-sd_v2\frontend\ui_deforum.py", line 162, in run_deforum_six_txt2img
self.deforum_six.run_deforum_six(W=int(params['W']),
File "D:\apps\AI\2.0\ainodes-pyside-sd_v2\backend\deforum\deforum_adapter.py", line 501, in run_deforum_six
render_image_batch(args, prompts, root, image_callback=image_callback, step_callback=step_callback)
File "D:\apps\AI\2.0\ainodes-pyside-sd_v2\backend\deforum\six\render.py", line 145, in render_image_batch
image.save(os.path.join(outfolder, filename))
File "D:\apps\AI\2.0\ainodes-pyside-sd_v2\venv\lib\site-packages\PIL\Image.py", line 2317, in save
fp = builtins.open(filename, "w+b")
FileNotFoundError: [Errno 2] No such file or directory: 'data/output/txt2img\20221124142541

ModuleNotFoundError: No module named 'infer'

first launch

(ainodes_ng) E:\AI\SD\ainodes-pyside>python frontend/main_app.py Downloading: 100%|█████████████████████████████████████████████████████████████████████| 912/912 [00:00<00:00, 456kB/s] Downloading: 100%|██████████████████████████████████████████████████████████████████| 487M/487M [00:45<00:00, 11.1MB/s] Downloading: 100%|█████████████████████████████████████████████████████████████████████| 665/665 [00:00<00:00, 649kB/s] Downloading: 100%|█████████████████████████████████████████████████████████████████| 0.99M/0.99M [00:01<00:00, 732kB/s] Downloading: 100%|███████████████████████████████████████████████████████████████████| 446k/446k [00:00<00:00, 586kB/s] Downloading: 100%|█████████████████████████████████████████████████████████████████| 1.29M/1.29M [00:01<00:00, 872kB/s] qt.pysideplugin: Environment variable PYSIDE_DESIGNER_PLUGINS is not set, bailing out. qt.pysideplugin: No instance of QPyDesignerCustomWidgetCollection was found. Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute and QSGRendererInterface::OpenGLRhi using QQuickWindow::setGraphicsApi before constructing QGuiApplication. Traceback (most recent call last): File "frontend/main_app.py", line 23, in <module> from frontend.mainwindow import GenerateWindow File "e:\ai\sd\ainodes-pyside\frontend\mainwindow.py", line 50, in <module> from frontend.ui_deforum_interface import Deforum_UI File "e:\ai\sd\ainodes-pyside\frontend\ui_deforum_interface.py", line 5, in <module> from backend.deforum.deforum_simplified import DeforumGenerator File "e:\ai\sd\ainodes-pyside\backend\deforum\__init__.py", line 3, in <module> from .depth import DepthModel File "e:\ai\sd\ainodes-pyside\backend\deforum\depth.py", line 11, in <module> from infer import InferenceHelper ModuleNotFoundError: No module named 'infer'

i try pip install inference-tools no effect

Error building pycuda during install

Followed the new guide and the following error message appeared:

Successfully built albumentations pudb antlr4-python3-runtime urwid sklearn pathtools promise imgaug fairscale pefile
Failed to build pycuda

stderr: error: subprocess-exited-with-error

Building wheel for pycuda (pyproject.toml) did not run successfully.
exit code: 1

[118 lines of output]


*** I have detected that you have not run configure.py.


*** Additionally, no global config files were found.
*** I will go ahead with the default configuration.
*** In all likelihood, this will not work out.


*** See README_SETUP.txt for more information.


*** If the build does fail, just re-run configure.py with the
*** correct arguments, and then retry. Good luck!


*** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT


Continuing in 10 seconds...
Continuing in 9 seconds...
Continuing in 8 seconds...
Continuing in 7 seconds...
Continuing in 6 seconds...
Continuing in 5 seconds...
Continuing in 4 seconds...
Continuing in 3 seconds...
Continuing in 2 seconds...
Continuing in 1 seconds...
C:\Users\plx2k\AppData\Local\Temp\pip-build-env-wvyfbiay\overlay\Lib\site-packages\setuptools_distutils\dist.py:265: UserWarning: Unknown distribution option: 'test_requires'
warnings.warn(msg)

running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\pycuda
copying pycuda\autoinit.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\autoprimaryctx.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\characterize.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\compiler.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\cumath.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\curandom.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\debug.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\driver.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\elementwise.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\gpuarray.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\reduction.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\scan.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda\tools.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda_cluda.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda_mymako.py -> build\lib.win-amd64-cpython-310\pycuda
copying pycuda_init_.py -> build\lib.win-amd64-cpython-310\pycuda
creating build\lib.win-amd64-cpython-310\pycuda\gl
copying pycuda\gl\autoinit.py -> build\lib.win-amd64-cpython-310\pycuda\gl
copying pycuda\gl_init_.py -> build\lib.win-amd64-cpython-310\pycuda\gl
creating build\lib.win-amd64-cpython-310\pycuda\sparse
copying pycuda\sparse\cg.py -> build\lib.win-amd64-cpython-310\pycuda\sparse
copying pycuda\sparse\coordinate.py -> build\lib.win-amd64-cpython-310\pycuda\sparse
copying pycuda\sparse\inner.py -> build\lib.win-amd64-cpython-310\pycuda\sparse
copying pycuda\sparse\operator.py -> build\lib.win-amd64-cpython-310\pycuda\sparse
copying pycuda\sparse\packeted.py -> build\lib.win-amd64-cpython-310\pycuda\sparse
copying pycuda\sparse\pkt_build.py -> build\lib.win-amd64-cpython-310\pycuda\sparse
copying pycuda\sparse_init_.py -> build\lib.win-amd64-cpython-310\pycuda\sparse
creating build\lib.win-amd64-cpython-310\pycuda\compyte
copying pycuda\compyte\array.py -> build\lib.win-amd64-cpython-310\pycuda\compyte
copying pycuda\compyte\dtypes.py -> build\lib.win-amd64-cpython-310\pycuda\compyte
copying pycuda\compyte_init_.py -> build\lib.win-amd64-cpython-310\pycuda\compyte
running egg_info
writing pycuda.egg-info\PKG-INFO
writing dependency_links to pycuda.egg-info\dependency_links.txt
writing requirements to pycuda.egg-info\requires.txt
writing top-level names to pycuda.egg-info\top_level.txt
reading manifest file 'pycuda.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'doc\source*.rst'
warning: no files found matching 'doc\source\conf.py'
warning: no files found matching 'doc\source_static*.css'
warning: no files found matching 'doc\source_templates*.html'
warning: no files found matching '.cpp' under directory 'bpl-subset\bpl_subset\boost'
warning: no files found matching '
.html' under directory 'bpl-subset\bpl_subset\boost'
warning: no files found matching '.inl' under directory 'bpl-subset\bpl_subset\boost'
warning: no files found matching '
.txt' under directory 'bpl-subset\bpl_subset\boost'
warning: no files found matching '.h' under directory 'bpl-subset\bpl_subset\libs'
warning: no files found matching '
.ipp' under directory 'bpl-subset\bpl_subset\libs'
warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\libs'
adding license file 'LICENSE'
writing manifest file 'pycuda.egg-info\SOURCES.txt'
C:\Users\plx2k\AppData\Local\Temp\pip-build-env-wvyfbiay\overlay\Lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'pycuda.cuda' as data is deprecated, please list it in packages.
!!

  ############################
  # Package would be ignored #
  ############################
  Python recognizes 'pycuda.cuda' as an importable package,
  but it is not listed in the `packages` configuration of setuptools.

  'pycuda.cuda' has been automatically added to the distribution only
  because it may contain data files, but this behavior is likely to change
  in future versions of setuptools (and therefore is considered deprecated).

  Please make sure that 'pycuda.cuda' is included as a package by using
  the `packages` configuration field or the proper discovery methods
  (for example by using `find_namespace_packages(...)`/`find_namespace:`
  instead of `find_packages(...)`/`find:`).

  You can read more about "package discovery" and "data files" on setuptools
  documentation page.

!!

check.warn(importable)

creating build\lib.win-amd64-cpython-310\pycuda\cuda
copying pycuda\cuda\pycuda-complex-impl.hpp -> build\lib.win-amd64-cpython-310\pycuda\cuda
copying pycuda\cuda\pycuda-complex.hpp -> build\lib.win-amd64-cpython-310\pycuda\cuda
copying pycuda\cuda\pycuda-helpers.hpp -> build\lib.win-amd64-cpython-310\pycuda\cuda
copying pycuda\sparse\pkt_build_cython.pyx -> build\lib.win-amd64-cpython-310\pycuda\sparse
running build_ext
building '_driver' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycuda
ERROR: Could not build wheels for pycuda, which is required to install pyproject.toml-based projects

[notice] A new release of pip available: 22.2.2 -> 22.3.1
[notice] To update, run: D:\ainodes-pyside-main\venv\Scripts\python.exe -m pip install --upgrade pip

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.