xmyx / ainodes-pyside Goto Github PK
View Code? Open in Web Editor NEWDesktop AI Generator
License: GNU Lesser General Public License v2.1
Desktop AI Generator
License: GNU Lesser General Public License v2.1
(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
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'
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.