Comments (5)
Please add an example how to use summaryWriter() when fit() is used.
from mxboard.
HI, @reminisce , is there any progress? I'm also wondering about these questions.
from mxboard.
@LordSycho @SunDoge Please refer to https://github.com/awslabs/mxboard/blob/master/demo.md for examples on how to use SummaryWriter
.
from mxboard.
@reminisce I've already known how to use SummaryWriter
and I've been using it for a long time. But I'm quite interesting in those five questions. I use default settings all the time and have never thought about them.
Add an FAQ section in README.
1. How to initialize a `SummaryWriter` instance: `with SummaryWriter(...)` or `sw = SummaryWriter(..)`? 2. What is the meaning of `verbose`? 3. Should I call `flush()` on a `SummaryWriter` object? 4. How to improve the logging performance? 5. Can I use the same tag for adding different types, e.g. image and histogram? No. One of them is going to be overwritten by the other.
from mxboard.
@SunDoge Thanks for your interest. I have listed brief answers for 1-4 below, while the 5th has been answered.
-
Using the
with
statement forSummaryWriter
gives you a safe error handling of logging files, which means the logging I/O will be closed properly if some exception is thrown by any code under this statement. It the same philosophy as python'swith open(file)
statement. -
verbose=True
means printing logging messages. You can turn it off by settingverbose=False
. -
Normally, you don't need to worry about that. When the content is flushed to disk is determined by
flush_secs
parameter when you initializeSummaryWriter
. If you want to see the visualization immediately after data is logged, you will need to callflush()
. -
Any I/O operation would possibly result in performance degradation. So you can increase the
max_queue
andflush_secs
to reduce the frequency of writing data to disk to minimize the performance impact of logging, but that would require more memory consumption to hold data for longer time.
from mxboard.
Related Issues (20)
- Text logger not working HOT 10
- Confused weight / input with gluon.SymbolBlock visualization? HOT 2
- Import error HOT 5
- import error HOT 3
- how can I wrapped small blocks in a large block?
- TypeError: __init__() got an unexpected keyword argument 'syntax' HOT 1
- No handlers could be found for logger "mxboard.event_file_writer" HOT 8
- [Feature Request] Publish log directly into aws cloudwatch HOT 2
- How to record histrogram of nueron network when one of its layer is set to use pre-trained weights? HOT 3
- A tiny bug in making sprite image for embedding projector HOT 2
- Cannot get gradient array for Parameter 'hybridsequential2_batchnorm0_running_mean' because grad_req='null' HOT 6
- Appending to event file HOT 1
- View graph structure of pretrianed model HOT 1
- Import SummaryWriter issue HOT 2
- Initialize in context HOT 1
- Networks with BatchNorm and gradients
- The demo of `embedding` is invalid.
- MXNet conflict with MXboard???
- MXNet Nightly Builds Moved to S3
- Proto file duplication issue. HOT 2
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 mxboard.