We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<>:41: SyntaxWarning: "is not" with a literal. Did you mean "!="? <>:44: SyntaxWarning: "is" with a literal. Did you mean "=="? <>:41: SyntaxWarning: "is not" with a literal. Did you mean "!="? <>:44: SyntaxWarning: "is" with a literal. Did you mean "=="? /content ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 62.7 MB/s eta 0:00:00 Mounted at /content/drive Cloning into 'FBCNN'... remote: Enumerating objects: 182, done. remote: Counting objects: 100% (26/26), done. remote: Compressing objects: 100% (22/22), done. remote: Total 182 (delta 20), reused 6 (delta 4), pack-reused 156 (from 1) Receiving objects: 100% (182/182), 43.42 MiB | 14.85 MiB/s, done. Resolving deltas: 100% (27/27), done. Cloning into 'latent-diffusion'... remote: Enumerating objects: 341, done. remote: Counting objects: 100% (157/157), done. remote: Compressing objects: 100% (47/47), done. remote: Total 341 (delta 115), reused 110 (delta 110), pack-reused 184 (from 1) Receiving objects: 100% (341/341), 28.69 MiB | 10.37 MiB/s, done. Resolving deltas: 100% (148/148), done. Cloning into 'taming-transformers'... remote: Enumerating objects: 1342, done. remote: Counting objects: 100% (2/2), done. remote: Compressing objects: 100% (2/2), done. remote: Total 1342 (delta 0), reused 1 (delta 0), pack-reused 1340 (from 1) Receiving objects: 100% (1342/1342), 409.77 MiB | 16.27 MiB/s, done. Resolving deltas: 100% (282/282), done. Obtaining file:///content/taming-transformers Preparing metadata (setup.py) ... done Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from taming-transformers==0.0.1) (2.5.1+cu121) Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from taming-transformers==0.0.1) (1.26.4) Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from taming-transformers==0.0.1) (4.66.6) Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch->taming-transformers==0.0.1) (3.16.1) Requirement already satisfied: typing-extensions>=4.8.0 in /usr/local/lib/python3.10/dist-packages (from torch->taming-transformers==0.0.1) (4.12.2) Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch->taming-transformers==0.0.1) (3.4.2) Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch->taming-transformers==0.0.1) (3.1.4) Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from torch->taming-transformers==0.0.1) (2024.10.0) Requirement already satisfied: sympy==1.13.1 in /usr/local/lib/python3.10/dist-packages (from torch->taming-transformers==0.0.1) (1.13.1) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from sympy==1.13.1->torch->taming-transformers==0.0.1) (1.3.0) Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch->taming-transformers==0.0.1) (3.0.2) Installing collected packages: taming-transformers Running setup.py develop for taming-transformers Successfully installed taming-transformers-0.0.1 --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) [<ipython-input-1-465cc55e5313>](https://localhost:8080/#) in <cell line: 76>() 74 sys.path.append(".") 75 sys.path.append('./taming-transformers') ---> 76 from taming.models import vqgan # checking correct import from taming 77 from torchvision.datasets.utils import download_url 78 get_ipython().run_line_magic('cd', "'/content/latent-diffusion'") 2 frames [/content/./taming-transformers/taming/data/utils.py](https://localhost:8080/#) in <module> 9 import torch 10 from taming.data.helper_types import Annotation ---> 11 from torch._six import string_classes 12 from torch.utils.data._utils.collate import np_str_obj_array_pattern, default_collate_err_msg_format 13 from tqdm import tqdm ModuleNotFoundError: No module named 'torch._six' --------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below. ---------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
Thanks. Seems to be a problem with Taming Transformers. I'll try to fix it soonish. In the meantime, something like this might do the trick:
In first cell, lines 69 and 70:
!git clone https://github.com/CompVis/taming-transformers !pip install -e ./taming-transformers
Replace with this:
!git clone https://github.com/CompVis/taming-transformers %cd taming-transformers !git fetch origin pull/202/head:pr-202 !git checkout pr-202 %cd .. !pip install -e ./taming-transformers
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: