Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactivate Visualization #7

Closed
happywu opened this issue Dec 4, 2020 · 5 comments
Closed

Interactivate Visualization #7

happywu opened this issue Dec 4, 2020 · 5 comments

Comments

@happywu
Copy link

happywu commented Dec 4, 2020

Hi,

Where can I find the code for interactive visualization or could you provide some guidance to implement this?

Thanks,
Haiping

@jbcdnr
Copy link
Collaborator

jbcdnr commented Dec 7, 2020

Hello,
It is implemented with some dirty Svelte.js serving pre computed matplotlib figures. Right now the code is too ugly to be shared publicly 🙈 but in the meantime I can email you the current code. Just drop me an email :)

@happywu
Copy link
Author

happywu commented Dec 7, 2020

Thanks!

@happywu happywu closed this as completed Dec 7, 2020
@jbdel
Copy link

jbdel commented Aug 5, 2021

Hello,

Sorry for re-opening this thread. Are the precomputed matplotlib figure used for the interactive demo generated with this script : https://github.com/epfml/attention-cnn/blob/master/utils/plotting.py ?

Or lets say I have attn weight of size bs, width, height, num_head, width, height, what can I expect as output from the script plotting.py ?

Thanks !

@askerlee
Copy link

askerlee commented Sep 3, 2021

@jbcdnr Do you mean all the attention map figures are pre-generated? Oh that will be a lot... Not sure how difficult it is to develop a GUI-based visualizer. Guess it would be easier to create one that runs on local PC.

@hzphzp
Copy link

hzphzp commented Sep 8, 2022

Hello,
It is implemented with some dirty Svelte.js serving pre computed matplotlib figures. Right now the code is too ugly to be shared publicly 🙈 but in the meantime I can email you the current code. Just drop me an email :)

Hi, thank you for you excellent works, could you please share me the Interactivate Visualization code? My email address is [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants