Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
scalaでGANをスクラッチ開発した話
Search
鬼木 渚沙
July 01, 2019
Technology
0
930
scalaでGANをスクラッチ開発した話
ScalaMatsuri2019.6.29アンカンファレンス14時〜@B会場での発表資料です。
鬼木 渚沙
July 01, 2019
Tweet
Share
Other Decks in Technology
See All in Technology
ガバメントクラウド利用システムのライフサイクルについて
techniczna
0
190
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
190
Kiro Autonomous AgentとKiro Powers の紹介 / kiro-autonomous-agent-and-powers
tomoki10
0
470
業務のトイルをバスターせよ 〜AI時代の生存戦略〜
staka121
PRO
2
180
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
1
180
今年のデータ・ML系アップデートと気になるアプデのご紹介
nayuts
1
330
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
形式手法特論:CEGAR を用いたモデル検査の状態空間削減 #kernelvm / Kernel VM Study Hokuriku Part 8
ytaka23
2
460
「Managed Instances」と「durable functions」で広がるAWS Lambdaのユースケース
lamaglama39
0
310
Database イノベーショントークを振り返る/reinvent-2025-database-innovation-talk-recap
emiki
0
170
Databricks向けJupyter Kernelでデータサイエンティストの開発環境をAI-Readyにする / Data+AI World Tour Tokyo After Party
genda
1
120
Sansanが実践する Platform EngineeringとSREの協創
sansantech
PRO
2
850
Featured
See All Featured
It's Worth the Effort
3n
187
29k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Navigating Team Friction
lara
191
16k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
For a Future-Friendly Web
brad_frost
180
10k
Raft: Consensus for Rubyists
vanstee
141
7.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Transcript
ScalaでGANを スクラッチ開発した話 A story about scratch development of GAN with
scala ⻤⽊ 渚沙 Nagisa Oniki
⾃⼰紹介 株式会社Monopos サーバーサイドエンジニア ⼤学在学中ファッションデザインの ⾃動⽣成をDeepLearningを⽤いて研究 ->使⽤⾔語:Scala Qiita : @NagisaOniki Twitter
: @NagisaOniki
やったこと 画像⾃動⽣成モデル:敵対的⽣成ネットワーク(GAN)
GANのアルゴリズム *卒業論⽂から抜粋
Generator損失関数実装
Discriminator損失関数実装
Generatorの構成 Generator Affine ReLU Conv Affine Tanh ・・・・・・ Layer:forward,backward,update,reset,,,, という関数を持つ
Affine層実装 Affine *⾏列計算ライブラリ (https://github.com/scalanlp /breeze)を駆使してます forward backward
ネットワーク構成の実装 Network forwards
Scalaで良かったこと ・⾔語の表現⼒の⾼さ mapやfilterなど関数型⾔語的な機能を使って, ややこしいデータの変換処理を簡潔に書ける ・⾏列計算ライブラリが便利 ・JVM上で動作 JavaのライブラリのほとんどをそのままScalaから 呼びだすことができる
おまけ) JVM上で動作 Scala-> blas.BLAS.mutmulF(left,right,result,H,W,K) Java-> C->
以上です , ご静聴ありがとうございました Thatʼs all from me , Thank you
for listening