Stuck on ldm. Any ideas on how to fix it? (Windows)
#UPDATED! I'm stuck on this:
SUCCESS: Specified value was saved.
(visgpt) C:\Users\itswi\visual-chatgpt>mkdir image
(visgpt) C:\Users\itswi\visual-chatgpt>python visual_chatgpt.py
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Users\itswi\visual-chatgpt\visual_chatgpt.py:26 in
(visgpt) C:\Users\itswi\visual-chatgpt>pip install ldm Collecting ldm Downloading ldm-0.1.3.tar.gz (6.1 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: ldm Building wheel for ldm (setup.py) ... done Created wheel for ldm: filename=ldm-0.1.3-py3-none-any.whl size=6228 sha256=c873edd9da3840ccadbd5c39e37664b890c9941c7ad8f1d7bbba47a07921f1f3 Stored in directory: c:\users\itswi\appdata\local\pip\cache\wheels\c2\f5\78\5d08a3bc3b3a8ade07c0089eacb49f2a2e11e04a5d7e7daad1 Successfully built ldm Installing collected packages: ldm Successfully installed ldm-0.1.3
(visgpt) C:\Users\itswi\visual-chatgpt>python visual_chatgpt.py
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Users\itswi\visual-chatgpt\visual_chatgpt.py:26 in
(visgpt) C:\Users\itswi\visual-chatgpt>
The "module" is actually a folder (subfolder). That's the thing I have been confused about with Python for a year easily. :-) For example, you could git clone https://github.com/lllyasviel/ControlNet.git and then copy the /ldm /cldm and /annotators you found in that folder you just git cloned, and move them to ./visual-chatgpt.
For example, this fancy from ldm.util import instantiate_from_config pretty much means it is looking for a folder called ldm in C:\Users\itswi\visual-chatgpt, meaning it wants C:\Users\itswi\visual-chatgpt\ldm and then it wants a util.py file to be there so it can load instantiate_from_config from it: C:\Users\itswi\visual-chatgpt\ldm\util.py is what it wants to be there.
Also, just put an empty text file in the visual-chatgpt folder and rename it to: init.py
Trust me. ;-) (It actually tells Python that this is something it can ingest, and often contains much more details on what specifically can and should be ingested from subfolders. You can look at more init.py that will be abundant in your [system-python-dir] to see how that works.)
NARF. Git renamed that. There is two underscores before init.py, and then two underscores after the init. Let's try this: --init--.py If you can see two --, then just replace that with two of _underscores.
[quick one] Seems issues #20 and #23 are related.