tensorflow / tensorflow/tensorboard

Support SVGs on the image dashboard

Open
#50 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

plugin:images type:feature
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

Migrated from https://github.com/tensorflow/tensorflow/issues/10207.

@thinxer says:

TensorBoard supports image summaries, which is great for visualization. However, TensorFlow doesn't have rich operators for drawing, and people have to rely on Python libraries like PIL or cv2 for rendering. Those libraries typically use software rendering and are not very fast.

Considering TensorBoard is a web app, and browsers already have rich support for rendering, why don't we offload the rendering to browsers? For example, SVG is a simple XML format, which supports vector graphics, text and embedded bitmap images. Outputting an SVG seems to be a fairly easy job with some text templates.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the image dashboard and its existing image-summary rendering, then trace how image data reaches the browser. Done means SVG image summaries render correctly in the dashboard, with appropriate coverage for the supported input.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.