-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
qrun TRA model error #1062
Comments
I also found the error. You can edit the file: anaconda3\Lib\site-packages\qlib\contrib\data\dataset.py, line 196 of function _prepare_seg, and add the following code:
I wish it can be fixed in the next version. |
Thanks for your reply. I added your code, but it is not work. Can you give me more details? |
can you paste the error message? |
I think the reason you can't run the code is that the type of segments in class DatasetH and MTSDatasetH are different. You may run code in a py file instead of using qrun. Here is my py file:
|
Is this issue fixed by #1050 ? |
solve issue "qrun TRA model error (microsoft#1062)"
* fix bug on TRA dataset solve issue "qrun TRA model error (#1062)" * apply black pylint
* fix bug on TRA dataset solve issue "qrun TRA model error (microsoft#1062)" * apply black pylint
🐛 Bug Description
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
ERROR - qlib.workflow - [utils.py:41] - An exception has been raised[AttributeError: 'list' object has no attribute 'start'].
Screenshot
Environment
Note: User could run
cd scripts && python collect_info.py all
under project directory to get system informationand paste them here directly.
Windows
,Linux
,MacOS
):Additional Notes
The text was updated successfully, but these errors were encountered: