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

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

Open
LH1217 opened this issue Oct 6, 2020 · 8 comments
Open

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

LH1217 opened this issue Oct 6, 2020 · 8 comments

Comments

@LH1217
Copy link

LH1217 commented Oct 6, 2020

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

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

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

@LH1217
Copy link
Author

LH1217 commented Oct 6, 2020

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

LH1217 commented Oct 6, 2020

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

@LH1217
Copy link
Author

LH1217 commented Oct 6, 2020

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

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

@shunnnnnnn666666
Copy link

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

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

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

3 participants