์ ์ฒด ๊ธ72 Multi-GPU Model์์ h5(hdf5)๋ฅผ ๋ก๋ํ์ง ๋ชปํ๋ ๋ฌธ์ ๋ฌธ์ ๊ฐ์ Multi-GPU Model๋ก ํ์ต์ํค๊ณ h5(hdf5)๋ก ์ ์ฅํด๋ ๋ค์, ๋์ค์ ๋ถ๋ฌ์ฌ ๋ layers ์๊ฐ ๋ง์ง ์๋ค๊ณ ์๋ฌ๊ฐ ๋จ ์ด๋ฏธ ๋ง์ด ์๋ ค์ง ๋ฒ๊ทธ ํด๊ฒฐ์ฑ ๊ฐ์ Multi-GPU Model๋ก ํ์ตํ weight๋ฅผ (Multi-GPU๋ก compileํ์ง ์์) Base Model์ setํ ๋ค์ h5(hdf5)๋ก ์ ์ฅ Epoch๊ฐ ๋ชจ๋ ๋๋ ๋ค์ model.save()๋ ๋๋ต ์๋์ ๊ฐ์ด ํ๋ฉด ๋์ง๋ง... ... parallel_model, base_model = get_compiled_model(...) parallel_model.fit(...) base_model.set_weights(parallel_model.get_weights()) base_model.save(filepath).. 2019. 8. 13. Variable Scope ๊ณต๋ถ ์ฝ์ ์๋ฃ: https://tensorflowkorea.gitbooks.io/tensorflow-kr/content/g3doc/how_tos/variable_scope/ ์ฃผ์ ํจ์ - tf.get_variable(, , ): ์ ๋ ฅ๋ ์ด๋ฆ์ ๋ณ์๋ฅผ ์์ฑํ๊ฑฐ๋ ๋ฐํ - tf.variable_scope(): tf.get_variable()์ ์ ๋ฌ๋ ์ด๋ฆ์ ๋ค์์คํ์ด์ค๋ฅผ ๊ด๋ฆฌ (with์ ํจ๊ป ์ฐ์) - tf.get_variable_scope(): ํ์ฌ variable scope๋ฅผ ๋ฐํ tf.get_variable() - tf.Variable()์ฒ๋ผ ์ง์ ๊ฐ์ ์ ๋ฌํ์ง ์๊ณ Initializer๋ฅผ ์ฌ์ฉ tf.constant_initializer(value): ์ ๊ณต๋ ๊ฐ์ผ๋ก ๋ชจ๋ ๊ฒ์ ์ด๊ธฐํ tf.random_u.. 2019. 8. 13. Attention ๊ณต๋ถ ์ฝ์ ์๋ฃ: https://youtu.be/iDulhoQ2pro https://hulk89.github.io/neural%20machine%20translation/2017/04/04/attention-mechanism/ Image Captioning https://github.com/zzsza/Deep_Learning_starting_with_the_latest_papers/blob/master/Lecture_Note/03.%20CNN%20Application/12.Image-Captioning.md https://greeksharifa.github.io/computer%20vision/2019/04/17/Visual-Question-Answering/ - Image captioning: ์ด๋ฏธ์ง๋ฅผ ์ฃผ๋ฉด.. 2019. 8. 12. Attention Is All You Need ๊ณต๋ถ BLUE Score https://donghwa-kim.github.io/BLEU.html ์์ฝ: X label๊ณผ Y label์ด ๋ชจ๋ ๋จ์ด๋ค์ ์ํ์ค (์ฆ ๋ฌธ์ฅ) ์ผ ๋ ์ฌ์ฉํ๋ ์ฑ๊ณผ ์งํ. Precision, Clipping, Brevity penalty ๊ฐ๋ ์ ์ฌ์ฉํ๋ค. ์ ๊ธ์ ์ดํดํ๊ธฐ ์ข๊ฒ ์ ์ ๋ฆฌ๊ฐ ๋์ด์๋ค. n-gram์ ์ฐ์๋ n๊ฐ์ ํ ํฐ(๋จ์ด)์ด๋ค. Attention ๊ด๋ จ ์๋ฃ http://www.modulabs.co.kr/?module=file&act=procFileDownload&file_srl=20068&sid=c11da8e0ec9d00ea4fdc828fa2bff90a&module_srl=18361 ๋ชจ๋์ ์ฐ๊ตฌ์ - ๊ฐ๋จํ ๋ฐํ ์๋ฃ https://jalammar.github.io/.. 2019. 8. 9. ResNet ๊ณต๋ถ ์ฝ์ ์๋ฃ: https://dnddnjs.github.io/cifar10/2018/10/09/resnet/ Fine tuning https://eehoeskrap.tistory.com/186 Parameter & Hyperparameter https://datascience.stackexchange.com/questions/17635/model-parameters-hyper-parameters-of-neural-network-their-tuning-in-training Neural network์ Parameter๋ ์ผ๋ฐ์ ์ผ๋ก Connection์ Weights๋ฅผ ๋งํ๋ค. ์ด Parameters๋ Training stage์์ ํ์ต๋๋ค. ๊ทธ๋์ ์๊ณ ๋ฆฌ์ฆ ์์ฒด (๊ทธ๋ฆฌ๊ณ ์ธํ ๋ฐ์ดํฐ๋) ์ด Parameter.. 2019. 7. 31. Simultaneous Recognition of Horizontal and Vertical Text in Natural Images (2018.12) DEM (Directional Encoding Mask) - Text์ Directional information์ด ๋ด๊ฒจ์๋, ์ธํ ์ด๋ฏธ์ง์ ์ฌ์ด์ฆ๊ฐ ๊ฐ์ 2D ์ด๋ฏธ์ง - ๊ฐ๋ก ํ ์คํธ์ ๊ฒฝ์ฐ: cos(0.5 * normalized_width * pi) - ์ธ๋ก ํ ์คํธ์ ๊ฒฝ์ฐ: sin(0.5 * normalized_width * pi) - ์ธํ ์ด๋ฏธ์ง์ Concatenate ๋์ด CNN์ ์ธํ์ผ๋ก ๋ค์ด๊ฐ๋ ํํ SAN (Selective Attention Network) - Text direction์ ๋ฐ๋ผ ๋ค๋ฅด๊ฒ ํ๋ํ๋ ๋ ๊ฐ์ง Attention mask๋ฅผ ๊ฐ์ง 2019. 7. 29. ์ด์ 1 ยทยทยท 9 10 11 12 ๋ค์