CUDNN 버젼확인 Terminal Command
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2orcat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2
Cuda Toolkit Download Link
https://developer.nvidia.com/cuda-toolkit-archive
CUDA Toolkit Archive
Previous releases of the CUDA Toolkit, GPU Computing SDK, documentation and developer drivers can be found using the links below. Please select the release you want from the list below, and be sure to check www.nvidia.com/drivers for more recent production
developer.nvidia.com
CUDNN Download Link
https://developer.nvidia.com/rdp/cudnn-archive
cuDNN Archive
NVIDIA cuDNN is a GPU-accelerated library of primitives for deep neural networks.
developer.nvidia.com
다운로드 방법
1. Windows
다운로드한 cuDNN 파일의 압축을 풀고 각각의 폴더에 해당하는 파일들을 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v버전의 폴더로 옮긴다
나는 CUDA 버전이 10.1이어서 파일의 옮길 경로는 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1이다. (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA에는 v버전명 폴더 하나만 있을 것이다. 그렇기 때문에 경로를 혼동할 일은 크게 없을 것 같다)
그리고 압축을 푼 cuDNN 파일들을 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1로 옮겨서 bin, include, lib 폴더를 덮어씌웠다.
2. Linux
Copy the following files into the CUDA Toolkit directory.
sudo cp cuda/include/cudnn*.h /usr/local/cuda/include
sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64
sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*
Tensorflow, CUDA, CUDNN 호환성 확인
https://www.tensorflow.org/install/source#tested_build_configurations
작동확인
2. Tensorflow Code 실행
먼저 Anaconda Prompt에서 python이라고 쳐서 파이썬을 실행한다. 그리고 tensorflow의 test 모듈로 잘작동하는지 확인해본다. (ex)test.is_built_with_cuda() 함수로 CUDA GPU가 작동하는지 확인할 수 있다.
다른 test 모듈의 함수들은 https://www.tensorflow.org/api_docs/python/tf/test에서 찾을 수 있다.
소스에서 빌드 | TensorFlow
Google은 흑인 공동체를 위한 인종적 평등을 추구하기 위해 노력하고 있습니다. 자세히 알아보기 소스에서 빌드 소스에서 TensorFlow pip 패키지를 빌드하고 Ubuntu Linux 및 macOS에 설치합니다. 명령어는
www.tensorflow.org
GAN 기반 이상탐지 정리(사진있음)
https://spri.kr/posts/view/23193?code=industry_trend
논문요약 - TadGAN:Time Series Anomaly Detection Using Generative Adversarial Networks
https://smilegate.ai/2021/06/01/tadgan/ -> 정리 잘돼있음
https://analyticsindiamag.com/hands-on-guide-to-tadgan-with-python-codes/ GAN 예제
https://kejdev.github.io/posts/TadGAN/TADGAN 소스코드
인공지능 기반 이상감지 기술 - SPRi
코로나 팬데믹 시대에 우리의 일상엔 많은 변화가 있었다. 소소하게는 마스크 착용부터 시작해서 비자발적인 직업의 변화를 겪기도 했고, 비대면 수업, 재택 근무와 같이 예전에 하던 활동이라
spri.kr
1. Timeseries anomaly detection using an Autoencoder
- Example URL : https://keras.io/examples/timeseries/timeseries_anomaly_detection/
- 실행환경 :
Cuda 10.0 / Tensorflow 2.0.0 -> 정상 작동 안함.
- Tensorflow 2.1 이상에서 작동해야 할듯. But CUDA10.0은 Tensorflow2.0 까지 밖에 지원안함.. 3090 환경에서 돌려야할듯
Keras documentation: Timeseries anomaly detection using an Autoencoder
Timeseries anomaly detection using an Autoencoder Author: pavithrasv Date created: 2020/05/31 Last modified: 2020/05/31 Description: Detect anomalies in a timeseries using an Autoencoder. View in Colab • GitHub source Introduction This script demonstrate
keras.io
Anomaly Detection 알고리즘
-> Omni anomaly Detection Github Source
https://github.com/NetManAIOps/OmniAnomaly#readme NetManAIOps / OmniAnomaly
'ML or DL > 개발환경' 카테고리의 다른 글
[Jupyter notebook] notebook 폰트 변경 (0) | 2022.01.20 |
---|---|
[딥러닝 환경구축] Pytorch 설치 / RTX 3090 에 맞는 pytorch 설치 (0) | 2021.10.26 |
[Jupyter notebook] Jupyter Notebook에서 import torch 안될 때 (0) | 2021.10.26 |
Termnial Command (0) | 2021.09.01 |
[딥러닝 환경구축(1/3)] RTX 2080 ti + Ubuntu 18.04 + CUDA + cuDNN (0) | 2021.08.27 |