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

Add new LSTM practise example #5411

Closed
wants to merge 8 commits into from
Closed

Conversation

edencfc
Copy link
Contributor

@edencfc edencfc commented Nov 10, 2022

Add stock tendency forecast example using LSTM

@paddle-bot
Copy link

paddle-bot bot commented Nov 10, 2022

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5411.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:[Beta]飞桨文档预览工具

@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Nov 29, 2022

当我去运行你的stock_forecaset.ipynb的时候出现以下问题:

我本地的环境:

python: 3.8.13

paddlenlp                      2.4.3
paddlepaddle                   2.3.1
File ~/miniconda3/envs/paddlenlp/lib/python3.8/site-packages/dnutils/signals.py:25, in <module>
     23 SIGBUS = signal_.SIGBUS
     24 SIGCHLD = signal_.SIGCHLD
---> 25 SIGCLD = signal_.SIGCLD
     26 SIGCONT = signal_.SIGCONT
     27 SIGFPE = signal_.SIGFPE

AttributeError: module 'signal' has no attribute 'SIGCLD'

这个应该是由于包环境导致的,我有如下建议:

  1. 制定对应 python 包版本(我看dnutils 的 star 数量为 0,且对 python 版本有一定的要求,当然如果比如要使用dnutils)
  2. 如果必须使用dnutils,请指定版本,这样其他开发者能够直接安装
  3. 建议使用 tushare 来下载对应的股票相关数据,这个是官方维护的,比较稳定。

@momozi1996
Copy link
Collaborator

@edencfc hi~ 请按照RD的需求好好修改代码吼~~

@wj-Mcat wj-Mcat closed this Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants