Metadata-Version: 2.4
Name: dlwheel
Version: 1.0.6
Summary: A lightweight deep learning library.
Author-email: liiuhaao <liiuhaao66@gmail.com>
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pathspec>=0.9.0
Requires-Dist: pyyaml>=6.0.1

# DLWheel

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Python Version](https://img.shields.io/badge/python-3.7%2B-blue)]()

A lightweight deep learning library.

## Installation

### Editable Installation

```bash
pip install -e .
```

### Stable Release

```bash
pip install dlwheel
```

## Getting Started

### Basic Usage

```python
from pprint import pprint

import dlwheel

cfg = dlwheel.setup()
pprint(cfg)
```

### Backup System

Use the `--backup` flag to enable automatic backup (stored in `./log` by default):

```bash
python main.py --backup
```

### Configuration System

#### YAML Config File (config/default.yaml):

```yaml
# config/default.yaml
lr: 1e-3
batch_size: 32
```

#### Command-Line Argument Override

```bash
python main.py --batch_size=2 --config=config/exp.yaml --name=exp
```
