๐Ÿ“ AI & Bigdata

๐Ÿ“ AI & Bigdata/Python

[Tensorflow] ์•„๋‚˜์ฝ˜๋‹ค ๊ฐ€์ƒํ™˜๊ฒฝ์—์„œ ํ…์„œํ”Œ๋กœ์šฐ ์„ค์น˜ํ•˜๊ธฐ

https://deep-eye.tistory.com/7 [Tensorflow] ์•„๋‚˜์ฝ˜๋‹ค ๊ฐ€์ƒํ™˜๊ฒฝ์—์„œ ํ…์„œํ”Œ๋กœ์šฐ ์„ค์น˜ํ•˜๊ธฐ 2019๋…„ ๋ง, ํ…์„œํ”Œ๋กœ์šฐ 2.0 ๋ฒ„์ „์ด ๋ฐฐํฌ๋˜๋ฉด์„œ ๋จธ์‹ ๋Ÿฌ๋‹ ๋ถ„์•ผ์—์„œ ํ…์„œํ”Œ๋กœ์šฐ์˜ ์—ด๊ธฐ๋Š” ๋”์šฑ ๋” ๋œจ๊ฑฐ์›Œ์กŒ์Šต๋‹ˆ๋‹ค. ์ƒˆ๋กœ์›Œ์ง„ ํ…์„œํ”Œ๋กœ์šฐ ์„ค์น˜๋ฅผ ์‹œ์ž‘์œผ๋กœ CNN (Convolutional Neural Network) ๊ธฐ๋ฐ˜์˜ ์ด๋ฏธ์ง€ deep-eye.tistory.com

๐Ÿ“ AI & Bigdata/Computer Vision

[CV] Face Recognition, ์–ผ๊ตด ๋žœ๋“œ๋งˆํฌ ๊ฒ€์ถœ dlib

dlib- ๊ตฌํ˜„https://girlinthemirror.tistory.com/26 dlib ์˜ˆ์ œ - ์–ผ๊ตด ๋žœ๋“œ๋งˆํฌ ๊ฒ€์ถœ face landmarkdlib๊ณผ cv2๋ฅผ ์ด์šฉํ•œ ์–ผ๊ตด ๋žœ๋“œ๋งˆํฌ ๊ฒ€์ถœ ์–ผ๊ตด์˜ ๋žœ๋“œ๋งˆํฌ๋ฅผ ๊ฒ€์ถœํ•˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ธ dlib์„ ์ด์šฉํ•˜์—ฌ ์–ผ๊ตด์— ์ ์ฐ์–ด๋ณด๊ธฐ dlib์˜ get_frontal_face_detector ํ•จ์ˆ˜๋กœ ์–ผ๊ตด ๋””ํ…ํ„ฐ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค๊ณ , shape_predictor๋ฅผgirlinthemirror.tistory.com ์–ผ๊ตด์„ ์ •ํ™•ํžˆ ๊ตฌ๋ณ„ํ•˜๋Š”๊ฒƒ ๋ถ€ํ„ฐ ์‹œ์ž‘ํ•ด์„œ...์–ด๋–ค ํ‘œ์ •์ธ์ง€ ๊ตฌ๋ณ„ํ•˜๋Š” ์—ฐ๊ตฌ๋ผ๋˜๊ฐ€,๋‚˜์ด, ํ”ผ๋กœ๋„ ๋“ฑ๋“ฑ์˜ ์ƒํƒœ๋ฅผ ์ถ”์ •ํ•ด๋ณธ๋‹ค๋˜๊ฐ€,์ด๊ฑธ ์‹ค์‹œ๊ฐ„ ์ดฌ์˜ ์˜์ƒ์—์„œ ์ƒํƒœ๋ณ€ํ™”๋กœ (๋ˆˆ์•Œ ๋Œ์•„๊ฐ€๋Š”๊ฑฐ, ์‹์€๋•€, ์ž…๊ฐ€์˜ ๋–จ๋ฆผ...) ์ธก์ •ํ•ด์„œ ์ข€๋” ์‹ฌ๋ฆฌ์ ์œผ๋กœ ์ •ํ™•ํ•œ(?) ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ถœ..

๐Ÿ“ AI & Bigdata/Computer Vision

[CV] Face recognition ์ด๋ž€?

Face recognitionverification: ๋™์ธ์ธ๋ฌผ์ธ์ง€ ์—ฌ๋ถ€๋ฅผ ๊ฒ€์ฆidentification: ์ €์žฅ๋œ ์ธ๋ฌผ ์ค‘ ๊ฐ€์žฅ ์œ ์‚ฌํ•œ ์‚ฌ๋žŒ์„ ์‹๋ณ„Step(Face image preprocessing)์ด๋ฏธ์ง€์—์„œ ์–ผ๊ตด ์˜์—ญ์„ ์ฐพ์Œ(face detection, ์–ผ๊ตด ๊ฒ€์ถœ)๋ˆˆ๊ณผ ์ฝ” ๋“ฑ ์–ผ๊ตด์˜ ํŠน์ง•์„ ๋‚˜ํƒ€๋‚ด๋Š” ์ ์„ ์ฐพ์Œ(face alignment, ์–ผ๊ตด ์ •๋ ฌ1).์ด ํŠน์ง•์ ์„ ์ด์šฉํ•ด ์–ผ๊ตด ์˜์—ญ์„ ๋™์ผํ•œ ํ˜•ํƒœ์™€ ํฌ๊ธฐ๋กœ ๋ณ€๊ฒฝํ•จ(normalization, ์ •๊ทœํ™”2)Model์ผ๋ฐ˜ ๊ฐ์ฒด ๋ถ„๋ฅ˜ ๋ชจ๋ธ: AlexNet๊ณผ ResNet    ์ดˆ์ฐฝ๊ธฐ ์–ผ๊ตด ์ธ์‹ ๋ชจ๋ธ: DeepFace, DeepID  DeepFace(2014)- FaceNet(2015)- VGGFace(2015)- Arcface(2018) ..

๐Ÿ“ AI & Bigdata/Python

[Python] jupyter ์‚ฌ์šฉ Connecting to kernel ๋ฌธ์ œ

https://lemontia.tistory.com/841 [python3] jupyter ์‚ฌ์šฉ์‹œ Connecting to kernel ๋ฌธ์ œ jupyter์— ํŒŒ์ด์ฌ์„ ์‹คํ–‰ํ•ด๋ณด๋ฉด ์‹คํ–‰๋งŒ ํ•˜๊ณ ์žˆ๊ณ  ์‹ค์ œ ๊ฒฐ๊ณผ๋ฌผ์ด ๋‚˜์˜ค์ง€ ์•Š๋Š”๋‹ค ์‚ฌ์ง„์„ ๋ณด๋ฉด Connecting to kernel ์ด ๋œจ๊ณ , ์‹คํ–‰์„ ํ•˜๊ณ  ์žˆ๋Š” In[*] ์€ ๋๋‚˜์ง€ ์•Š์•˜๋‹ค. ์›นํŽ˜์ด์ง€๋ฅผ ๋ณด๋ฉด Connecting to kernel ์ด lemontia.tistory.com

๐Ÿ“ AI & Bigdata/Python

[Python] ์ฒ˜์Œ๋ถ€ํ„ฐ ์‹œ์ž‘ํ•˜๋Š” pytorch

GPU ์—ฐ์‚ฐ์„ ์ˆ˜ํ–‰ํ•ด์ค„ ์ˆ˜ ์žˆ๋„๋ก ํ•จCUDA:  NVIDIA๊ฐ€ GPU ์—ฐ์‚ฐ์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ๋งŒ๋“  API ๋ชจ๋ธcuDNN: CUDA๋ฅผ ์ด์šฉํ•œ GPU ๊ฐ€์† ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํ”„๋ ˆ์ž„์›Œํฌํ…์„œํ”Œ๋กœ์šฐํŒŒ์ดํ† ์น˜: ์†๋„๋ฉด์—์„œ ์šฐ์ˆ˜์„ค์น˜์•„๋‚˜์ฝ˜๋‹ค(์•„๋‚˜์ฝ˜๋‹ค ์„ค์น˜=> ํŒŒ์ด์ฌ)bash Anaconda ..(๊ฐ€์ƒํ™˜๊ฒฝ ์ƒ์„ฑ)conda create ..์šฐ๋ถ„ํˆฌ ์„œ๋ฒ„๋ฅผ ๊ธฐ์ค€์œผ๋กœ ํŒŒ์ด์ฌ > CUDA > cuDNN > pytorch ํŒŒ์ดํ† ์น˜์—์„œ ๊ฒฝ์‚ฌํ•˜๊ฐ•๋ฒ•torch.tensor ์ธ์ˆ˜๋กœ data, dtype, device, requires_grad ๋“ฑ

๐Ÿ“ AI & Bigdata/NVIDIA

[NVIDIA] Tensorflow NVIDIA ํ˜ธํ™˜

1. NVIDIA ๊ทธ๋ž˜ํ”ฝ ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ https://wjdqh6544.tistory.com/989 ์—”๋น„๋””์•„ ๊ทธ๋ž˜ํ”ฝ ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ ๋ฐฉ๋ฒ• ๋ณธ ํฌ์ŠคํŠธ์—์„œ๋Š” "์—”๋น„๋””์•„ ๊ทธ๋ž˜ํ”ฝ ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ ๋ฐฉ๋ฒ•" ์— ๋Œ€ํ•ด์„œ ์•Œ์•„๋ณธ๋‹ค. ๊ทธ๋ž˜ํ”ฝ ๋“œ๋ผ์ด๋ฒ„๋Š” ๊ทธ๋ž˜ํ”ฝ์นด๋“œ์˜ ์„ฑ๋Šฅ์„ 100% ํ™œ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ ํ•„ํžˆ ์„ค์น˜ํ•ด์ฃผ์–ด์•ผ ํ•˜์ง€๋งŒ, ์œˆ๋„์šฐ์ฆˆ wjdqh6544.tistory.com 2. Anaconda Prompt๋กœ Tensorflow ์„ค์น˜ํ•œ๋‹ค pip freeze pip install tensorflow 3. ๋‚ด๊ฐ€ ์„ค์น˜ํ•˜๊ณ ์ž ํ•˜๋Š” tensorflow gpu์™€ ํ˜ธํ™˜๋˜๋Š” CUDA, cuDNN ๋ฒ„์ „์„ ํ™•์ธํ•œ๋‹ค pip freeze ํ…์„œํ”Œ๋กœ์šฐ ๋ฒ„์ „ ํ™•์ธ ํ›„ ๋ฒ„์ „ ๋‚ฎ์ถ”๋“ ๊ฐ€. 4.

SOIT
'๐Ÿ“ AI & Bigdata' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก (2 Page)