Comments (6)
Thanks. For now I guess I will just stick to 'doane' since I don't want to hand set the binning for each parameter. Actually, I am finding the distributions tab more useful than the histograms tab for my puproses anyway (basically I am interested in monitoring spiking gradients that require clipping and maybe also gradients going to zero). We can close this issue if you want. There is definitely some buggy behavior with the default binning, but if tensorboard is doing the binning by default I guess it is probably a tensorboard issue.
from tensorboardx.
Hi, will additional parameter bins=range(...)
help?
from tensorboardx.
I didn't try this exactly, but I tried some of the string values for bins listed in the numpy docs. Setting bins='auto' causes the program to crash with MemoryError coming from a call to np.zeros (even though the machine has plenty of memory). Setting bins='sturges' fixes the problem and leads to nice histograms. But it is pretty strange; I can't think of anything really unusual about my usage that would make the default and 'auto' histograms fail for me if they aren't broken for everyone else.
from tensorboardx.
Actually 'sturges' doesn't do that great of a job. It uses too few bins and doesn't zoom in enough. But at least it is not completely wrong like the default histograms.
from tensorboardx.
I also tried 'doane' and 'fd'. doane seems about the same as sturges, and fd crashes with a memory error like auto. Maybe the sturges/doane behavior is reasonable in that my distributions are very sharply peaked about zero..
from tensorboardx.
Using auto
will explode the memory (should be numpy bug). see #1 . From you last graph, I think bins=np.arange(-0.003, 0.003, 0.0001)
might do the work.
from tensorboardx.
Related Issues (20)
- "This site canβt be reached" issue when using --bind_all on Google Colab HOT 1
- Test fail. HOT 3
- tensorboardX is incompatible with protobuf 4.21.0 HOT 16
- draw NaN with triangle
- Subsequent hparams missing HOT 4
- DeprecationWarning: crc32c.crc32 will be eventually removed, use crc32c.crc32c instead HOT 2
- AttributeError: 'NoneType' object has no attribute 'get_logdir' HOT 3
- Protobuf version HOT 4
- How can I connect previous log file into new one in tensorboard HOT 1
- How can i read tensorboard by python ? HOT 2
- Deprecation Warnings HOT 15
- OSS License compatibility question
- Remove upper pins on protobuf HOT 4
- tensorboardX is converting white/blank space and other non alphanumeric characters to underscore
- Update unittests for newer protobuf
- Possibility of v2.5.2 with upper pin on protobuf of <4? HOT 3
- The license_file parameter is deprecated HOT 3
- Loosening protobuf version limit breaking downstream packages HOT 7
- Is there an efficient way to log line plots? HOT 5
- EOFError multiprocessing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorboardx.