Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Installation errors #48

Open
MenHimChan opened this issue Mar 6, 2024 · 2 comments
Open

Installation errors #48

MenHimChan opened this issue Mar 6, 2024 · 2 comments

Comments

@MenHimChan
Copy link

Traceback (most recent call last):
File "/home/airs/Clip_Seg/lang-seg/prepare_ade20k.py", line 9, in
from encoding.utils import download, mkdir
File "/home/airs/anaconda3/lib/python3.9/site-packages/encoding/init.py", line 13, in
from . import nn, functions, parallel, utils, models, datasets, transforms
File "/home/airs/anaconda3/lib/python3.9/site-packages/encoding/nn/init.py", line 12, in
from .encoding import *
File "/home/airs/anaconda3/lib/python3.9/site-packages/encoding/nn/encoding.py", line 18, in
from ..functions import scaled_l2, aggregate, pairwise_cosine
File "/home/airs/anaconda3/lib/python3.9/site-packages/encoding/functions/init.py", line 2, in
from .encoding import *
File "/home/airs/anaconda3/lib/python3.9/site-packages/encoding/functions/encoding.py", line 17, in
from encoding import gpu
ImportError: cannot import name 'gpu' from partially initialized module 'encoding' (most likely due to a circular import) (/home/airs/anaconda3/lib/python3.9/site-packages/encoding/init.py)

@enghish
Copy link

enghish commented Mar 12, 2024

Same error with me

@lmc2000
Copy link

lmc2000 commented Sep 25, 2024

Failed to build installable wheels for some pyproject.toml based projects (torch-encoding)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants