- Today
- Total
목록정리/잡 에러들 (34)
작심삼일
에러 RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf ..
에러 opencv-python==4.8.1.78 일 때 아래와 같은 에러가 발생했다. ImportError: module 'cv2.dnn' has no attribute 'DictValue' 해결 방안 pip install opencv-python==4.8.0.74
에러 torchtext==0.16.0a0 일 때 아래와 같은 에러가 발생했다. ModuleNotFoundError: No module named 'torchtext.legacy' 해결 방법 pip install torchtext==0.12.0
에러 huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. Repository Not Found for url: https://huggingface.co/xxx/xxx/model.pth. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password. 해결 방법 1. 레포 주소를 올바르게 썼는지 확인해본다. 2. private레포라면 huggingface 로그인을 ..
문제 AWS에 큰 파일이 들어있는 repository를 clone하려고 git lfs install을 했는데 설치가 잘 안됐다... 하지만 늘 그렇듯이 방법을 찾아냈지! 해결방법 sudo amazon-linux-extras install epel -y curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash sudo yum install git-lfs -y git lfs install 위 커맨드를 이용하면 git lfs가 설치된다
에러 pytorch_lightning을 import해서 사용하는데 해당 오류가 발생했다. ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' 해결 방법 pytorch_lightning을 설치 시 자동으로 torchmetrics가 자동으로 설치되는데, 이 때 1.0.0버전이 설치되면서 에러가 발생했다. 0.11.1 버전으로 다시 설치해주면 해결된다. pip install torchmetrics==0.11.1
에러 pipe = StableDiffusionControlNetPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16) 위처럼 Diffusers에서 StableDiffusion을 사용할 때 아래와 같은 에러를 만날 수 있다. OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapsho..