Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CycleGANを使ってきのこたけのこ戦争を終わらせたかった話
Search
yamatia
July 11, 2020
0
180
CycleGANを使ってきのこたけのこ戦争を終わらせたかった話
yamatia
July 11, 2020
Tweet
Share
More Decks by yamatia
See All by yamatia
PythonでInteractive Network Graph Visualization!
yamatia
1
1.6k
20200626_Trends_in_Machine_Learning.pdf
yamatia
0
860
日本語学習済みモデルについて
yamatia
0
64
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Designing for Performance
lara
604
68k
Statistics for Hackers
jakevdp
797
220k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
YesSQL, Process and Tooling at Scale
rocio
172
14k
KATA
mclloyd
29
14k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Producing Creativity
orderedlist
PRO
344
39k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Gamification - CAS2011
davidbonilla
80
5.1k
Transcript
CycleGANを使って きのこ・たけのこ戦争を終結させたかった話 2020/7/11 【初心者もWelcome】ML for Beginners! Pythonもくもく会[オンライン] @ebitia
突然ですがみなさん
きのこの山 たけのこの里 どっちが好きですか?
血で血を洗う きのこたけのこ戦争 は終わることなく...
心優しい私は考えました 戦争を終わらせるためには どうすればよいのか
そうだ、CycleGANで全てのきのこをたけ のこに変換すればよいと (ちなみに私はたけのこ派です)
CycleGANとは? (細かい話は割愛) pix2pixのような1:1のペア画像を必要 とせず、タスクに応じて画風変換する ことができるGAN https://arxiv.org/pdf/1703.10593.pdf
きのこ たけのこ データ ・train:240枚ずつ ・test: 30枚ずつ ・256*256にリサイズ
学習 ・3時間程学習させてみて、パラメータ (Loss,weightなど)いじってみて何回か やってみたがほぼ変化せず。 (左からrawinput>スタイル反転>スタイル再反転)
根本的になにかおかしいのでは?
アンパンマン バイキンマン で実験してみる ・急遽あつめた学習データ: 450アンパンマン、220バイキンマン ・現在60エポック/200エポック終了(4.5h) →全然終わらない... ・一応動きはした。やっぱりデータが..
結論 ・根本的に変換したいなら、CycleGANでやるのは難しい ・そもそもタスクとしてたけのこときのこだとカラーリングも似てるし難しそ う。データ量も 今回少なかった ・InstaGANであったり他のアプローチ、データ量増加、パラメータ調節、epoch増やす、 etc... とにかく1実験の学習に時間がかかる、空からハ イスペックPCが降ってこないかな~