jyhjinghwang / SegSort

SegSort: Segmentation by Discriminative Sorting of Segments
https://jyhjinghwang.github.io/projects/segsort.html
MIT License
158 stars 24 forks source link

visualization #8

Closed Jerwee814 closed 4 years ago

Jerwee814 commented 4 years ago

Can I have the code for the t-SNE visualization of prototype embeddings?

jyhjinghwang commented 4 years ago

Hi @Jerwee814,

The t-SNE visualization code is written in several pieces and quite messy... I currently don't have time to clean it up and share it here. Sorry about it! Here's the workflow that you could try:

  1. Save prototype segments during Tensorflow inference.
  2. Perform t-SNE (reducing to 2D) on the prototype features that are already saved.
  3. Associate prototype segments with their t-SNEed 2D features and draw them in the corresponding location.

Regards, Jyh-Jing

Jerwee814 commented 4 years ago

Thanks. That helps a lot!

发自我的iPhone

------------------ Original ------------------ From: Jyh-Jing Hwang <notifications@github.com> Date: Fri,Aug 21,2020 1:08 AM To: jyhjinghwang/SegSort <SegSort@noreply.github.com> Cc: Jerwee814 <1141909262@qq.com>, Mention <mention@noreply.github.com> Subject: Re: [jyhjinghwang/SegSort] visualization (#8)