microsoft/BatteryML

AssertionError: data\processed\MATR

Closed this issue · 2 comments

image
image

image

Running Setup.py
image

image

I have successfully installed BatteryML following the instructions in the Quick Start guide. The raw data seemed to download correctly, but I cannot run the sample.

Refer to previous issues, I also cannot find scripts/preprocess.py.

Can you please assist me with this matter? I appreciate your help!

Hi Jingyi,
I'm sorry to hear that you've encountered problems running the batteryml code. Based on the screenshot you provided, it appears that you need to preprocess the code before running the training command. Here's the preprocessing command:(please replace /path/to/save/raw/data and /path/to/save/processed/data with your actual directories)

batteryml preprocess MATR /path/to/save/raw/data /path/to/save/processed/data

After that, you can run batteryml run ...

I figure it out. I did not put the data/processed/MATR under the root directory which cause this problem.
I appreciate your help!