전체보기
-
(Keras) set_image_dim_ordering() -> set_image_data_formatIT 지식 창고 2020. 7. 9. 18:20
tensorflow 2.x가 나오면서, keras 또한 많은 부분이 달라졌는데 하나씩 차이를 찾아보려고 합니다. 변경 전/후 setting : K.set_image_dim_ordering('tf') --> K.set_image_data_format('channels_last') K.set_image_dim_ordering('th') --> K.set_image_data_format('channels_first') checking : K.image_dim_ordering() == 'tf' --> K.image_data_format() == 'channels_last' K.image_dim_ordering() == 'th' --> K.image_data_format() == 'channels_first'
-
(python) sys.argv를 사용하는 경우는 cmd와 같은 창에서 사용IT 지식 창고 2020. 7. 8. 18:12
sys.args는 주로 python shell이나 cmd창과 같은 곳에서 py파일을 실행시킬 때 사용이 됩니다. 따라서, 파이참이나 주피터 노트북에서 run할 때 sys.argv를 활용하는 것이 아닙니다. 예를 들어, test.py가 아래와 같이 있는 경우 import sys print(sys.argv) output은 list로 배출하며, cmd창과 같은 곳에서 >>> python test.py 1 2 3 python 으로 test.py를 실행시키면 ['test.py존재하는 경로', 1, 2, 3, python] 이런식으로 나옵니다.
-
(이미지처리) sobel을 간단하게 설명한 블로그IT 지식 창고 2020. 7. 8. 18:07
https://m.blog.naver.com/PostView.nhn?blogId=roboholic84&logNo=220482877717&proxyReferer=https:%2F%2Fwww.google.com%2F [영상 처리 강좌] 소벨 검출이란? 소벨 엣지 검출기 알아보기 (sobel edge detection) 안녕하세요 이번에는 소벨 검출기를 이용한 가장자리 검출에 대해서 알아보도록 하겠습니다. sobel operato... blog.naver.com 간단히 이해가 바로 되네요
-
(model) Lightgbm Parameter 튜닝 방법- 경험적 요소 지속적 추가IT 지식 창고 2020. 6. 22. 00:07
2020/06/22 https://lightgbm.readthedocs.io/en/latest/Parameters-Tuning.html Parameters Tuning — LightGBM 2.3.2 documentation This page contains parameters tuning guides for different scenarios. Tune Parameters for the Leaf-wise (Best-first) Tree LightGBM uses the leaf-wise tree growth algorithm, while many other popular tools use depth-wise tree growth. Compared with depth-wise lightgbm.readthed..