appdaemon icon indicating copy to clipboard operation
appdaemon copied to clipboard

ML package sklearn and pickle not loaded

Open aportillagithub opened this issue 3 years ago • 1 comments

Hi all. I’m trying to use an already trained model saved with pickle and using it in appdaemon app. I’m having problems importing pickle and scklearn to load and use model from file inside appdaemon (hassio). Can anyone tell if it’s even possible? Thanks.

aportillagithub avatar Nov 16 '21 21:11 aportillagithub

youll need to put the packages that you want to use in the requirements from the addon. and its possible that pickle and scklearn need other packages that you then also need to add to requirements.

when you had AD as standalone installed it would just need pip ... but in docker and in the addon it all goes through the requirements.

ReneTode avatar Nov 17 '21 01:11 ReneTode