DEPLOYMENT OF FHMM

57 views
Skip to first unread message

saurabh....@gmail.com

unread,
Nov 28, 2018, 6:09:38 AM11/28/18
to Energy Disaggregation
How to deploy the FHMM model from NILMTK?
I can't seem to use the pickle file as it won't load.

Nipun Batra

unread,
Nov 28, 2018, 6:52:27 AM11/28/18
to saurabh....@gmail.com, energy-dis...@googlegroups.com
A few questions to clarify:
  1. What do you mean by deploy?
  2. Why can't you use pickle files?
If I understand correctly, I think you want to train once, store the model in pickle and then use the trained model (after unpickling) to disaggregate. I think all the pieces individually work correctly in NILMTK.

On Wed, Nov 28, 2018 at 4:39 PM <saurabh....@gmail.com> wrote:
How to deploy the FHMM model from NILMTK?
I can't seem to use the pickle file as it won't load.

--
You received this message because you are subscribed to the Google Groups "Energy Disaggregation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energy-disaggreg...@googlegroups.com.
To post to this group, send email to energy-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/energy-disaggregation.
To view this discussion on the web, visit https://groups.google.com/d/msgid/energy-disaggregation/707636de-9ea0-4ee7-a0dc-2c0636fe7933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

saurabh....@gmail.com

unread,
Nov 29, 2018, 1:31:23 AM11/29/18
to Energy Disaggregation
Thank you for replying.
To answer your 1st question,i want to deploy the FHMM model as a REST API(using Flask) for which i need the pickle file.
I tried to pickle this example ( https://github.com/nilmtk/nilmtk/blob/master/tests_on_large_datasets/redd_house3_f1_score.py ) but i am using the iAWE dataset instead of the REDD dataset.
I get the following error. ( https://pastebin.com/p2kW4iy0 ) [ including the code ]

On Wednesday, November 28, 2018 at 5:22:27 PM UTC+5:30, nipun batra wrote:
A few questions to clarify:
  1. What do you mean by deploy?
  2. Why can't you use pickle files?
If I understand correctly, I think you want to train once, store the model in pickle and then use the trained model (after unpickling) to disaggregate. I think all the pieces individually work correctly in NILMTK.

On Wed, Nov 28, 2018 at 4:39 PM <saurabh....@gmail.com> wrote:
How to deploy the FHMM model from NILMTK?
I can't seem to use the pickle file as it won't load.

--
You received this message because you are subscribed to the Google Groups "Energy Disaggregation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energy-disaggregation+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages