Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ABC2019 Spring

ABC2019 Spring

5月26日に開催された「Android Bazaar and Conference 2019 Spring」の発表資料です。

** このプログラムには、一部の成人の方が不愉快に感じられる表現、また未成年には不適切な表現が含まれている可能性があります。聴講には参加者または保護者の判断が必要です。 **

ARIYAMA Keiji

May 26, 2019
Tweet

More Decks by ARIYAMA Keiji

Other Decks in Technology

Transcript

  1. C-LIS CO., LTD.   ༗ࢁܓೋʢ,FJKJ"3*:"."ʣ $-*4$0 -5% Photo :

    Koji MORIGUCHI (MORIGCHOWDER) "OESPJEΞϓϦ։ൃνϣοτσΩϧ ػցֶश͸ͪΐͬͱ΍ͬͨ͜ͱ͋Γ·͢ ΍ͬͯ·ͤΜ
  2. ϓϩάϥϛϯάͱػցֶश   Programming Machine Learning Rules Data Answer Rules

    Data Answer IUUQTXXXZPVUVCFDPNXBUDI WUKT)4*(*U
  3.   ධՁ༻αʔόʔ ܇࿅ɾֶश༻αʔόʔ܈ σʔληοτసૹ ʢTFRecordʣ ֶशࡁϞσϧऔಘ ը૾औಘ ը૾औಘ ϥϕϧ

    ෇͚ σʔληοτ؅ཧ αʔόʔ ը૾ऩूݩ ը૾ऩू ϥϕϧ ෇͚ σʔληοτ
 ؅ཧΞϓϦ playground.megane.ai ֶशࡁΈϞσϧ഑ஔ
  4. 3FTJEVBM/FUXPSLT   DPOW YY GD  GD  

    YY %SPQPVU  %SPQPVU  DPOW YY DPOW YY CPUUMFOFDL DPOW YY TUSJEF QPPMJOH SFTJEVBM@CMPDL@  SFTJEVBM@CMPDL@  SFTJEVBM@CMPDL@  SFTJEVBM@CMPDL@  SFTJEVBM@CMPDL@  SFTJEVBM@CMPDL@  SFMV SFMV SFMV SFMV SFMV CO CO
  5. ֶशɾ܇࿅   Ϟσϧ [0.0 - 1.0] 1.0 or 0.0

    ग़ྗ ਖ਼ղσʔλ ʢڭࢣ৴߸ʣ ... ϥϕϧ 4JHNPJE
  6. ϥϕϧͷछྨ PSJHJOBM@BSU OTGX GBWPSJUF QIPUP JMMVTU DPNJD   GBDF

    GFNBMF NFHBOF TDISPPM@VOJGPSN CMB[FS@VOJGPSN TBJMPS@VOJGPSN HM LFNPOP NBMF CM DBU EPH GPPE EJTMJLF
  7.   Positive Negative Positive Rate megane 18,715 25,689 0.4215

    nsfw 16,720 21,036 0.4428 favorite 16,004 12,415 0.5631 photo 16,136 14,010 0.5353 illust 24,252 14,021 0.6337 comic 4,052 14,564 0.2177 cat 5,080 16,090 0.2400 food 5,795 14,167 0.2903 (2019.05.26)
  8. େ͖ͳภΓͷ͋Δσʔλ   Positive (>= 0.5) Negative (< 0.5) Positive

    Rate megane 164,872 5,905,699 0.02715 nsfw 827,529 5,136,725 0.1387 (2019.05.26)
  9. ධՁσʔλ Positive Samples True PositiveʢTPʣ False PositiveʢFPʣ Negative Samples True

    NegativeʢTNʣ False NegativeʢFNʣ   1PTJUJWF/FHBUJWFαϯϓϧ͸ಠཱͯ͠ධՁ͢Δ
  10.   (2019.05.26) Positive Negative Positive Rate Sensitivity Specificity megane

    18,715 25,689 0.4215 0.8917 0.9469 nsfw 16,720 21,036 0.4428 0.8242 0.8786 favorite 16,004 12,415 0.5631 0.8729 0.7648 photo 16,136 14,010 0.5353 0.9764 0.9339 illust 24,252 14,021 0.6337 0.9616 0.9539 comic 4,052 14,564 0.2177 0.9516 0.9794 cat 5,080 16,090 0.2400 0.9156 0.9376 food 5,795 14,167 0.2903 0.8898 0.9691 ֤Ϟσϧͷਫ਼౓
  11. ϥϕϧͷछྨ PSJHJOBM@BSU OTGX GBWPSJUF QIPUP JMMVTU DPNJD   GBDF

    GFNBMF NFHBOF TDISPPM@VOJGPSN CMB[FS@VOJGPSN TBJMPS@VOJGPSN HM LFNPOP NBMF CM DBU EPH GPPE EJTMJLF
  12. ౷߹Ϟσϧ   ग़ྗ [0.0 - 1.0] [0.0 - 1.0]

    : ౷߹Ϟσϧ [0.0 - 1.0] [0.0 - 1.0] [0.0 - 1.0] 256x256x3
  13.   ෳ਺ͷ୯ମϞσϧ͔Β౷߹ϞσϧΛֶशɾ܇࿅͢Δ
 ,OPXMFEHF$PODFOUSBUJPO ౷߹Ϟσϧ ֶशࡁΈ୯ମϞσϧ [0.0 - 1.0] ਖ਼ղσʔλ

    ʢڭࢣ৴߸ʣ [0.0 - 1.0] [0.0 - 1.0] [0.0 - 1.0] [0.0 - 1.0] : : ग़ྗ [0.0 - 1.0] [0.0 - 1.0] [0.0 - 1.0] [0.0 - 1.0] [0.0 - 1.0] : 256x256x3
  14. train_merge train_single: megane train_single: nsfw train_single: illust train_single: photo train_single:

    favorite train_single: cat train_single: food ֶशͱධՁͷϫʔΫϑϩʔ   create_dataset
  15.   ධՁ༻αʔόʔ ܇࿅ɾֶश༻αʔόʔ܈ σʔληοτసૹ ʢTFRecordʣ ֶशࡁϞσϧऔಘ ը૾औಘ ը૾औಘ ϥϕϧ

    ෇͚ σʔληοτ؅ཧ αʔόʔ ը૾ऩूݩ ը૾ऩू ϥϕϧ ෇͚ σʔληοτ
 ؅ཧΞϓϦ playground.megane.ai ֶशࡁΈϞσϧ഑ஔ
  16.   ػछ໊ NN API͋Γ NN APIͳ͠ Essential PH-1 556,323ns

    185,372,624ns Pixel 2 450,807ns 187,395,464ns Pixel 3 477,489ns 129,994,563ns ਪ࿦଎౓ͷൺֱ IUUQTHJUIVCDPNLFJKJGPPE@HBMMFSZ@XJUI@UFOTPSqPXSFMFBTFTUBHUqJUF@OOBQJ
  17. WARNING:tensorflow:From /Users/keiji_ariyama/PycharmProjects/dataset_manager/server/picture_single_discriminator/tf_model/model_res5.py: 28: conv2d (from tensorflow.python.layers.convolutional) is deprecated and will

    be removed in a future version. Instructions for updating: Use keras.layers.conv2d instead. WARNING:tensorflow:From /Users/keiji_ariyama/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version. Instructions for updating: Colocations handled automatically by placer. WARNING:tensorflow:From /Users/keiji_ariyama/PycharmProjects/dataset_manager/server/picture_single_discriminator/tf_model/model_res5.py: 35: batch_normalization (from tensorflow.python.layers.normalization) is deprecated and will be removed in a future version. Instructions for updating: Use keras.layers.batch_normalization instead. WARNING:tensorflow:From /Users/keiji_ariyama/PycharmProjects/dataset_manager/server/picture_single_discriminator/tf_model/model_res5.py: 68: flatten (from tensorflow.python.layers.core) is deprecated and will be removed in a future version. Instructions for updating: Use keras.layers.flatten instead. WARNING:tensorflow:From /Users/keiji_ariyama/PycharmProjects/dataset_manager/server/picture_single_discriminator/tf_model/model_res5.py: 74: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version. Instructions for updating: Use keras.layers.dense instead. WARNING:tensorflow:From /Users/keiji_ariyama/PycharmProjects/dataset_manager/server/picture_single_discriminator/tf_model/model_res5.py: 75: dropout (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.   5FOTPS'MPXରԠ