You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/bin/image2text.py", line 5, in
from clip_interrogator import Config, Interrogator, list_caption_models, list_clip_models
File "/lib/python3.9/site-packages/clip_interrogator/init.py", line 1, in
from .clip_interrogator import Interrogator, Config
File "python3.9/site-packages/clip_interrogator/clip_interrogator.py", line 30, in
class Config:
File "/lib/python3.9/site-packages/clip_interrogator/clip_interrogator.py", line 53, in Config
device: str = ("mps" if torch.backends.mps.is_available() else "cuda" if torch.cuda.is_available() else "cpu")
AttributeError: module 'torch.backends' has no attribute 'mps'
import torch
torch.version
'1.11.0'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/bin/image2text.py", line 5, in
from clip_interrogator import Config, Interrogator, list_caption_models, list_clip_models
File "/lib/python3.9/site-packages/clip_interrogator/init.py", line 1, in
from .clip_interrogator import Interrogator, Config
File "python3.9/site-packages/clip_interrogator/clip_interrogator.py", line 30, in
class Config:
File "/lib/python3.9/site-packages/clip_interrogator/clip_interrogator.py", line 53, in Config
device: str = ("mps" if torch.backends.mps.is_available() else "cuda" if torch.cuda.is_available() else "cpu")
AttributeError: module 'torch.backends' has no attribute 'mps'
The text was updated successfully, but these errors were encountered: