Comments (5)
What is the full path to your models directory? I need to know whether the path is wrong or the file is missing…
from invokeai.
What is the full path to your models directory? I need to know whether the path is wrong or the file is missing…
%cd /content/InvokeAI/
!python /content/InvokeAI/scripts/invokeai-model-install.py --root_dir /content/db --yes --add this use full
from invokeai.
and
What is the full path to your models directory? I need to know whether the path is wrong or the file is missing…
and vr 3.7.0
give this error
ypeError: expected string or bytes-like object
[2024-03-12 14:30:54,749]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=controlnet HTTP/1.1" 200
[2024-03-12 14:30:54,754]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=lora HTTP/1.1" 200
[2024-03-12 14:30:54,770]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=ip_adapter HTTP/1.1" 200
[2024-03-12 14:30:54,772]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=t2i_adapter HTTP/1.1" 200
[2024-03-12 14:31:30,229]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "POST /api/v1/models/import HTTP/1.1" 500
[2024-03-12 14:31:30,229]::[uvicorn.error]::ERROR --> Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/gzip.py", line 24, in call
await responder(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 91, in call
await self.simple_response(scope, receive, send, request_headers=headers)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 146, in simple_response
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/fastapi_events/middleware.py", line 43, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 758, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 778, in app
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 299, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 79, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 74, in app
response = await func(request)
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 299, in app
raise e
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 294, in app
raw_response = await run_endpoint_function(
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
return await dependant.call(**values)
File "/content/InvokeAI/invokeai/app/api/routers/models.py", line 174, in import_model
installed_models = ApiDependencies.invoker.services.model_manager.heuristic_import(
File "/content/InvokeAI/invokeai/app/services/model_manager/model_manager_default.py", line 325, in heuristic_import
return self.mgr.heuristic_import(items_to_import, prediction_type_helper)
File "/content/InvokeAI/invokeai/backend/model_management/model_manager.py", line 1118, in heuristic_import
installed = installer.heuristic_import(thing)
File "/content/InvokeAI/invokeai/backend/install/model_install_backend.py", line 279, in heuristic_import
models_installed.update({str(model_path_id_or_url): self._install_url(model_path_id_or_url)})
File "/content/InvokeAI/invokeai/backend/install/model_install_backend.py", line 333, in _install_url
location = download_with_resume(
File "/content/InvokeAI/invokeai/backend/util/util.py", line 294, in download_with_resume
file_name = re.search('filename="(.+)"', resp.headers.get("Content-Disposition")).group(1)
File "/usr/lib/python3.10/re.py", line 200, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object
[2024-03-12 14:31:31,037]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=ip_adapter HTTP/1.1" 200
/usr/local/lib/python3.10/dist-packages/pydantic/type_adapter.py:256: ResourceWarning: unclosed <ssl.SSLSocket fd=47, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.28.0.12', 50326), raddr=('104.18.23.206', 443)>
return self.validator.validate_python(__object, strict=strict, from_attributes=from_attributes, context=context)
[2024-03-12 14:31:31,065]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=lora HTTP/1.1" 200
[2024-03-12 14:31:31,067]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=controlnet HTTP/1.1" 200
[2024-03-12 14:31:31,068]::[uvicorn.access]::INFO --> 23.150.248.153:0 - "GET /api/v1/models/?model_type=t2i_adapter HTTP/1.1" 200
from invokeai.
Are you using Google Collab? Can you tell me what the root directory is? Is it /content/db
, or /root/invokeai/
? This is the directory that contains invokeai.yaml
.
Not sure what you are trying to do here:
python /content/InvokeAI/scripts/invokeai-model-install.py --root_dir /content/db --yes --add this use full
What you put after --add
is the URL, path or repo_id of a model you want to install. "this use full" isn't either of these.
from invokeai.
Are you using Google Collab? Can you tell me what the root directory is? Is it
/content/db
, or/root/invokeai/
? This is the directory that containsinvokeai.yaml
.Not sure what you are trying to do here:
python /content/InvokeAI/scripts/invokeai-model-install.py --root_dir /content/db --yes --add this use full
What you put after
--add
is the URL, path or repo_id of a model you want to install. "this use full" isn't either of these.
Yes i use colab and invokeai.yaml
in /content/db
directory
from invokeai.
Related Issues (20)
- [bug]: random disconnects 4.1.0 HOT 2
- [bug]: NSFW checker is not working HOT 4
- [enhancement]: Select All (Images) HOT 1
- [enhancement]: Allow Lora slider range to be set per Lora
- [bug]: chown in docker entrypoint causes mounting of config to no longer be possible HOT 3
- [bug]: Manually backing up and restoring models during an upgrade HOT 2
- [bug]: Extremely low image quality on some models HOT 3
- [bug]: Some T2I Adapter settings are not preserved as metadata HOT 1
- AlignYourSteps
- [enhancement]: package for nix/NixOS
- [enhancement]: Gallery management - Categories "Sort by" feature
- [bug]: When I try to install a model in the model manager I get a long error that seems to have something to do with my file path that Invoke is installed in. HOT 1
- [enhancement]: Mark cached models in the dropdown list
- [bug]: Can't add SD XL Inpaint model HOT 2
- Host remote 22 issue connecting refuse HOT 1
- [bug]: 'fromisoformat: argument must be str' HOT 7
- [bug]: Meta Data Lost With Built-In Upscaler HOT 4
- [bug]: On restart of UI, width/height default to 512x512 even if an SDXL model is default.
- [bug]: [v4.2.0a4] Error: Wrong assertion encountered: "Control adapter with id {someUUID} not found" HOT 1
- [bug]: ROCm Out of Memory Errors - Excessive VRAM Allocation HOT 6
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 invokeai.