MingjunZhong / seq2point-nilm

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

An error was reported during the creation of the dataset. #5

Open LH1217 opened 3 years ago

LH1217 commented 3 years ago

When I try to create a REFIT dataset (mains and appliance power measurments) for kettle, I get the following error. Why is this? Thank you! python create_dataset.py --data_dir './' --appliance_name 'kettle' --aggregate_mean 522 --aggregate_std 814 --save_path './'

微信截图_20201006161105

MingjunZhong commented 3 years ago

I think that error came from the filenames. Can you make sure that directory only include the appliance .csv files? Let me know if it works.

MingjunZhong commented 3 years ago

@LH1217 can you print out params_appliance[appliance_name]['houses']?

LH1217 commented 3 years ago

@MingjunZhong Mr. Zhong, my problem has been solved. The reason is that there is a problem with the path in my working directory. Thank you.

LH1217 commented 3 years ago

@MingjunZhong By the way, I would like to know if there is an instruction about how to use the code with more details.

LH1217 commented 3 years ago

@MingjunZhong In addition, when I was running the train_main.py, it told me "No such file or directory:'saved_models/kettle_seq2point_model.h5'". I want to know if this problem is my process is wrong? What is the correct procedure for running the program?

MingjunZhong commented 3 years ago

@LH1217 Unfortunately I do not have instructions. I am afraid these are the basic Python programming skills that you need to learn.

shunnnnnnn666666 commented 3 months ago

@MingjunZhong In addition, when I was running the train_main.py, it told me "No such file or directory:'saved_models/kettle_seq2point_model.h5'". I want to know if this problem is my process is wrong? What is the correct procedure for running the program?

Hi, I have the same problem. Do you know how to solve it? Thank you!

MingjunZhong commented 3 months ago

This is a programming error; I leave it to you to fix it.