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
画像生成で遊ぶ / osc2021niigata
Search
kasacchiful
PRO
October 02, 2021
Programming
540
0
Share
画像生成で遊ぶ / osc2021niigata
Open Source Conference 2021 Online/Niigata で発表した資料
kasacchiful
PRO
October 02, 2021
More Decks by kasacchiful
See All by kasacchiful
上越のサメ食文化を訪ねて - 新潟市民の初体験レポ / ssmjp-shark
kasacchiful
PRO
1
54
Rust on AWS でデータ分析 / 20260523iotlt-niigata-rust-on-aws
kasacchiful
PRO
0
23
Step Functionsで始めるサーバーレス入門 〜 つないで動かすAWSサーバーレス
kasacchiful
PRO
0
48
Amazon Q Developer CLI (現Kiro CLI) で作った 新潟ランチマップWebアプリのこれまでとこれから / 20260207jawsug-tochigi
kasacchiful
PRO
0
93
Amazon SageMaker Catalogの、AIエージェントによる自動データ分類機能を試してみようとしたが、できなかったので、代わりに最近構築したデータ連携基盤を紹介します / 20260117jawsug-fukui
kasacchiful
PRO
0
94
データファイルをAWSのDWHサービスに格納する / 20251115jawsug-tochigi
kasacchiful
PRO
2
270
テーブル定義書の構造化抽出して、生成AIでDWH分析を試してみた / devio2025tokyo
kasacchiful
PRO
0
880
ワイがおすすめする新潟の食 / 20250912jasst-niigata-lt
kasacchiful
PRO
1
59
WorkersでDiscord botを試してみた / 20250822workers-tech-talk-niigata
kasacchiful
PRO
1
160
Other Decks in Programming
See All in Programming
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
140
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
320
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
Modding RubyKaigi for Myself
yui_knk
0
840
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.2k
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.1k
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
110
Oxlintのカスタムルールの現況
syumai
5
930
Transactional Change Stream Processing With Debezium and Apache Flink
gunnarmorling
1
140
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
320
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
400
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
We Have a Design System, Now What?
morganepeng
55
8.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
270
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
190
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
440
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Ethics towards AI in product and experience design
skipperchong
2
290
Transcript
ը૾ੜͰ༡Ϳ Open Source Conference 2021 Online/Niigata 2021-10-02 @kasacchiful
Classmethod, Inc. Solutions Architect / Software Develper Favorite: Community: •
JAWS-UG Niigata • Python ML in Niigata • JaSST Niigata • ASTER • SWANII • etc. Hiroshi Kasahara @kasacchiful @kasacchiful 2
Pythonػցֶशษڧձ in Niigata IUUQTQZNMOJJHBUBDPOOQBTTDPN
աڈͷOSC NiigataͰͷൃද IUUQTTQFBLFSEFDLDPNLBTBDDIJGVMPTDOJJHBUB IUUQTTQFBLFSEFDLDPNLBTBDDIJGVMPTDOJJHBUB
ը૾ੜͷϞσϧ σʔλΛֶश ֶशͨ͠σʔλʹࣅͨ σʔλΛ৽ͨʹੜ
ը૾ੜͷϞσϧ • ΦʔτΤϯίʔμ • σʔλͷಛΛѹॖ͠ɺॏཁͳಛ͚ͩͨ͠ޙɺ෮ݩ • ఢରతੜωοτϫʔΫ (GAN) • ِΛੜ͢Δ
Generator ͱɺِΛݟൈ͘ Discriminator ͕ڝ ͍߹͏Α͏ʹֶश͢Δ͜ͱͰਫ਼Λ্͛Δ
ΦʔτΤϯίʔμ • σʔλͷಛΛѹॖ͠ɺॏཁͳಛ͚ͩͨ͠ޙɺ෮ݩ • ग़ྗ͕ೖྗΛ࠶ݱ͢ΔΑ͏ʹֶश • தؒೖग़ྗΑΓখ͘͞
ఢରతੜωοτϫʔΫ (GAN) • 2ͭͷϞσϧΛޓ͍ʹڝΘͤΔΑ͏ʹֶश͢Δ͜ͱͰ σʔλΛੜ • Generator • ϥϯμϜͳϊΠζΛೖྗͱͯ͠ɺDiscriminator͕ ຊͱؒҧ͏Α͏ͳσʔλΛੜ͢Δ
• Discriminator • ຊͷσʔλͱGeneratorͷੜσʔλΛਖ਼͘͠ ผ͢ΔΑ͏ʹֶश͢Δ
ओͳ༻్ • ΦʔτΤϯίʔμ • ҟৗݕ • ϊΠζআڈ • GAN •
ը૾ੜ • ը૾ΞϨϯδ (ը෩ͷมߋͳͲ)ɺը૾ԋࢉ ("Smailing Woman” - “Neutral Woman” + “Neutral Man” = “Smailing Man”) • ଞʹԠ༻ଟ…
StyleGAN2 Ͱ ਓը૾ੜαΠτ https://thispersondoesnotexist.com/
ࠓճͷσϞ
σϞͷ༰ • Google ColaboratoryͰ࣮ߦࡁͷ༰Λ͓ݟͤ͠·͢ɻ • https://github.com/kasacchiful/osc2021niigata • VAE (Variational Auto
Encoder) • MNISTͷࣈը૾σʔλΛͬͯɺજࡏมΛมԽͤ͞Δ͜ͱͰը૾Λ࡞Γग़͢ • CycleGAN • അ͔ΒγϚϚม • Ґஔܗঢ়͕όϥόϥͰɺྔ͑͋͞Ε͍͍ײ͡ʹมͰ͖ͯ͠·͏
Kerasͷαϯϓϧίʔυ • VAE: • https://keras.io/examples/generative/vae/ • CycleGAN: • https://keras.io/examples/generative/cyclegan/
·ͱΊ • ը૾ੜͰ༡ΜͰΈͨ • αϯϓϧͨ͘͞Μެ։͞Ε͍ͯΔͷͰɺ༡ͼ͍͢
͓͠·͍