Visualization toolkit for Chainer
Project description
An unofficial visualization tool for chainer, inspired by tensorboard. The toolkit allows visualization of log from chainer.extensions.LogReport.
Example usage:
model = L.Classifier(MyModel())
optimizer = chainer.optimizers.Adam()
optimizer.setup(model)
train = create_my_data()
train_iter = chainer.iterators.SerialIterator(train, batchsize)
updater = training.StandardUpdater(train_iter, optimizer)
trainer = training.Trainer(updater, (epochs, 'epoch'), out='path/to/output')
trainer.extend(extensions.LogReport(log_name='my_log_data')))
# optional; allows visualization of parameters
trainer.extend(extensions.ParameterStatistics(model))
# Run the training
trainer.run()
and point chainerboard at the output log file to start local http server.
chainerboard path/to/output/my_log_name
now open http://localhost:6006/ to view the log.
Development
To setup development environment:
pip install -r requirements.txt
For testing,
tox
Build document
python setup.py build_sphinx
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chainerboard-0.1.2.tar.gz
(848.7 kB
view hashes)
Built Distribution
chainerboard-0.1.2-py2-none-any.whl
(862.8 kB
view hashes)
Close
Hashes for chainerboard-0.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1afac1216b9e6c346eeb9779e65d3dd228130ad7c2adf1fa6295941e82e59d7f |
|
MD5 | 224b4ca703bd2245cecf0a04d5a77d2d |
|
BLAKE2b-256 | c661bf199bac3fceffbd218d3d596734054c8cd43353ecf2cc98df31314b370d |