This project implements a transformer-based neural network model to forecast battery voltage based on historical data.
- Install the required packages:
pip install -r requirements.txt- Ensure your data is in the
data/data.csvfile.
To train the model:
python main.py trainTo make predictions:
python main.py predictYou can specify custom paths for data and model files using the --data_path and --model_path arguments. Use --n_steps to specify the number of minutes to predict (default is 10).
For more information, run:
python main.py --help