- Today
- Total
목록정리 (106)
작심삼일
에러 RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback): No module named 'torch._six' ModuleNotFoundError: No module named 'torch._six' 해결 방법 pip uninstall -y apex
에러 RuntimeError: Failed to import transformers.data.data_collator because of the following error (look up to see its traceback): 'MachAr' object has no attribute '_str_smallest_normal' AttributeError: 'MachAr' object has no attribute '_str_smallest_normal' 해결 방법 pip install numpy==1.23.1
에러 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 ..
Git repository 변경하기 git remote set-url origin https://github.com/id/repository.git git init git add . git commit git push set-url origin 옆에 새로운 repository 주소를 적으면 된다.
에러 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 로그인을 ..