-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Using CSV files versus h5 data #1
Comments
Hi @Niharikajo, thank you for submitting the first issue of this repo! Before starting your model training, you have to generate the datasets first and this is why you got the error. Although the generated datasets are not included in this repo due to their large sizes, the dataset downloading and preprocessing scripts are available in dir SAITS/dataset_generating_scripts. Please check them out there. For your questions:
I hope my answers are satisfactory to you. If you have any further questions, please let me know. Thanks. |
Thank you Wenjie, I greatly appreciate your prompt reply. I was able to run training script without any issues. I encountered the following error while running the testing script configparser.InterpolationMissingOptionError: Bad value substitution: option 'model_path' in section 'test' contains an interpolation key 'file_path:model_saving_dir' which is not a valid option name. Raw value: '${file_path:model_saving_dir}/${step_527}' This was the script I used for testing !CUDA_VISIBLE_DEVICES=0 python run_models.py --config_path configs/AirQuality_SAITS_best.ini --test_mode The AirQuality_SAITS_best.ini file I am using can be found here. If possible, please let me know the means to rectify this issue, thanks. Best regards |
The error indicates that your model saving path does not exist. You need to double-check the path |
Thank you Wenjie for your reply, it was very helpful. I had a question regarding data pre processing
Please do let me know, Thanks. Best Regards |
The scripts do not offer options like this, but you can customize the preprocessing workflow to specify the missing pattern. One function you should pay attention to is |
Thank You Wenjie for your reply, it was of great help. I had a few of doubts:
Please do let me know, Thanks. Best Regards |
Answer to Answer to Answer to Answer to Hope my answers can help you. Footnotes
|
Thank You Wenjie for your reply, the answers were very insightful . |
Wenjie, In your SAITS model, what is your sliding window size? Or does SAITS need sliding window size at all? Thanks, |
Hi Haochen (@Rdfing), Thanks for asking. |
Weijie, Thank you for the clarification. Haochen |
Hi Niharika, The answers to your questions can be found in the original SAITS paper.
Footnotes
|
Thankyou for the answers Wenjie. |
Hello Wenjie, While I was running brits model, I had a doubt
Please do let me know, Thanks. Best Regards |
Hi Niharika, BRITS consists of two RITS, and a single RITS is not exposed for use in PyPOTS (I will consider exposing it in the near future), though you can refer to its implementation. And I strongly recommend you to read the original paper of BRITS in detail to figure out your question A kind reminder, your questions are not related to this issue. You can create new issues for your new questions, and this can help avoid other guys asking similar questions (creating proper issues is absolutely a kind of contribution). Or send me your questions by email. I always try my best to help. Thank you. 😃 |
Hello Wenjie,
Thank you for releasing the code, I had couple of questions. I am trying to run the code using Air Quality dataset in Google Colab. These are some of my doubts:
Running this gives me the following error message.
OSError: Unable to open file (unable to open file: name = 'dataset_generating_scripts/RawData/AirQuality/PRSA_Data_20130301-20170228/datasets.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
All the dataset is in .CSV format.
1a) Is there an option to use the default .csv data?
1b) How do I convert .csv to h5 format?
As in file configs/AirQuality_SAITS_best.ini ?
Please do let me know, thanks.
Niharika
The text was updated successfully, but these errors were encountered: