Comments (7)
it need to change to : agent.states = env.reset()[0][np.newaxis, :]
from finrl-tutorials.
Thank you
from finrl-tutorials.
in explore_env(self, env, horizon_len)
201
202 ary_action = convert(action).detach().cpu().numpy()
--> 203 ary_state, reward, done, _ = env.step(ary_action)
204 if done:
205 ary_state = env.reset()
ValueError: too many values to unpack (expected 4). Now it is showing another error.
from finrl-tutorials.
all of the env.reset() you need to do the same env.reset()[0]
from finrl-tutorials.
but I am still fighting to understand how everything is done, wish they had a manual.... it is sooo cryptic.... I been trying to modify the models, but they dont improve the learning....
from finrl-tutorials.
Yes, model is showing error in every step. Thanks a lot for your help.
from finrl-tutorials.
After modifying env.reset() to env.reset()[0] this error is resolved.
from finrl-tutorials.
Related Issues (20)
- error in FinRL-Tutorials/3-Practical/FinRL_PaperTrading_Demo.ipynb HOT 2
- error encountered in yahoo downloader in the very first tutorial notebook HOT 1
- I can't reproduction the result of "Stock_NeurIPS2018/Stock_NeurIPS2018_3_Backtest.ipynb" HOT 1
- I meet an error when I run FinRL_PortfolioAllocation_NeurIPS_2020.ipynb in BackTestPlot,please help me!!! HOT 1
- FinRL_MultiCrypto_Trading.py no longer working due to changes in ElegantRL and FinRL-Meta HOT 1
- When I run FinRL_China_A_Share_Market.ipynb, the actions obtained from the training only traded in the firs two days. How to solve this problem? HOT 1
- ValueError: If using all scalar values, you must pass an index || Deep Reinforcement Learning for Stock Trading from Scratch: Multiple Stock Trading Using Ensemble Strategy
- AssertionError in Stock_NeurIPS2018_2_Train.ipynb
- China_A_share_market_tushare.py cannot run correctly.
- Stock_NeurIPS2018_2_Train only trains A2C
- Error/Introduction Stock NeurIPS2018 Part 3. Backtest.ipynb HOT 2
- Is it possible to continue a previously started ensemble model training?
- about the variable 'processed_full' in Stock_NeurIPS2018_SB3.py
- There is a bug in 1-Introduction Stock_NeurIPS2018_SB3.ipynb
- Float is not subscriptable
- tuple error in FinRL-Tutorials/3-Practical/FinRL_PaperTrading_Demo.ipynb HOT 1
- Please solve this error: Could not infer dtype of dict HOT 5
- Please resolve this issue: AttributeError: 'UTC' object has no attribute 'key'
- TypeError in run_ensemble_strategy method due to missing arguments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finrl-tutorials.