Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hessen525 opened this issue Aug 18, 2020 · 8 comments
Open

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

Hessen525 opened this issue Aug 18, 2020 · 8 comments

Comments

@Hessen525
Copy link

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
Copy link
Owner

@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
Copy link
Owner

@Hessen525
Copy link
Author

@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
Copy link

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
Copy link

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

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

谢谢, 欣赏!

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

@MingjunZhong
Copy link
Owner

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

@suoyu2333
Copy link

@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
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants