Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shogun-toolbox/tflogger
TensorFlow event logger
https://github.com/shogun-toolbox/tflogger
machine-learning-visualization tensorboard tensorboard-logger
Last synced: about 2 months ago
JSON representation
TensorFlow event logger
- Host: GitHub
- URL: https://github.com/shogun-toolbox/tflogger
- Owner: shogun-toolbox
- License: apache-2.0
- Created: 2017-06-28T15:59:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T14:39:43.000Z (almost 5 years ago)
- Last Synced: 2024-09-14T15:22:14.795Z (3 months ago)
- Topics: machine-learning-visualization, tensorboard, tensorboard-logger
- Language: C++
- Size: 50.8 KB
- Stars: 6
- Watchers: 8
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TFLogger
This is a simple library that has been carved out of [TensorFlow](https://www.tensorflow.org/)'s codebase for being able to generate the required output format for [TensorBoard](https://www.tensorflow.org/get_started/summaries_and_tensorboard).![](https://github.com/shogun-toolbox/tflogger/workflows/C/C++%20CI/badge.svg)
[![PyPi version](https://badge.fury.io/py/tflogger.svg)](https://badge.fury.io/py/tflogger)## Building
In order to build from source the following packages are required:
- cmake
- protobufTo build the library simply run the following commands:
```
git clone https://github.com/shogun-toolbox/tflogger.git
cd tflogger
mkdir build
cd build
cmake ..
make
```### Testing
In order to enable the unit tests add the `-DBUILD-TESTS=ON` cmake option to the cmake command. This will automatically create a target for building the unit tests and adds it to the ctest targets.In other words to run the unit tests:
```
cmake -DBUILD-TESTS=ON [other cmake flags] ..
make
ctest
```### Python interface
Currently only the python wrapper is available, but further targets could be specified using SWIG.For building the python wrapper you need to add the `-DINTERFACE_PYTHON=ON` cmake flag to the cmake command:
```
cmake -DINTERFACE_PYTHON=ON ..
```## Using
Examples of how to use the library are available under [example](examples) directory.