전체 글
-
(caffe) faster R-CNNdev 2016. 10. 6. 20:30
proposal_layer.py에서 min_size error. bbox 덤프 떠보면 전부 NaN임.-> 학습하다 exploded 된 것으로 보임. 해결방법 : NaN일 때 해결은? lr 다운 /faster-rcnn-py/tools/../lib/fast_rcnn/bbox_transform.py:50: RuntimeWarning: overflow encountered in exp pred_h = np.exp(dh) * heights[:, np.newaxis] faster-rcnn-py/tools/../lib/rpn/proposal_layer.py:176: RuntimeWarning: invalid value encountered in greater_equal keep = np.where((ws >= min..
-
(caffe) 설치하기카테고리 없음 2016. 10. 2. 12:45
# 1. caffe repository 다운로드git clone https://github.com/BVLC/caffe.git caffe-master # 2. 빌드 하기 위해서 default make config file 복사cp Makefile.config.example Makefile.config # 3. 빌드make all -j && make test && make runtest # 4. caffe 실행 테스트./build/tools/caffe # ===== caffe Makefile.config의 주요 수정 옵션 ===== ### (1) GPU가 없을 때# ==> CPU_ONLY := 1 의 주석 해제## (2) 시스템 기본 cuda 외에 다른 버전을 사용하려고 할 때# ==> CUDA_DIR 에 ..
-
(python) function을 파라메터로 받기dev 2016. 8. 24. 19:11
def add(x1, x2): return x1 + x2 def sub(x1, x2): return x1 - x2 def call(function, *args, **kwargs): val = function(*args, **kwargs) print val >>> call(add, 1, 2)3>>> call(sub, 1, 2)-1 ref. http://jhproject.tistory.com/109# type args args = (3, ) + args# type kwargs ex 2. >>> def call(param1, param2, function, *args, **kwargs):... print 'param1', param1... print 'param2', param2... new_args = (p..
-