Skip to content
Permalink
Browse files

initial

  • Loading branch information
sytelus committed May 15, 2019
1 parent 8d9d749 commit 9e5f1f3355f0e58838d3f0b36fad42fe01d0dd71
Showing with 18,275 additions and 29 deletions.
  1. +345 −0 .gitignore
  2. +15 −0 .pylintrc
  3. +5 −0 AUTHORS.md
  4. +6 −0 CHANGELOG.md
  5. +14 −0 CONTRIBUTING.md
  6. +18 −0 ISSUE_TEMPLATE.md
  7. +0 −21 LICENSE
  8. +22 −0 LICENSE.TXT
  9. +127 −0 NOTICE.md
  10. +12 −8 README.md
  11. +6 −0 SUPPORT.md
  12. +23 −0 TODO.md
  13. +11 −0 install_jupyterlab.bat
  14. +89 −0 notebooks/data_exploration.ipynb
  15. +5,003 −0 notebooks/fruits_analysis.ipynb
  16. +3,409 −0 notebooks/mnist.ipynb
  17. +722 −0 notebooks/network_arch.ipynb
  18. +173 −0 notebooks/receptive_field.ipynb
  19. +958 −0 notebooks/simple_logging.ipynb
  20. +28 −0 setup.py
  21. +175 −0 tensorwatch.pyproj
  22. +23 −0 tensorwatch.sln
  23. +34 −0 tensorwatch/__init__.py
  24. +21 −0 tensorwatch/array_stream.py
  25. +60 −0 tensorwatch/data_utils.py
  26. +4 −0 tensorwatch/embeddings/__init__.py
  27. +38 −0 tensorwatch/embeddings/tsne_utils.py
  28. +123 −0 tensorwatch/evaler.py
  29. +109 −0 tensorwatch/evaler_utils.py
  30. +38 −0 tensorwatch/file_stream.py
  31. +24 −0 tensorwatch/filtered_stream.py
  32. +124 −0 tensorwatch/image_utils.py
  33. +64 −0 tensorwatch/imagenet_utils.py
  34. +130 −0 tensorwatch/lv_types.py
  35. +3 −0 tensorwatch/model_graph/__init__.py
  36. +5 −0 tensorwatch/model_graph/hiddenlayer/README.md
  37. +1 −0 tensorwatch/model_graph/hiddenlayer/__init__.py
  38. +169 −0 tensorwatch/model_graph/hiddenlayer/ge.py
  39. +402 −0 tensorwatch/model_graph/hiddenlayer/graph.py
  40. +137 −0 tensorwatch/model_graph/hiddenlayer/pytorch_builder.py
  41. +142 −0 tensorwatch/model_graph/hiddenlayer/tf_builder.py
  42. +212 −0 tensorwatch/model_graph/hiddenlayer/transforms.py
  43. +89 −0 tensorwatch/model_graph/torchstat_utils.py
  44. +8 −0 tensorwatch/mpl/__init__.py
  45. +149 −0 tensorwatch/mpl/base_mpl_plot.py
  46. +91 −0 tensorwatch/mpl/image_plot.py
  47. +148 −0 tensorwatch/mpl/line_plot.py
  48. +6 −0 tensorwatch/plotly/__init__.py
  49. +100 −0 tensorwatch/plotly/base_plotly_plot.py
  50. +82 −0 tensorwatch/plotly/embeddings_plot.py
  51. +186 −0 tensorwatch/plotly/line_plot.py
  52. +55 −0 tensorwatch/pytorch_utils.py
  53. +29 −0 tensorwatch/receptive_field/rf_utils.py
  54. +71 −0 tensorwatch/repeated_timer.py
  55. +5 −0 tensorwatch/saliency/README.md
  56. +3 −0 tensorwatch/saliency/__init__.py
  57. +153 −0 tensorwatch/saliency/backprop.py
  58. +80 −0 tensorwatch/saliency/deeplift.py
  59. +242 −0 tensorwatch/saliency/epsilon_lrp.py
  60. +56 −0 tensorwatch/saliency/gradcam.py
  61. +526 −0 tensorwatch/saliency/inverter_util.py
  62. 0 tensorwatch/saliency/lime/__init__.py
  63. +179 −0 tensorwatch/saliency/lime/lime_base.py
  64. +261 −0 tensorwatch/saliency/lime/lime_image.py
  65. 0 tensorwatch/saliency/lime/wrappers/__init__.py
  66. +117 −0 tensorwatch/saliency/lime/wrappers/scikit_image.py
  67. +55 −0 tensorwatch/saliency/lime_image_explainer.py
  68. +51 −0 tensorwatch/saliency/occlusion.py
  69. +112 −0 tensorwatch/saliency/saliency.py
  70. +52 −0 tensorwatch/stream.py
  71. +84 −0 tensorwatch/stream_factory.py
  72. +21 −0 tensorwatch/stream_union.py
  73. +82 −0 tensorwatch/text_vis.py
  74. +352 −0 tensorwatch/utils.py
  75. +174 −0 tensorwatch/vis_base.py
  76. +72 −0 tensorwatch/visualizer.py
  77. +92 −0 tensorwatch/watcher.py
  78. +218 −0 tensorwatch/watcher_base.py
  79. +87 −0 tensorwatch/watcher_client.py
  80. +55 −0 tensorwatch/zmq_mgmt_stream.py
  81. +49 −0 tensorwatch/zmq_stream.py
  82. +290 −0 tensorwatch/zmq_wrapper.py
  83. +18 −0 test/components/arr_img_plot.py
  84. +15 −0 test/components/circ_ref.py
  85. +10 −0 test/components/evaler_test.py
  86. +15 −0 test/components/ipython_widget.py
  87. +20 −0 test/components/mpl_line_test.py
  88. +13 −0 test/components/panda_test.py
  89. +19 −0 test/components/plotly_line_test.py
  90. +14 −0 test/components/stream_test.py
  91. +23 −0 test/components/thread_test.py
  92. +15 −0 test/components/watcher_test.py
  93. +31 −0 test/dlc/dlc.py
  94. +28 −0 test/files/file_stream_test.py
  95. +31 −0 test/live_graph.py
  96. +110 −0 test/mnist/cli_mnist.py
  97. +16 −0 test/post_train/saliency.py
  98. +10 −0 test/pre_train/draw_model.py
  99. +10 −0 test/pre_train/tsny.py
  100. +77 −0 test/simple_log/cli_ij.py
  101. +28 −0 test/simple_log/cli_sum_log.py
  102. +20 −0 test/simple_log/srv_ij.py
  103. +11 −0 test/simple_log/srv_sum_log.py
  104. +11 −0 test/srv_sum_log2.py
  105. +128 −0 test/test.pyproj
  106. +17 −0 test/zmq/zmq_srv.py
  107. +20 −0 test/zmq/zmq_stream_pub_test.py
  108. +20 −0 test/zmq/zmq_stream_sub_test.py
  109. +15 −0 test/zmq/zmq_watcher_client_test.py
  110. +16 −0 test/zmq/zmq_watcher_server_test.py
  111. +8 −0 update_package.bat
@@ -1,3 +1,6 @@
data/
!data/log-20180928-175828.dlclog

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
@@ -102,3 +105,345 @@ venv.bak/

# mypy
.mypy_cache/

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# Benchmark Results
BenchmarkDotNet.Artifacts/

# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# ASP.NET Core default setup: bower directory is configured as wwwroot/lib/ and bower restore is true
**/wwwroot/lib/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
*.ldf
*.ndf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser

# Microsoft Fakes
FakesAssemblies/

# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/

# JetBrains Rider
.idea/
*.sln.iml

# CodeRush personal settings
.cr/personal

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config

# Tabs Studio
*.tss

# Telerik's JustMock configuration file
*.jmconfig

# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs

# OpenCover UI analysis results
OpenCover/

# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Local History for Visual Studio
.localhistory/

# BeatPulse healthcheck temp database
healthchecksdb
@@ -0,0 +1,15 @@
[MASTER]
ignore=model_graph,
receptive_field,
saliency

[TYPECHECK]
ignored-modules=numpy,torch,matplotlib,pyplot,zmq

[MESSAGES CONTROL]
disable=protected-access,
broad-except,
global-statement,
fixme,
C,
R
@@ -0,0 +1,5 @@
# Authors

TensorWatch was originally conceived and created by [Shital Shah](https://www.shitalshah.com) during early 2019.

List of all contributors since our first release in May 2019 can be [found here](https://github.com/Microsoft/tensorwatch/graphs/contributors).
@@ -0,0 +1,6 @@
# What's new

Below is summarized list of important changes. This does not include minor/less important changes or bug fixes or documentation update. This list updated every few months. For complete detailed changes, please review [commit history](https://github.com/Microsoft/tensorwatch/commits/master).

### May, 2019
* First release!

0 comments on commit 9e5f1f3

Please sign in to comment.
You can’t perform that action at this time.