MingjunZhong / seq2point-nilm

Sequence-to-point learning for non-intrusive load monitoring
95 stars 32 forks source link

How to get feature map as describe in seq2point paper. #4

Open Hessen525 opened 3 years ago

Hessen525 commented 3 years ago

Hi, Dr. Zhong, @MingjunZhong Thanks for sharing the code again, could you please give me some idea or hint about "How to get feature map as describe in seq2point paper?" I have been searching for how to get feature map(based on sequence data) learned by cnn, but no useful information is found!
image

Thanks, Appreciate!

MingjunZhong commented 3 years ago

@Hessen525 Won't you be able to record the values of the last layer of the CNN? When you plot them, they are the feature maps.

MingjunZhong commented 3 years ago

@Hessen525 This might provide you with some clues: https://github.com/MingjunZhong/transferNILM/blob/master/plots/featuresmapPlot.py

Hessen525 commented 3 years ago

@Hessen525 This might provide you with some clues: https://github.com/MingjunZhong/transferNILM/blob/master/plots/featuresmapPlot.py

Thank you so much, I will try it later!

masterBmao commented 2 years ago

Hi, Dr. Zhong, @MingjunZhong Thanks for sharing the code again, could you please tell me how to find nilm.py ,sorry,I am a green hand.

from nilm.Arguments import * import numpy as np import os import matplotlib.pyplot as plt import pandas as pd

Thanks, Appreciate!

suoyu2333 commented 2 years ago

嗨,钟博士,@MingjunZhong 感谢您再次分享代码,能否请您告诉我如何找到 nilm.py,对不起,我是新手。

from nilm.Arguments import * import numpy as np import os import matplotlib.pyplot as plt import pandas as pd

谢谢, 欣赏!

我是在windows上运行的,请问你解决这个问题了吗

MingjunZhong commented 2 years ago

@suoyu2333 It seems nilm.Arguments was not actually using. Can you comment it out and run?

suoyu2333 commented 2 years ago

@suoyu2333 It seems nilm.Arguments was not actually using. Can you comment it out and run?

Thanks for your reply. I used the Refit dataset. Py and merge_fridges. Py run successfully, but raw_house_data_plot.py still raises KeyError(key) from err. I'm still trying to figure out how to run it.

qinxiaopang commented 3 months ago

@suoyu2333 It seems nilm.Arguments was not actually using. Can you comment it out and run?

Thanks for your reply. I used the Refit dataset. Py and merge_fridges. Py run successfully, but raw_house_data_plot.py still raises KeyError(key) from err. I'm still trying to figure out how to run it.

would you mind share your Refit dataset, it's not easily downloaded.