Comments (1)
similar issue with running hypersearch.py ..
python hypersearch.py
Traceback (most recent call last):
File "hypersearch.py", line 852, in <module>
main()
File "hypersearch.py", line 848, in main
y_list=Y
File "/Users/bvz/Documents/tforce_btc_trader/gp.py", line 193, in bayesian_optimisation2
y_list.append(loss_fn(params))
File "hypersearch.py", line 799, in loss_fn
reward = hsearch.execute(vec2hypers(params))
File "hypersearch.py", line 624, in execute
env.train_and_test(agent, self.cli_args.n_steps, self.cli_args.n_tests, -1)
File "/Users/bvz/Documents/tforce_btc_trader/btc_env.py", line 599, in train_and_test
runner.run(timesteps=timesteps_each)
File "/Users/bvz/Documents/tensorforce/tensorforce/execution/runner.py", line 126, in run
state, terminal, reward = self.environment.execute(actions=action)
File "/Users/bvz/Documents/tforce_btc_trader/btc_env.py", line 462, in execute
custom = self.end_episode_score()
File "/Users/bvz/Documents/tforce_btc_trader/btc_env.py", line 545, in end_episode_score
sharpe = self.sharpe()
File "/Users/bvz/Documents/tforce_btc_trader/btc_env.py", line 532, in sharpe
diff = (pd.Series(totals.trade).pct_change() - pd.Series(totals.hold).pct_change())[1:]
File "/Users/bvz/anaconda3/lib/python3.6/site-packages/pandas/core/series.py", line 227, in __init__
raise_cast_failure=True)
File "/Users/bvz/anaconda3/lib/python3.6/site-packages/pandas/core/series.py", line 2868, in _sanitize_array
subarr = _possibly_convert_platform(data)
File "/Users/bvz/anaconda3/lib/python3.6/site-packages/pandas/core/common.py", line 1002, in _possibly_convert_platform
values = lib.list_to_object_array(values)
TypeError: Argument 'obj' has incorrect type (expected list, got BoxList)
from tforce_btc_trader.
Related Issues (20)
- Error: Cannot find module 'webpack' HOT 3
- ModuleNotFoundError: No module named 'data.data' HOT 2
- (psycopg2.ProgrammingError) relation "coinbase" does not exist HOT 3
- Live-mode NotImplementedError HOT 3
- Switching to conv1d/ LSTM-FCN representation
- Table runs does not exist HOT 5
- Visualisation issue HOT 3
- Non-existent input ^ConstantFoldingCtrl/ppo/cond/add/Switch_0 for node ConstantFolding/ppo/cond/strided_slice_2/stack_const_axis HOT 11
- Data Source HOT 1
- Volatile GPU-Util is low HOT 6
- Can we add a support and resistance indicator? HOT 1
- Actions exploration HOT 4
- v0.2 Save trials object to resume on next run HOT 2
- Python hung (likely because of too many psycopg2 connections) during attempted impmentation of https://github.com/deepmind/scalable_agent HOT 1
- Suggestion: setup docker to be easy to develop. HOT 2
- Can't find run.py? HOT 1
- Google Colab Tutorial not showing
- Typeerror occurred at tensorforce 0.4.3 When run hypersearch.py
- How to add new RL features from media news to train them?
- This is a question HOT 1
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 tforce_btc_trader.