æ¥æ¬ã®å§å¦¹é½å¸
日本の姉妹都市のリストãè¦ã¦ããã大圏コースãæããããªã£ãã®ã§ãmatplotlib + cartopyã§æããã
å°åã«ããªãåããããã
å§å¦¹é½å¸ã®ãªã¹ãã¯このサイトã®æ¹ãå
å®ãã¦ãããã©ãジオコーディングãé¢åã ã£ãã®ã§ãã¹ã
â»åé ã®Wikipediaã®ãã¼ã¸ã¯å°æ°ã®ä¾å¤ãé¤ãã¦åé½å¸ã®ãªã³ã¯å
ã«çµç·¯åº¦ãè¼ã£ã¦ããã®ã§ã¹ã¯ãªããã§ããæ½åºã§ãã
ãã¸ã³ã©ã¼ãã³ã°
ã¿ã¤ãã«ãªãã
åå使ã£ãSSDã§ä»åº¦ã¯å¦ç¿ãããã漫ç»ãã©ã´ã³ãã¼ã«ã®魔人ブウã®æ¤åºã
ãã¼ã¿
ãã¦ã«ã¯ããã¤ãã®å½¢æ ãããã次ã®åé¡ã§ãã£ãã
- ç¡éªæ°ï¼å¤ªã£ã¦ããã¤
- ç´ç²æªï¼ããããã®ãã¤
- æªãç´ç²ï¼ãããã§ã®ãã¤
æªã¨ç´ç²ã¯å½¢æ
ãéãã®ã ããç»åã®ã¢ããã¼ã·ã§ã³ãã¼ã¿ãä½ã£ã¦ãããã¡ã«å¾åé¢åããããªã£ãç»åæ°ãå°ãªãããé 身ã¯ã¨ãããä½æ ¼ã¯ä¼¼éã£ã¦ããã®ã§ä¸ç·ã«ããã
å¦ç¿ãã¼ã¿ããã¹ããã¼ã¿ã¨ãã«LabelImgã§ã¢ããã¼ã·ã§ã³ãã¼ã¿ãä½æãLabelImgã¯PascalVOCãYOLOã®ãã©ã¼ãããã§åºåã§ãããä»åã¯åè
ãé¸æã
ãã¹ã¦ã®ç»åã«ã¤ãã¦ã¢ããã¼ã·ã§ã³ãçµãã£ããssd_kerasãªãã¸ããªã«ããget_data_from_XML.pyãåèã«ãã¦ãpklãã¡ã¤ã«ãä½ããããã§æºåå®äºã
å¦ç¿
åããssd_kearsã«ããSSD_training.ipynbãåèã«ãã¦å®è£
ãã³ã¼ãã¯こちらã
ç»åã®æ°ã絶対çã«è¶³ãã¦ããªãã®ã§ãåå使ã£ããããã¯ã¼ã¯ã®éã¿ããã¼ã¹ã«fine tuningãããå®åç»åã®å¦ç¿æ¸ã¿ãã¼ã¿ã«å¯¾ãã¦ã¤ã©ã¹ãã®fine tuningãã©ãã¾ã§æç¨ãªã®ãç¥ããªããä»ã«é¸æè¢ããªããç´°ãããã¥ã¼ãã³ã°ãæªå®æ½ãã©ããããã¤ãã¼ãã©ã¡ã¼ã¿ãä½ã«å¹ãã®ãç¥ããªããè·äººè¸ã®ä¸çã¨ããå°è±¡ã
ãã¼ãPCã®CPU Corei7-4800MQã ãã§60epochãå
¨é¨ã§ç´280æã®ç»åãã¡ã¤ã«ï¼8å²ãå¦ç¿ãã¼ã¿ãæ®ãããã¹ããã¼ã¿ã«å©ç¨ï¼ã®å¦ç¿ã«å
«æéãããããã£ãã
æ失é¢æ°ã®ã°ã©ããéå¦ç¿ã§ããã
çµæ
è¨ç·´/ãã¹ããã¼ã¿ã«ãªãç»åã§æ¤åºããã¦ã¿ããコードã
ã©ãã«ã¯MujakiãJunsuiAkuãAkuã®ä¸ã¤ã
ãã¯ãç¡éªæ°ä»¥å¤ã¯å¦ç¿ãã¼ã¿ã®æ°ãå§åçã«è¶³ãã¦ããªãã®ã§æ¤åºç²¾åº¦ãæªããä»ã®ç»åã§ããç¹ã«ç´ç²æªã¯ã»ã¨ãã©æ¤åºã§ããªãã£ãã
ä½ãããã£ã¦ããªãä¸ã§é©å½ã«åããã¦ã¿ãã®ã¯ããã¦ã以ä¸ã®æ¬ã§å°ããåå¼·ãããã¨ã«ããã
Pythonã¨Kerasã«ãããã£ã¼ãã©ã¼ãã³ã°
- ä½è : Francois Chollet,å·£ç± æ è¼,æ ªå¼ä¼ç¤¾ã¯ã¤ã¼ã
- åºç社/ã¡ã¼ã«ã¼: ãã¤ããåºç
- çºå£²æ¥: 2018/05/28
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
- ãã®ååãå«ãããã° (2件) ãè¦ã
ç»åã«ã¯ã©ã¦ããè¼ãã
ããã°ã¤ã¤ã¼ãè¶ ããéãã§é©é²ããAIçéã§ã¯ä½ç¾å¨é ããªã®ãããããªãããæ©æ¢°å¦ç¿ã§éã³å§ãããã¾ãã¯å¦ç¿çµæã®åãªãå©ç¨è ã«ãªãã
すやり霞ã¨ãã大åçµµã®è¡¨ç¾ææ³ãããããããªæãã§æ¨ªã«ã³ãã¼ã£ã¨ä¼¸ã³ã¦ããé²ã®ãããªä½ãã
ç»åã«åã£ã¦ããç©ä½ãæ¤åºããçµæã«å¯¾ãã¦ããã®ç©ä½ã«éãªããªãããã«ãããéã®ãããªãã®ãæãã
æ©æ¢°å¦ç¿ã®ã©ã¤ãã©ãªã¯TensorFlowï¼Kerasãç©ä½ã®æ¤åºã¯SSDの学習結果として公開されているサンプルãå©ç¨ããã
Jupyter Notebookã§ãããã試ãã¦ã¿ããipynbãã¡ã¤ã«ã¯こちらãä¸ã®å ç»åã¯ãã¹ã¦PixabayããCC0ã®ãã®ããã¦ã³ãã¼ããã¦ä½¿ã£ãã
ã©ã¹ãäºæã®ã¤ã©ã¹ãã人ã ã¨æ¤åºãã¦ãããä¸çªä¸ã¯äººã¾ãã¯é¦¬ããã¿ãããªãã¨ã«ãªã£ã¦ãããã
SSDã®è«æãè¦ãã¨å
¬éãµã³ãã«ã®å¦ç¿ç¨ãã¼ã¿ã»ããã«ã¯ä»¥ä¸ã使ã£ã¦ããã¨è¨è¼ãããã
- Microsoft COCO trainval35k
- VOC 2007 trainval, test
- VOC 2012 trainval
ãããã®ä¸ã«ã¯ã¤ã©ã¹ãã¯ãªãããã ããæå ã§ããã¤ã試ãã¨ã¿ãããæ¯è¼çãªã¢ã«ã«è¿ãå ´åã¯å²ã¨æ¤åºãã¦ããããç¹å¾´éã¨ãã¦ãä¼¼ã¦ããã®ãï¼ããããã£ã¦ãªãï¼ã
ä»ç¹é³ç¬¦ã®ç¹ãå¢ãã
付点音符ã®ç¹ã®æ°ã«ã¤ãã¦Lilypondã®ã¡ã¢ã
ä¸åããããªãåé¡ãªãéãããããMIDIåºåãã§ããã
\version "2.16.2" \paper { #(set-paper-size "a7" 'landscape) } \header { title = "è¤ä»ç¹" subtitle = " " tagline = ##f } \score { \relative c' { \tempo "Marcato" 4 = 120 \time 4/4 c1.......( f'128) | c,16 d16. e16.. f16... g16.... a16..... b16...... c16....... d | c1 \bar "|." } \layout { } \midi { } }
å®ç¨ä¸ã¯ä¸åã¾ã§ã§å
åã
è½ã¡æ¦è
ãã§ã¹ã®ãã¤ãã§è½ã¡ç©ã²ã¼ã ãã¿ã¤ãã«ã¯å¾ä»ãç¡çç¢çã
åè²ã®ãã¤ããåã¤ä»¥ä¸é£ãªãå ´åã«æ¶ããã¨ããããããæ´¾çã ãç®ãå
ã£ã¦ããé§ã次ã«æ¶ããã
ãªã¬ã³ã¸ã§å²ãã é§äºã¤ãè½ä¸ããã¨ãããäºè²ã®é§ã§ãåºãç¯å²ã§é£ãªããã§ããã
ã©ã®é§ãã©ãã¾ã§é£ãªããè¦æ¥µããã®ã¯é£ããããå
«æ¹ã«æ¡é¦¬é£ã³ãããããé©å½ã«ãã£ã¦ãã¦ãé§ãå¢ããã¨å²ã¨ç°¡åã«*1æ¶ããã
å
«æ¹ã«é£ãªããã¿ã¼ã³ãæèãã¦çµãã®ã¯å¤§å¤ããã ãã©ãé ã®ä¸ã«ãã¿ã¼ã³èªèã®åè·¯ãåºæ¥ä¸ããã°éãå¤æã§ããããã«ãªãã®ã§ã¯*2ãã§ãé£éã¨ãªãã¨ç¸å½é£ãããã ã
ã²ã¼ã ã¨ãã¦é¢ç½ãããã«ã¯ãã£ã¨ã²ãããããããã
EyeProofã§è¦ç·ãå¯è¦åãã
The Eye Tribe Trackerã¯ä»ã®æç¹ã§ã¯éçºè åãããã±ã¼ã¸ãããªããè¦ç·ã®ãã¼ã¿ã使ã£ã¦ä½ããããã¢ããªã±ã¼ã·ã§ã³ã¯èªåã§ä½ãå¿ è¦ããã£ããããããã¤ãæè¿ãThe Eye Tribe Trackerã¨é£æºãã¦è¦ç·ã®ãã¼ã¿ã解æã»å¯è¦åããã¦ã§ãã¢ããªEyeProofãã¹ã¿ã¼ããããä»ã¯ã¾ã ã¯ãã¼ãºãβã ããã©ãä¸è¬å ¬éãããã°ãããã¤ã¹ããè²·ãã°ããã°ã©ã ãä¸è¡ãæ¸ããã«ãã¼ãããããã¹ãã£ã³ãã¹ãä½ããã¨ãã§ããã
åå è ã«å¿åãã¦ãããå½é¸ãã¦æå¾ ã¡ã¼ã«ãå±ããã®ã§ã使ã£ã¦ã¿ã*1ã
æä½ã¯ã¨ã¦ãç°¡åã
- ã¾ãã対象ã¨ããç»å*2ãEyeProofã«ã¢ãããã¼ããã¦ãå示ã¨åãæ¿ãã®ã¿ã¤ãã³ã°ãè¨å®ããã
- 次ã«ãPCã«The Eye Tribe Trackerãç¹ãã§ãå°ç¨ã®ã¯ã©ã¤ã¢ã³ãã½ãããèµ·åãã¦ãå示ãããç»åãçºããã
- æå¾ã«ãããã¤ãç¨æããã¦ãã解ææ¹æ³ã®ã©ããé©ç¨ããããé¸ã¶ãããã ãã§è¦ç·ãå¯è¦åã§ãããå°éç¥èã¯ãããªãã
è¤æ°ã®è¢«é¨è
ã§ãã¼ã¿ãæ¡ã£ã¦ããã®çµ±è¨æ
å ±ãåå¾ãããã¨ãã§ããããã ã
ä¸ã®ç»åã¯ã解ææ¹æ³ã«ã¹ãã£ã³ãã¹ãé¸ãã§å¯è¦åããã¨ããã
çµæ
ã¹ãã£ã³ãã¹ï¼è¦ç·ã®è»è·¡
æãITU Gaze Trackerã¨ããã½ããã¨èªä½ããã°ã©ã ã§スキャンパスのようなものを作ったãã¨ããããããããããã£ã¨ç°¡åã«ç¶ºéºãªçµæãå¾ãããããã«ãªã£ãã
è¦ç·è¿½è·¡ã身è¿ã«ãªã£ã¦ããããããããªãã¼ã¿ãè¦ããã
*1:ã¯ãã¼ãºãβã®å©ç¨è¦ç´ã¯å ¬éããã¦ããªãããéå¶è ã«ã¡ã¼ã«ãã¦ããµã¼ãã¹ã使ã£ãçµæã«ã¤ãã¦ããã°ã«æ¸ãã¦ããã¨è¨±å¯ãå¾ã
*2:ãããæ¸ãã¦ããæç¹ã§ã¯å¯¾å¿ãã¦ãããã¼ã¿ã¯ç»åã ãã ããä»å¾ã¯ã¦ã§ããµã¤ããåç»ã«ã対å¿ããäºå®ããã
ç¾äººä¸é¦ã®å½¢æ ç´ è§£æ
Ubuntu 14.04 LTSããªãªã¼ã¹ãããã
å°ãåã«ã¯中古和文UniDicãæ´æ°ããã¦ããã
ä½ã®é¢ä¿æ§ããªããã©ãæ°ããä»®æ³ç°å¢ãä½ã£ã¦éãã ã
åã«ãã£ãã¨ãã®è¨äºï¼MeCabで古文の形態素解析ã
ãã¦ãå°åç¾äººä¸é¦ã第85çªã解æã«ãããã¨ããããããªããå¤ãããããã¨ãã®ã¾ã¾åºã¦ããã
解æã«å¤±æãã¦ããã®ã§ã¯ã¨çã£ã¦æå³ãæ¤ç´¢ããï¼ç¡æé¤ï¼ã
echo "å¤ãããã ç©æãµãã㯠æããã㧠é¨ã®ã²ã¾ã㸠ã¤ããªãããã" | mecab -d ./unidic-mecab/ å¤ãããã å¯è©,*,*,*,*,*,ã¨ã¢ã¹ã¬ã©,å¤ãããã,å¤ãããã,ã¨ã¢ã¹ã¬ã©,ã¨ã¢ã¹ã¬ã©,å,å¤ãããã,ã¨ã¢ã¹ã¬ã©,ã¨ã¢ã¹ã¬ã©,ã¨ã¢ã¹ã¬ã©,*,*,*,*,*,*,"0,3",*,* ç© åè©,æ®éåè©,ãµå¤å¯è½,*,*,*,ã¢ã,ç©,ç©,ã¢ã,ã¢ã,å,ç©,ã¢ã,ã¢ã,ã¢ã,*,*,*,*,*,*,"2,0",C4,* æãµ åè©,ä¸è¬,*,*,æèªå段-ãè¡,é£ä½å½¢-ä¸è¬,ãªã¢ã¦,æã,æãµ,ãªã¢ã¦,ãªã¢ã,å,æãµ,ãªã¢ã¦,ãªã¢ã,ãªã¢ã¦,*,*,*,*,*,*,2,C1,* ãã åè©,æ®éåè©,å¯è©å¯è½,*,*,*,ã³ã,é ,ãã,ã³ã,ã³ã,å,ãã,ã³ã,ã³ã,ã³ã,ã³æ¿,åºæ¬å½¢,*,*,*,*,1,C3,* 㯠å©è©,ä¿å©è©,*,*,*,*,ã,ã¯,ã¯,ã¯,ã,å,ã¯,ã¯,ã,ã,*,*,*,*,*,*,*,"åè©%F2@0,åè©%F1,形容è©%F2@-1",* æã åè©,ä¸è¬,*,*,æèªä¸äºæ®µ-ã«è¡,é£ç¨å½¢-ä¸è¬,ã¢ã±ã«,æãã,æã,ã¢ã±,ã¢ã±,å,æã,ã¢ã¯,ã¢ã¯,ã¢ã¯,*,*,*,*,*,*,0,C2,* ãã åè©,éèªç«å¯è½,*,*,æèªå段-ã©è¡,æªç¶å½¢-ä¸è¬,ã¤ã«,é£ã,ãã,ã¤ã©,ã¤ã©,å,ãã,ã¤ã«,ã¤ã«,ã¤ã«,*,*,*,*,*,*,0,C4,* 㧠å©è©,æ¥ç¶å©è©,*,*,*,*,ã,ã§,ã§,ã,ã,å,ã§,ã,ã,ã,*,*,*,*,*,*,*,åè©%F2@0,* é¨ åè©,æ®éåè©,ä¸è¬,*,*,*,ãã¤,é¨,é¨,ãã¤,ãã¤,å,é¨,ãã¤,ãã¤,ãã¤,*,*,*,*,*,*,"1,2",C3,* ã® å©è©,æ ¼å©è©,*,*,*,*,ã,ã®,ã®,ã,ã,å,ã®,ã,ã,ã,*,*,*,*,*,*,*,åè©%F1,* ã²ã¾ åè©,æ®éåè©,å½¢ç¶è©å¯è½,*,*,*,ãã,æ,ã²ã¾,ãã,ãã,å,ã²ã¾,ãã,ãã,ãã,*,*,*,*,*,*,0,C3,* ã㸠å©è©,å¯å©è©,*,*,*,*,ãµã¨,ãã,ãã¸,ãµã¨,ãµã,å,ãã¸,ãµã¨,ãµã,ãµã¨,*,*,*,*,*,*,*,"åè©%F2@1,åè©%F2@0,形容è©%F2@-1",* ã¤ããªãã 形容è©,ä¸è¬,*,*,æèªå½¢å®¹è©-ã¯,é£ç¨å½¢-è£å©,ãã¬ãã¤,ã¤ããªã,ã¤ããªãã,ãã¬ãã«ãª,ãã¬ãã«ãª,å,ã¤ããªã,ãã¬ãã·,ãã¬ãã·,ãã¬ãã·,*,*,*,*,*,*,3,C1,* ãã å©åè©,*,*,*,æèªå©åè©-ã±ãª,çµæ¢å½¢-ä¸è¬,ã±ãª,ãã,ãã,ã±ãª,ã±ãª,å,ãã,ã±ãª,ã±ãª,ã±ãª,ã±æ¿,åºæ¬å½¢,*,*,*,*,*,*,* EOS
ç¾é¦ãã¹ã¦è§£æãã¦ãåè©ã¨åèªã®åºç¾é »åº¦ãmatplotlibã§åã°ã©ãã«ããã
åè©ã®åºç¾é »åº¦ãn=550ã
åèªã®åºç¾é »åº¦ã
ä¸ä½11ä½ä»¥ä¸ãããã®ä»ãã«ããã¨å©è©ã¨å©åè©ããä¸ä½ã«æ¥ãªãã
èªç«èªã¨ä»å±èªã§åããå ´åã
èªç«èªã¯ã¾ã ããã®ä»ããå§åçã«å¤ãã
åè©ãã¨ã«åããå ´åã
åè©ãä¸çªè±ãã
å½¢ç¶è©ã£ã¦ä½ã ããã
ã¨ããã§ãä»åã®çµæã§ã¯æ¥ç¶è©ã¨ãã¦å¯ä¸ããã¦ããåºã¦ãããããããã«åæã«æ¥ç¶è©ã¯ãªãã ããã¨æã£ã¦åæãæ¤ç´¢ãã¦ã¿ããã
æã²ãã³ ãã¦ããã®ã¡ã¯ ãããã®ã æãã«ãã¸ã¬ã¯ æ¶ãªããã
ã®å¯è©ããã¦ããã誤ã£ã¦è§£æãã¦ãããã¨ãåãã£ãã
ãã®åèªãã確èªãã¦ããªããã©ãä»ã«ã誤ãã¯ããã¨æã£ãæ¹ããããé«æ ¡çãå¤æã®å®¿é¡ã解ãã®ã«å
¨é¢çã«ä¿¡é ¼ãã¦ä½¿ã£ã¦ã¯ãããªãã