-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Docker error: res.pkl not found. #450
Comments
Hi, We recommend using Python 3.10 or 3.11, and it's best to run rdagent in Docker. Please try using the suggested environment and see if the error persists. |
Hi, @shijie2016 ,
|
🐛 Bug Description
rdagent fin_factor在运行docker回测时发生错误,错误来源于运行qrun conf_combined.yaml时候docker出现问题,导致python read_exp_res.py找不到ret.pkl.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
用qlib非docker版本, build from source, python 3.8. 可以运行,qrun conf_combined.yaml (和"combined_factors_df.pkl"在同一路径下)。docker版本和非docker版本运行结果应该一致。
Screenshot
Environment
Note: Users can run
rdagent collect_info
to get system information and paste it directly here.2024-10-23 14:20:03.588 | INFO | rdagent.app.utils.info:sys_info:22 - Name of current operating system: Linux
2024-10-23 14:20:03.590 | INFO | rdagent.app.utils.info:sys_info:22 - Processor architecture: x86_64
2024-10-23 14:20:03.592 | INFO | rdagent.app.utils.info:sys_info:22 - System, version, and hardware information: Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
2024-10-23 14:20:03.595 | INFO | rdagent.app.utils.info:sys_info:22 - Version number of the system: #1 SMP Fri Mar 29 23:14:13 UTC 2024
2024-10-23 14:20:03.597 | INFO | rdagent.app.utils.info:python_info:29 - Python version: 3.10.15 | packaged by conda-forge | (main, Sep 30 2024, 17:51:04) [GCC 13.3.0]
2024-10-23 14:20:03.835 | INFO | rdagent.app.utils.info:docker_info:39 - Container ID: de01ca3cb5d127f06f62768eb0c8ace1d2f03aba738a993fc9cbc12cdc577542
2024-10-23 14:20:03.837 | INFO | rdagent.app.utils.info:docker_info:40 - Container Name: dazzling_lehmann
2024-10-23 14:20:03.840 | INFO | rdagent.app.utils.info:docker_info:41 - Container Status: exited
2024-10-23 14:20:03.855 | INFO | rdagent.app.utils.info:docker_info:42 - Image ID used by the container: sha256:6e7b71e839b4c7c1199d040a6e7ae11faa910da59138d839079dcc1b96eeb1d7
2024-10-23 14:20:03.868 | INFO | rdagent.app.utils.info:docker_info:43 - Image tag used by the container: ['local_qlib:latest']
2024-10-23 14:20:03.870 | INFO | rdagent.app.utils.info:docker_info:44 - Container port mapping: {}
2024-10-23 14:20:03.873 | INFO | rdagent.app.utils.info:docker_info:45 - Container Label: {'com.nvidia.volumes.needed': 'nvidia_driver', 'desktop.docker.io/wsl-distro': 'Ubuntu', 'org.opencontainers.image.ref.name': 'ubuntu', 'org.opencontainers.image.version': '22.04'}
2024-10-23 14:20:03.883 | INFO | rdagent.app.utils.info:docker_info:46 - Startup Commands: nvidia-smi
2024-10-23 14:20:03.887 | INFO | rdagent.app.utils.info:rdagent_info:54 - RD-Agent version: 0.2.1
2024-10-23 14:20:05.155 | INFO | rdagent.app.utils.info:rdagent_info:76 - Package version: ['pydantic-settings==2.5.2', 'typer==0.12.5', 'cython==3.0.11', 'python-Levenshtein==0.26.0', 'scikit-learn==1.5.2', 'filelock==3.16.1', 'loguru-mypy==0.0.4', 'loguru==0.7.2', 'fire==0.7.0', 'fuzzywuzzy==0.18.0', 'openai==1.51.2', 'ruamel-yaml==0.18.6', 'tabulate==0.9.0', 'numpy==1.26.4', 'pandas==2.2.3', 'pandarallel==1.6.5', 'feedparser==6.0.11', 'matplotlib==3.9.2', 'langchain==0.3.3', 'langchain-community==0.3.1', 'tiktoken==0.8.0', 'pymupdf==1.24.11', 'azure-identity==1.19.0', 'pypdf==5.0.1', 'azure-core==1.31.0', 'azure-ai-formrecognizer==3.3.3', 'tables==3.10.1', 'tree-sitter-python==0.23.2', 'tree-sitter==0.23.1', 'jupyter==1.1.1', 'python-dotenv==1.0.1', 'docker==7.1.0', 'streamlit==1.39.0', 'plotly==5.24.1', 'st-theme==1.2.3', 'selenium==4.25.0', 'kaggle==1.6.17', 'nbformat==5.10.4', 'seaborn==0.13.2', 'setuptools-scm==8.1.0']
Additional Notes
The text was updated successfully, but these errors were encountered: