Python46 [PyTorch] CUDA capability sm_86 is not compatible with the current PyTorch installation 실험도 여러 개 하고.. 장비도 여러 개 사용하다보니 환경 문제에 자주 부딪힌다. 오늘은 DeepFake 오픈소스 좀 돌려보려 했더니 이런 에러가 떴다. 오픈소스 requirements에는 pytorch 1.8.1, cuda 10.2 를 사용해서 # CUDA 10.2 conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=10.2 -c pytorch 이 명령어로 설치했었는데.. 이 버전이랑 RTX A5000이랑 안맞나보다ㅜ 결국 노가다로 맞는 버전 찾을 수 밖에ㅡㅜㅠ 아래 명령어로 pytorch랑 cudatoolkit을 지우고 다시 깔아보자. conda uninstall pytorch cudatoolkit PyTorch .. 2022. 12. 12. 경로 내의 파일명 가져오는 방법 딥러닝 모델을 학습시키기 위해서는 파일시스템에서 데이터셋을 가져와야 한다. 여러 개의 이미지로 구성된 데이터셋을 가져오려면 파일시스템에서 정해진 경로 내에 있는 모든 파일명을 읽어올 필요가 있다. 경로 내의 파일명을 가져오는 코드는 다음과 같다. dir_name = "D:/Dataset/Training_Dataset/" train_list = os.listdir(dir_name) 2022. 7. 15. [Tensorflow] Pycharm tensorflow Error This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX AVX2To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 프로그램을 돌려보니 위와 같은 에러 메세지가 떴다.에러라기보단 워닝에 가까운것 같은게, 그 뒤의 프로그램들은 오류 없이 잘 실행되었다. 위와 같은 경고 메세지를 없애는 방법은 간단하다. import osos.environ['TF_CPP_MIN_LOG.. 2022. 5. 25. [Anaconda]sudo 명령어 없이 ffmpeg 설치 https://anaconda.org/conda-forge/ffmpeg Ffmpeg :: Anaconda.org Cross-platform solution to record, convert and stream audio and video. anaconda.org To install this package with conda run one of the following: conda install -c conda-forge ffmpeg conda install -c conda-forge/label/gcc7 ffmpeg conda install -c conda-forge/label/broken ffmpeg conda install -c conda-forge/label/cf201901 ffmpeg conda i.. 2022. 5. 23. 이전 1 ··· 5 6 7 8 다음