Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Latest commit

 

History

History
110 lines (75 loc) · 4.27 KB

README.md

File metadata and controls

110 lines (75 loc) · 4.27 KB

Lucid

PyPI Build status Coverage Status PyPI PyPI version

Lucid is a collection of infrastructure and tools for research in neural network interpretability.

In particular, it provides state of the art implementations of feature visualization techniques, and flexible abstractions that make it very easy to explore new research directions.

Notebooks

Tutorial Notebooks

Building Blocks

Notebooks corresponding to the Building Blocks of Interpretability article







Additional Information

License and Disclaimer

You may use this software under the Apache 2.0 License. See LICENSE.

This project is research code. It is not an official Google product.

Development

Style guide deviations

We use naming conventions to help differentiate tensors, operations, and values:

  • Suffix variable names representing tensors with _t
  • Suffix variable names representing operations with _op
  • Don't suffix variable names representing concrete values

Usage example:

global_step_t = tf.train.get_or_create_global_step()
global_step_init_op = tf.variables_initializer([global_step_t])
global_step = global_step_t.eval()

Running Tests

Use tox to run the test suite on all supported environments.

To run tests only for a specific module, pass a folder to tox: tox tests/misc/io

To run tests only in a specific environment, pass the environment's identifier via the -e flag: tox -e py27.

After adding dependencies to setup.py, run tox with the --recreate flag to update the environments' dependencies.