# High-quality and controllable time series generation with diffusion in transformers

## Setup Instructions

### Environment Setup

To set up the project environment, you will need to create and activate a conda environment. Please follow these steps:

```bash
conda env create -f environment.yaml
conda activate timeDiT
```

### Training the Model

To train the model, use the following command, ensuring that you replace <config_name> with your actual configuration file name:

```bash
python train.py --config <config_name>
```


### Sampling

After training, you can generate samples by running:

```bash
python sample.py --config <config_name>
```


