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

Push to main #59

Merged
merged 149 commits into from Aug 7, 2021
Merged

Push to main #59

merged 149 commits into from Aug 7, 2021

Conversation

Rishit-dagli
Copy link
Owner

@Rishit-dagli Rishit-dagli commented Aug 6, 2021

This PR pushes our existing work to main which adds the:

  • Python Package

The Python package file can be present at ./tfwatcher, the two Firebase files in this directory help connect and write data to Firebase. The ./tfwatcher/callbacks subpackage creates new TensorFlow callback classes which can be used very easily as showed in docs.

This package could be run locally using:

# Use pip install -e .[dev] to install with dev dependencies
pip install -e .
  • Documentation

The documentation is created with Sphinx and is to be hosted on https://readthedocs.org/ . Currently, the documentation isn't hosted but you could view the latest version locally by downloading the HTML or the PDF version (generated by GitHub Actions and uploaded as an artifact).

All the documentation code can be found at ./docs which could easily be developed locally as HTML by running:

cd docs
pip install sphinx
pip install -r requirements.txt
make html

The documentation can also be generated as a LaTeX PDF by running:

sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended imagemagick
make latexpdf
  • A web app

The web app, created with React, Chakra-UI and Recharts is present at ./webapp. There are two main screens in the app(./screen), one for getting the key generated by the python package and another to show the logs for it. The Firebase instance to authenticate the user and get realtime data is in ./firebase, and the screens folder mentioned above.

To run locally:

cd webapp
yarn install
yarn run start

Here are some screenshots of the web-app in action:

image image

cc: @shreyaparadkar @harshgeek4coder

@Rishit-dagli Rishit-dagli added this to In progress in TF Watcher via automation Aug 6, 2021
@ayushmaang
Copy link
Collaborator

Code looks great! Love the documentation and the pdf you made.

Copy link
Collaborator

@ayushmaang ayushmaang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

TF Watcher automation moved this from In progress to Reviewer approved Aug 6, 2021
@Rishit-dagli Rishit-dagli added the priority-high High priority label Aug 7, 2021
@Rishit-dagli Rishit-dagli merged commit 9d379a8 into main Aug 7, 2021
TF Watcher automation moved this from Reviewer approved to Done Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-high High priority
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants