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
Real Custom Scalar Plugin using D3 and AperxChart without affecting existing functionaliies. #6842
Conversation
new plugin initiated
Path updated in the description
updated path mentioned in the description
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
We advise that plugins be distributed as their own pip package as opposed to attempting to include them in the main TensorBoard repository. |
I will create another pull request after solving author contributor issue. |
Motivation for features / changes
Actual implimentation of custom plugin based on given template for creating your own visualization using D3.js and Apexchart.js or anyother library that needed for visualization.
I want to contribute to this open-source repositry . I have created custom scalar visualizations plugin which can visualize two different visualization for different purpose.dd
Technical description of changes
There are not any modifications current existing functionalities but new custom plugin added which was my personal project which shows
Type of Summary
calculate_states : single/multi LineChart that can be ploted representing
x-axis
as number of steps andy-axis
as any value that you want to represent for example, Loss,Accuracy,Flop Count.This summary is dynamic and not limited to the loss Accuracy and Flop calculation but rather it is able to visulize as many summary data user want to write as long as it is within the format.
Here are some attached Screenshots.
system_performance : This is multi LineChart plot with annotations on the x-axis indicatiind
timestamp
and differentphases
of the data on that timeline andy-axis
showscontext
values such as Energy/Temprature.As multi-line Chart it will show different system resources mentioned by the user such as
GPU
,RAM
,CPU
power/energy consumption. This Feature is also also dynamic, it can show multiple graph and multiple lines depending upon the context and number of resouces mentioned.Note: when you write summary for visualization there will be two differnt format for writting the summary. Choose appropriate based on your usecase.
Here are some attached Screenshots.
Screenshots of UI changes (or N/A)
There are not any changes to current UI but rather actual custom plugin is implimented screenshots of how visaluzation will look is given.
Detailed steps to verify changes work correctly (as executed by you)
Here is the link of detai information of How plugin works and what is issued
https://github.com/Darshil580/tensorboard/edit/master/tensorboard/examples/plugins/custom_plugin/README.md
Alternate designs / implementations considered (or N/A)
Built using Python as backend and Native JavaScript as frontend, no Bazel is used for the development.
Frontend :
Backend :