antoniosValmas / V2G-Predictor

A RL implementation of a V2G system
3 stars 1 forks source link

plot.py #3

Open Tingker-liu opened 2 years ago

Tingker-liu commented 2 years ago

Hello, the author. I want to ask why the model loaded in plot. py does not exist

Tingker-liu commented 2 years ago

inplot.py 78line metrics = pickle.load(open(f"./data/metrics_{policy}", "rb"))

No such file or directory: './data/metrics_Smart Charger'

antoniosValmas commented 1 year ago

I think this was a last minute patch to re-run some data I had saved from my executions Unfortunately the last months were quite chaotic, as I was rushing to finish this and the last commits may contain a lot of unwanted code.

antoniosValmas commented 1 year ago

Also plot.py was not really meant to be run as a main function At first, It was designed to have plot util functions. So this code is definitely a bit stale/specialised (and shouldn't have been committed, my bad)