아나콘다 설치파일 다운 wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh 설치파일 실행 bash Anaconda3-2019.10-Linux-x86_64.sh bashrc 실행 source ~/.bashrc 아나콘다 못 잡을시 : vi ~/.bashrc .bashrc로 들어가 export PATH="/home/username/anaconda3/bin:$PATH" 위 라인을 추가 source ~/.bashrc bashrc 다시 실행 *참조 https://dambi-ml.tistory.com/6 [ Anaconda ] 아나콘다 설치 방법 및 기초 사용법 ( Linux ) 안녕하세요! 오늘 포스팅해볼 내용은 리눅스 환경에서 아나콘다..
*Ubuntu : 18.04 *CUDA : 10.2.89 *CUDNN : 8.2.1 기존 OpenCV 제거 sudo apt-get remove libopencv* sudo apt-get autoremove sudo find /usr/local/ -name "*opencv*" -exec rm {} \; Update & Upgrade sudo apt-get update sudo apt-get upgrade 개발자 도구 설치 sudo apt-get install build-essential cmake unzip pkg-config libraries 설치 sudo apt-get install libjpeg-dev libpng-dev libtiff-dev sudo apt-get install libavcodec-..
자바에서 흔히 정렬을 할때, 정렬 기준을 임의로 바꿔야 할 때가 자주 있다. 이때 Comparator 인터페이스를 사용하면 쉽게 바꿔줄 수 있다. 코드로 한번 보자. ex) class Location { int x; int y; } List locationList = new ArrayList(); locationList.add(new Location()); Collections.sort(locationList, new Comparator() { @Override public int compare(Location o1, Location o2) { if (o1.x == o2.x) { //x가 같을 때, y에 대해선 내림차순 정렬 return o2.y - o1.y; } else return o1.x - o2...