Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- 원격 데스크톱
- 머신러닝
- wsl2
- 딥러닝
- window11
- Reinforce Learning
- .wslconfig
- VMwawre
- GPU
- cuda
- 밑바닥부터 시작하는 딥러닝
- RuntimeError
- docker
- 가상환경
- tfrecord
- ubuntu
- jupyter notebook
- StyleGAN
- pytorch
- torchmetrics
- 밑시딥1
- Anaconda
- 신경망
- 메모리 제한
- cudnn
- gpu 설정
- 오류 해결
- window
- conda
- 경사법
Archives
- Today
- Total
이제라도 기록하기
[오류 해결] importerror: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' (/opt/conda/lib/python3.8/site-packages/torchmetrics/utilities/data.py) 본문
Error
[오류 해결] importerror: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' (/opt/conda/lib/python3.8/site-packages/torchmetrics/utilities/data.py)
sssky00 2024. 6. 3. 00:11발생한 오류
학습을 진행하려고 하는 중에
importerror: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data'
(/opt/conda/lib/python3.8/site-packages/torchmetrics/utilities/data.py)
에러가 발생하였다.
해결 방법
pip install torchmetrics==0.6.0
Reference
'Error' 카테고리의 다른 글
[오류 해결] ERROR: no matching distribution found for torch==1.7.1+cu110 (0) | 2024.06.03 |
---|---|
[오류 해결] module 'tensorflow._api.v2.io' has no attribute 'tf_record_iterator' (0) | 2024.06.03 |
[오류 해결] unrar : command not found error - ubuntu (0) | 2024.06.03 |
[오류 해결] unzip : command not found - ubuntu (0) | 2024.06.03 |
[오류 해결] runtimeerror: dataloader worker (pid(s) 1534, 1535) exited unexpectedly (0) | 2024.06.03 |