Git Product home page Git Product logo

Comments (7)

HYDesmondLiu avatar HYDesmondLiu commented on June 10, 2024 1

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.

HYDesmondLiu avatar HYDesmondLiu commented on June 10, 2024

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.

HYDesmondLiu avatar HYDesmondLiu commented on June 10, 2024

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.

HYDesmondLiu avatar HYDesmondLiu commented on June 10, 2024

OK, I finally found the solution:

  1. Install TensorFlow with 1.7.0 (<1.7.0 the hub is not working)
  2. 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.

HYDesmondLiu avatar HYDesmondLiu commented on June 10, 2024

Is anyone still maintaining this Github page? Just curious......

from coach.

mail2surie avatar mail2surie commented on June 10, 2024

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.

smart-patrol avatar smart-patrol commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.