davidusb-geek / emhass

emhass: Energy Management for Home Assistant, is a Python module designed to optimize your home energy interfacing with Home Assistant.
MIT License
263 stars 51 forks source link

Error running forecast-model-tune after updating to 0.4.2 #122

Closed vdiogo closed 6 months ago

vdiogo commented 8 months ago

Describe the bug After updating EMHASS to 0.4.2 as I was running the forecast-model-tune, I got an error (see print screen bellow). I rolled back to 0.4.0 and no issues

To Reproduce

  1. Update from 0.4.0 to 0.4.2 (OK)
  2. Run forecast-model-fit (OK)
  3. Run forecast-model-tune (NOK)

Expected behavior Would expect same behavior as with previous version

Screenshots image

Home Assistant installation type

Your hardware

EMHASS installation type

Additional context N/A

davidusb-geek commented 8 months ago

If you run the fit first and then the tune (in that order) it doesn't works?

vdiogo commented 8 months ago

If you run the fit first and then the tune (in that order) it doesn't works?

Correct:

Run forecast-model-fit (OK)
Run forecast-model-tune (NOK)
davidusb-geek commented 8 months ago

This is still not working? Erase the pkl file in the share folder then retrain your model.

davidusb-geek commented 6 months ago

This should be solved by erasing old pkl files in the shared folder. Closing this for now but reopen if needed.