question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Save attention visualizations as local html file

See original GitHub issue

I’m running the attention visualizations on a server without GUI. Is there an easy way to run, e.g., head_view_bert.py and save the interactive visualizations to a local .html file which can then be viewed on another machine?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Sardhenducommented, Aug 3, 2021

I am struggling with it. Any chance, you guys have figured out how to save it as a HTML?

0reactions
jessevigcommented, Apr 2, 2022

Thanks to @cyber-raskolnikov this is now available in version 1.4.0. See https://github.com/jessevig/bertviz#obtain-html-representations

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using GitHub, and starting your final projects
From the top menu in Haroopad, select File>Export...>HTML and notice that it has saved as a webpage in your repo on your computer....
Read more >
Save First, Parse Later: In Defense of a Different Approach to ...
That reasoning was enough to make me come up with the mentioned solution: saving locally the page content as raw HTML files and...
Read more >
3. Quick Recipes — VisIt User Manual 3.2.2 documentation
To set the options that VisIt uses to save files, you must create a ... your visualization because the view concentrates attention on...
Read more >
Can 'Seaborn' & 'Matplotlib' plots be saved in a HTML file?
I wrote a function to visualize python graphs using 'Seaborn' & 'Matplotlib' & I have been trying to store the output in HTML...
Read more >
How to Visualize Filters and Feature Maps in Convolutional ...
Convolutional neural networks, have internal structures that are designed to operate upon two-dimensional image data, and as such preserve the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found