Comments (7)
It seems like minio has changed their class name from 'ResponseError' to 'InvalidResponseError'.
I have to manually modify the ones in s3_data_store.py......
from coach.
OK, then now I got this.
Is it that you developed code based on TenforFlow 1.X version?
AFAIK, Tensorflow modified a lot of APIs migrating from V1 to V2.
Traceback (most recent call last):
File "batch_rl.py", line 87, in <module>
graph_manager.create_graph(task_parameters)
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/graph_managers/graph_manager.py", line 148, in create_graph
self.level_managers, self.environments = self._create_graph(task_parameters)
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/graph_managers/batch_rl_graph_manager.py", line 152, in _create_graph
spaces_definition=self.spaces_definition)
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/level_manager.py", line 91, in __init__
self.build(spaces_definition)
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/level_manager.py", line 165, in build
[agent.set_environment_parameters(spaces) for agent in self.agents.values()]
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/level_manager.py", line 165, in <listcomp>
[agent.set_environment_parameters(spaces) for agent in self.agents.values()]
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/agents/agent.py", line 335, in set_environment_parameters
self.init_environment_dependent_modules()
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/agents/value_optimization_agent.py", line 46, in init_environment_dependent_modules
super().init_environment_dependent_modules()
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/agents/agent.py", line 380, in init_environment_dependent_modules
self.networks = self.create_networks()
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/agents/agent.py", line 353, in create_networks
worker_device=self.worker_device)
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/architectures/network_wrapper.py", line 86, in __init__
network_is_trainable=True)
File "/home/hsinyu/hyliu_Python/lib/python3.6/site-packages/rl_coach/architectures/tensorflow_components/general_network.py", line 71, in construct
with tf.variable_scope(variable_scope, auxiliary_name_scope=True) as vs:
AttributeError: module 'tensorflow' has no attribute 'variable_scope'
from coach.
Alright I have tried to replace all the v2 behavior with v1 but it is exhaustive.
Would you please let me know if using the following works or not or I need to downgrade my TensorFlow version?
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
from coach.
OK, I finally found the solution:
- Install TensorFlow with 1.7.0 (<1.7.0 the hub is not working)
- modify the minio class name.
Please make quick fix if possible to benefit others so they do not need to suffer like me.
from coach.
Is anyone still maintaining this Github page? Just curious......
from coach.
Hi,
I am facing the same issue.
seems like the issue is not yet fixed.
may I know what changes did you do to overcome this issue..
from coach.
I've gotten the same error. Possibly related to how coach is only supported for Ubuntu 16? Running 18 as well.
Edit:
I got it to work.
I went back and used Ubuntu 16 with Python 3.5. I followed the install steps as listed and then also ran the installs here.
Real shame that this lib went into maintenance.
from coach.
Related Issues (20)
- Deploying distributed learning on University cluster
- Installation Failure HOT 1
- How to use UCB Exploration via Q-Ensembles
- TypeError with Boltzmann Exploration for Discrete Custom Gym-Environment
- Using custom tf.keras model
- TimeDistributed LSTM Middleware
- Running DDQNBCQ in a Spark Cluster: why the traninig time is increased?
- Dashboard runs very slow: how can I speed it up?
- Saver fails to restore agent's checkpoint HOT 1
- Training performance on Starcraft II? HOT 1
- Import Error HOT 3
- Presets not found HOT 3
- Unable to alter example file in Batch RL tutorial
- How to load a pretrained model (e.g. SAC) pb file to coach and continue to train ? HOT 1
- How to convert ckpt to .pb ?
- Categorical DQN - dimension error
- ERROR: No matching distribution found for tensorflow-gpu==1.9.0
- ImportError: cannot import name 'ResponseError' from 'minio.error' when rl-coach installed with pip
- Can not find 'datasets/doom_basic.p' file mentioned in Doom_Basic_BC.py preset
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 coach.