Skip to content

jasonchoi725/08-cnn-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 

Repository files navigation

08-cnn-project

CNN, image recognition study materials CNN, image recongnition ๊ณต๋ถ€ ์ž๋ฃŒ

๊ณต๋ถ€์ค‘...

https://www.kdnuggets.com/2018/04/building-convolutional-neural-network-numpy-scratch.html https://jonathan-hui.medium.com/gan-dcgan-deep-convolutional-generative-adversarial-networks-df855c438f http://daddynkidsmakers.blogspot.com/2017/02/blog-post_24.html https://www.youtube.com/watch?v=h7iBpEHGVNc&ab_channel=StanfordUniversitySchoolofEngineeringStanfordUniversitySchoolofEngineering https://www.youtube.com/watch?v=f0t-OCG79-U https://www.cs.ryerson.ca/~aharley/vis/conv/flat.html https://www.superdatascience.com/blogs/the-ultimate-guide-to-convolutional-neural-networks-cnn

์–ด๋ ต๋‹ค (์ด์ œ ๋‹ค ์ดํ•ดํ•จ)

๊ณ„์† ๊ณต๋ถ€์ค‘

almost done ์•„์ง ํ•˜๋Š”์ค‘ ๋‹คํ•จ ์ด์ œ rnn

  1. input image (๋„ˆ๋ฌด ํผ. ๊ทธ๋ž˜์„œ ์ž‘๊ฒŒ ๋งŒ๋“ค์–ด์ฃผ๊ฑฐ๋‚˜, ๋Œ€๊ฐ•์˜ ๋Š๋‚Œ์„ ํŒŒ์•…ํ•ด์•ผํ•จ.) ๊ทธ๋ž˜์„œ feature detector๋กœ convolveํ•จ.
  2. ๊ทธ๋ ‡๊ฒŒ ํ•ด์„œ ๋‚˜์˜ค๋Š”๊ฒŒ feature map(=activation map)
  3. ์ด๊ฑธ ์—ฌ๋Ÿฌ๋ฒˆ ํ•ด์„œ feature map์„ ๋ชจ์œผ๋ฉด ๊ทธ๊ฒŒ ํ•˜๋‚˜์˜ convolutional layer๊ฐ€ ๋จ
  4. ๊ทธ๋‹ค์Œ feature map๋“ค์˜ non-linearity์„ ํ‚ค์šฐ๊ธฐ ์œ„ํ•ด์„œ ReLU ํ•จ์ˆ˜์— ํ†ต๊ณผ ์‹œํ‚ด.
  5. ๊ทธ๋‹ค์Œ์— ํ•ด์•ผํ•˜๋Š”๊ฑด pooling์ž„ (์ด๊ฑฐ๋ฅผ ํ•˜๋Š” ์ด์œ ๋Š” ์ด๋ฏธ์ง€์˜ ํ…์Šค์ณ, ์ดฌ์˜ ๊ฑฐ๋ฆฌ, ๊ฐ๋„ ๋“ฑ์œผ๋กœ ์ธํ•œ ์˜ค์ฐจ๋ฅผ ์ตœ๋Œ€ํ•œ ์ค„์ด๊ธฐ ์œ„ํ•ด์„œ์ž„. Max, sum, mean ๋“ฑ์˜ pooling์ด ์žˆ์Œ. ์ด๊ฑฐ๋ฅผ ์ˆ˜ํ–‰ํ•˜๋ฉด 'spatial variance'๋ฅผ ์œ ์ง€ํ•  ์ˆ˜ ์žˆ์Œ)
  6. spatial variance๋Š” ์ค‘์š”ํ•œ๊ฒŒ ์ด๋ฏธ์ง€์—์„œ๋Š” ํ”ฝ์…€๊ฐ„์˜ ๊ณต๊ฐ„์ ์ธ ์ƒ๋Œ€์  ์œ„์น˜๊ฐ€ ์ค‘์š”ํ•˜๊ธฐ ๋•Œ๋ฌธ์ž„.
  7. ํ•˜์—ฌ๊ฐ„ ์ด pooling layer๋ฅผ ์–ป์–ด๋ƒ„.
  8. ๊ทธ๋‹ค์Œ์—” ์ด pooling layer๋“ค์„ ๊ฐ๊ฐ flattening ํ•ด์ค„๊ฑฐ์ž„. ๊ธธ๊ฒŒ ๋Š˜์–ด๋†“๋Š”๊ฑฐ์ž„.
  9. ๊ทธ๋ฆฌ๊ณ  ์ด์ œ ์ด flattened layer๋ฅผ ANN์— ๋„ฃ์–ด์ฃผ์–ด์•ผ ํ•จ.

์ถ”๊ฐ€

About

CNN and image recognition

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published