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

Food Image Classification

peroon
April 09, 2017

Food Image Classification

mxnet, Keras, resnet, resnext, ensemble learning

peroon

April 09, 2017
Tweet

More Decks by peroon

Other Decks in Technology

Transcript

  1. bread_sandwich, bread_sliced, bread_sweets, bread_table, noodle_somen, noodle_udon, pasta_cream, pasta_gratin, pasta_japanese, pasta_oil,

    pasta_tomato, rice_boiled, rice_bowl, rice_curry, rice_fried, rice_risotto, rice_sushi, soup_miso, soup_potage, sweets_cheese, sweets_cookie, sweets_muffin, sweets_pie, sweets_pound, sweets_pudding σʔλͷ؍࡯ʢϥϕϧҰཡʣ 3 ࣅ͍ͯΔάϧʔϓ͸άϧʔϓԽͯ͠෼ྨ ͨ͠ํ͕͍͍ͷ͔ͳʁetc
  2. ɾԣ௕ͷը૾ʢαΠζ w x hʣͷ৔߹ɺw x wͷਖ਼ํܗ ը૾Λɺࠨ୺ɺதԝɺӈ୺͔Β੾ΓऔΔ ʢྉཧ͕ࠨӈʹدͬͯө͍ͬͯΔ΋ͷ͕͋ΔͨΊʣ ɾԣํ޲ʹॖখͯ͠w x

    wʹ͢Δ ʢ৘ใྔ͕Ұ൪࢒ΔͨΊʣ ɾ্هʹΑΓɺ1ຕͷը૾͕4ຕʹͳΔ ɾॎ௕ͷ৔߹ɺ੾ΓऔΓ͸্୺ɺதԝɺԼ୺ ɾ܇࿅ը૾ɺςετը૾ɺڞʹߦ͏ σʔλͷར༻ํ๏ʢϥϕϧ͋Γը૾ʣ 6
  3. ɾimagenetͰֶशࡁΈͷϞσϧͷfine-tuning ɾfine tuning࣌ͷfreezeͤ͞Δ૚ͷਂ͞ͷௐ੔ ʢϋΠύʔύϥϝʔλͷRandom SearchͱCross ValidationͰܾఆʣ ɾvgg16, resnetͳͲҟͳΔϞσϧͷΞϯαϯϒϧֶश ɾը૾ͷcropping ɾ్தͷepoch͔Βlearning

    rateΛ0.1ഒʹ͢Δ ɾFC૚ʹDropoutΛೖΕΔ ɾ֤Ϟσϧ͸܇࿅σʔλͷ4/5ͷΈͰֶश͠ɺͦΕΛ5ͭ࡞Δ ɾը૾ͷલॲཧʢϞσϧ͝ͱʹܾ·͍ͬͯΔRGBฏۉΛҾ͘ʣ ɾ֤Ϟσϧ͕ϥϕϧΛ֬཰Ͱ༧ଌͨ͠΋ͷΛ߹ܭͯ͠࠷ऴ༧ଌ ɾ༧ଌ࣌ʹ୯ମͰ༏लͳϞσϧ(resnext)ͷॏΈΛ্͛Δ ɾ࠷ऴతʹ͸ɺresnext (101૚)Λ5Ϟσϧ࡞ͬͯΞϯαϯϒϧ ϞσϦϯάͷ޻෉఺ʢ্ख͍ͬͨ͘΋ͷʣ 8