2017년 7월 28일 금요일

[vision] filter

필터리스트
http://lodev.org/cgtutor/filtering.html

필터 설명
https://pdfs.semanticscholar.org/fcbf/0322f336f5d2470b623fe4115dd4efbea9b7.pdf

2017년 7월 27일 목요일

[Coding] 계획

1. 설정파일용 XML
2. 로깅
3. 모나드 => 스칼라 익히기 , corsera의 스칼라 강의 보기


최종적 목표 : 모나드를 활용한 어플리케이션 만들기

2017년 7월 18일 화요일

[ Camera ] Depth of Field 구하는법

http://www.slrclub.com/bbs/vx2.php?id=user_lecture&page=1&divpage=2&ss=on&keyword=%BD%C9%B5%B5&select_arrange=headnum&desc=asc&no=9061

http://blog.envision.co.kr/32

2017년 7월 13일 목요일

단식

https://m.blog.naver.com/PostView.nhn?blogId=cesmile&logNo=150172579019&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2F

2017년 7월 10일 월요일

nuget package 등록하기

http://funnygangstar.tistory.com/entry/Nuget-Gallery-%EC%84%9C%EB%B2%84%EC%97%90-%EB%82%B4-%ED%8C%A8%ED%82%A4%EC%A7%80-%EB%93%B1%EB%A1%9D%ED%95%98%EA%B8%B0-Uploading-package-to-nugget-gallery



1 : https://dist.nuget.org/index.html 여기서 nuget.exe 다운후 폴더에 저장 "c:\nuget"

2. 환경변후 의 PATH 항목에 "c:\nuget" 추가

3. cmd 들가서 csproj 파일이 있는 곳으로 가서  nuget spec 으로 만듬

**약간 바뀜
https://docs.microsoft.com/en-us/nuget/create-packages/publish-a-package


폴더 구조는 다음의 링크를 참조


- 폴더 구조 설명
https://docs.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks

- 프레임웍 폴더명
https://docs.microsoft.com/en-us/nuget/reference/target-frameworks#supported-frameworks

[visual studio] project copy or move folder and dll missing probelm

https://stackoverflow.com/questions/33694515/visual-studio-2015-project-missing-all-references




Whenever you import a project to VS 2015 it modifies your .csproj. So, in order to fix it. Right click on .csproj and open it in notepad or any editor and delete the following

  
    This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
  
  


1 :  .csproj에 가서 아랫부분 보면 위의 내용이 있다 .이걸 삭제. 

2 : nuget 에 가서 느낌표가 떠있는 dll 들을 update 한다. 

[wpf] window and control resize automatically

https://stackoverflow.com/questions/19393774/how-to-make-all-controls-resize-accordingly-proportionally-when-window-is-maximi



        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:SerialCommunication"
        mc:Ignorable="d"
        Title="MainWindow" Height="500" Width="525" Loaded="Window_Loaded">
   
       
           
               
               
           

           
           
               
                   
                       
                       
                   
                   
                   
               

           

       
   


2017년 7월 6일 목요일

[ACS Controller] Setting

이더캣 : 컨트롤러 기본 ip 는 10.0.0.100 으로 되어있다.

spiiplus mmi application studio

=> 에서 접속 세팅은

network type
10.0.0.100
포트 701

그전에 반듯이

이더캣이 꼽혀있는 랜카드 속성에서


TCP/IPv4 를 설정 해야 한다.

IP address : 10.0.0.101 < 100으로 하면 안됨. 그외는 됨
subnet mask : 255.255.255.0

으로 세팅

이후에는 된다.

2017년 7월 4일 화요일

2017.07.04 화 배운거

1. 케라스 에서

크로스 엔트로피 시 레이블을 one hot code 로, 최종 아웃풋은 클래스 갯수와 같게 한다.

그리고 마지막 activation 은 softmax로 한다.


2.파이썬

2-1 time 모듈 사용


import time


2-2 리스트에서

a = [ [1]*10 + [0] * 10  ] 은 [ [1] [1] ...] 이지만

b = [ [ 1, 0] * 10 ]은 [ 1, 0 ,1, 0, 1, 0 ...] 이 된다.
b = [ [1 , 0] for i in range(10) ] 이렇게 한다.



3. 디자인 패턴 데코레이터 패턴

장점 : 객체에 추가요소를 동적으로 추가 가능 (동적이란 처음에 정해진대로가 아닌, 나중에 데코레이터로 기능을 확장 할 수 있다는 말.  )

단점: 자잘한 클래스들이 매우 많이 추가 될 수도 있다.

룰:
1.데코레이터 클래스는 상속을 받고, 원래 클래스와 형식이 같아야 한다.





4. cnn, rnn

cnn에서 convolution layer의 아웃풋 shape 는?

original image shape = 128 x 128
filter size = 5
stride = 4

(128 - 5 ) / stride + 1

2017년 7월 3일 월요일

[keras[ keras Install 2017



-------- tensorflow ----

1. Cuda 8.0 / cudnn 5.1 설치 / c++ redistributable 설치

환경변수 설정
https://nitishmutha.github.io/tensorflow/2017/01/22/TensorFlow-with-gpu-for-windows.html




2. anaconda 4.2 나 4.4 설치

anadoncda 설치후
conda upgrade conda

가상 환경시
coonda create -n tf python=3.5.2
activate tf



3. pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.1-cp35-cp35m-win_amd64.whl


GPU 버전 사용시 안된다.
시도했던 방법
텐서플로우는 1.3 버전
1. Python3.5.4 , 3.5.3 버전
2. cudnn5.1 / cuda 8 , cudnn5.1 / cuda 8.2
3. PathEXT에 .DLL 추가
4.

4. import 로 확인.




----- keras ------

conda install pandas matplotlib scikit-learn pip install keras

conda install mingw libpython


pip install keras



--- option --

conda install jupyter notebook

참고로 Keras 설치 전에 jupyter notebook 설치시 keras module을 import 하지 못하는 오류가 있다. 그래서 keras 설치후 jupyter notebook을 설치한다.

* Install Opencv3.2
conda install -c conda-forge opencv=3.2.0