0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ファッションデータベースをTensorboardで次元圧縮(t-SNE)してtriplet lossの評価をしてみる

Last updated at Posted at 2019-07-04

動機

ファッションサーチファンネル(ファッション画像検索エンジン)
https://qiita.com/mokoenator/items/6807132ce59913186a9b
https://funnel-service.com

で使っているtriplet lossの評価方法がよくわからないので困ってる。

  • 「ハンドメイド3枚組画像」のアンカー、ポジティブ、ネガティブの順版評価。
  • 目視で・・・:scream:

くらいしか思いつかない。

ちなみに、同一商品に対して近い値がでていればよいわけではない。
検索したときの画像の順番がただしいか?だと思う。

Tensorboardで特徴量を次元圧縮して可視化

t-sneで2次元に圧縮してみた。

image.png

こんな感じなる。

3次元は感動するけど見にくい。

image.png

https://experiments.withgoogle.com/t-sne-map
こんな感じで見れるのが理想なんですが・・・

現実的な評価方法・・

画像の集まりから毎回同じ画像を選らんで、それをクエリ画像にして画像の集まりに検索して、HTMLにスコア順出力。
これが一番安心感があった。

image.png

行ごとに・・・一番左がクエリで2個目から検索結果を示している。
これって、ファンネルにバルク検索してるようなもの。:relaxed:

感想

  • Tensorboardの操作がショボイ。2次元でPANはできるけどチルトができない。
  • グリグリするのは楽しい。
  • UMAPのほうが、イケてた:relaxed:
  • 正しい評価方法があれば教えてほしい。:relaxed:
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?