{"repo":"danijar/elements","free":true,"listed":false,"github":"https://github.com/danijar/elements","clone":"git clone https://github.com/danijar/elements.git","description":"Building blocks for productive research","language":"Python","stars":72,"topics":["artificial-intelligence","machine-learning","productivity","python","scientific-computing","tools"],"license":"MIT","category":"machine-learning","readme_excerpt":"🔥 Elements Building blocks for productive research. Installation Features Elements aims to provide well thought out solutions to common problems in research code. It is also hackable. If you need to change some of the code, we encourage you to fork the corresponding file into your project directory and make edits. elements.Logger A logger for array types that is extensible through backends. Metrics are written in a background thread to not block program execution, which is especially important on cloud services where bucket access is slow. Provided backends: - TerminalOutput(pattern) : Print scalars to the terminal. Can filter to fewer metrics via regex. - JSONLOutput(logdir, filename, pattern) : Write scalars to JSONL files. For example, can be read directly with pandas. - TensorBoardOutput(logdir) : Scalars, histograms, images, GIFs. Automatically starts new event files when the current one exceeds a size limit to support cloud storage where appding to files requires a full download and reupload. - WandBOutput(pattern, init kwargs) : Strings, histograms, images, videos. - MLFlowOutput(run name, resume id) : Logs all types of metrics to MLFlow. elements.Config An immutable nested directory to hold configurations. Keys can be accessed via attribute syntax. Values are restricted to primitive types that are supported by JSON. Types are checked when replacing values in the config. elements.Flags A parser for command line flags similar to argparse but faster to use and more flex","default_branch":null,"files":null,"tree":[],"storefront":"/r/danijar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danijar/elements/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}