Notice
Recent Posts
Recent Comments
Link
250x250
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- processstart
- pyautogui
- 사무자동화 #Selenium
- yolo
- google cloud
- objectdetection
- ironpython
- computervision
- pythonnet
- pypdf2
- 파이썬 #업무자동화 #python
- YOLOv5
- Text-to-Speech
- 업무자동화
- 사무자동화
- DeepLearning
- YOLOv7
- Text To Speech
- Google API
- pdf merge
Archives
- Today
- Total
Doarchive
[Colab] 기본세팅 본문
728x90
1.Gpu Setup


2. Mount Google drive
from google.colab import drive
drive.mount('/content/gdrive')
!ls

2. Install CUDA
//setting 확인
!/usr/local/cuda/bin/nvcc --version
//cuda 설치 (최신버전 까니까 컴파일이 안됨 이전버전 설치 할것 colab 환경은 리눅스기때문에 리눅스 버전을 다운 받아야함)
!tar -xzvf gdrive/My\ Drive/darknet/cuDNN/cudnn-10.1-linux-x64-v7.6.5.32.tgz -C /usr/local/
!chmod a+r /usr/local/cuda/include/cudnn.h
!cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

2. Install DarkNet
//git clone
!git clone https://github.com/kriyeng/darknet/
%cd darknet
//git checkout
!git checkout feature/google-colab
//build
!make
//실행파일생성
import os
if not os.path.exists('/content/gdrive/My Drive/darknet/bin'):os.makedirs('/content/gdrive/My Drive/darknet/bin')
!cp ./darknet /content/gdrive/My\ Drive/darknet/bin/darknet


728x90
'Computer Vision > Deep learning' 카테고리의 다른 글
| Keras Mnist dataset 을 로드 할 수 없을 때 (Mac) (0) | 2021.04.09 |
|---|---|
| virtualenv 사용법 (0) | 2021.04.09 |
| [Conda] anaconda 가 설치되어있음에도 command not found: conda 가 뜨는 경우 (0) | 2021.01.27 |
| [YOLO] Darkflow 사용해보기 (0) | 2021.01.21 |
| [Open Source] LabelImg - annotation 작업을 쉽게 (0) | 2021.01.21 |