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
October 02, 2021
Programming
0
510
画像生成で遊ぶ / osc2021niigata
Open Source Conference 2021 Online/Niigata で発表した資料
kasacchiful
October 02, 2021
Tweet
Share
More Decks by kasacchiful
See All by kasacchiful
Amazon Q Developer for CLI を使って PHP Conference 新潟 2025 参加者向けにグルメサイトを構築した話 / 20250620niigata-5min-tech
kasacchiful
1
66
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
320
生成AIでメタデータを生成してみた / 20250525generate-metadata-using-generative-ai
kasacchiful
0
55
Strands Agents SDK で AIエージェント作成 を試してみた / 20250525strands-agents
kasacchiful
0
180
いろんな世界を見てみよう / 20250508ninno_tech_fest
kasacchiful
0
32
Amazon Q Developer for CLIのある生活 / 20250427ai_craft_hacks_niigata1
kasacchiful
1
84
AWSのコンテナサービス / jawsug-akita-aws-container-services
kasacchiful
0
72
データ基盤でのコンテナ活用事例 / jawsug-akita-data-platform-with-container
kasacchiful
0
78
データ基盤でのコンテナ活用事例 / jawsug-niigata21-data-platform-with-container
kasacchiful
0
120
Other Decks in Programming
See All in Programming
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
280
フロントエンドのパフォーマンスチューニング
koukimiura
5
2k
「App Intent」よくわからんけどすごい!
rinngo0302
1
100
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
300
テスト駆動Kaggle
isax1015
1
570
ニーリーにおけるプロダクトエンジニア
nealle
0
940
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
260
Startups on Rails in Past, Present and Future–Irina Nazarova, RailsConf 2025
irinanazarova
0
240
Agentic Coding: The Future of Software Development with Agents
mitsuhiko
0
130
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
3
790
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
6
790
ペアプロ × 生成AI 現場での実践と課題について / generative-ai-in-pair-programming
codmoninc
2
21k
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Designing Experiences People Love
moore
142
24k
Practical Orchestrator
shlominoach
189
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
We Have a Design System, Now What?
morganepeng
53
7.7k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Designing for humans not robots
tammielis
253
25k
A Tale of Four Properties
chriscoyier
160
23k
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/
·ͱΊ • ը૾ੜͰ༡ΜͰΈͨ • αϯϓϧͨ͘͞Μެ։͞Ε͍ͯΔͷͰɺ༡ͼ͍͢
͓͠·͍