Code Monkey home page Code Monkey logo

mctx_learning_demo's People

Contributors

kenjyoung avatar yazdanbakhsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mctx_learning_demo's Issues

Visualization?

Is there any visualization of the task like I can use the trained model?

Better search_value

Thanks for preparing the whole training script and the JAX environment.

I have minor suggestion to improve the target for the value network.
When using sequential halving, the search does exploration to find the best action.
The root value is then possibly underestimated, because the average value includes the values of the explored actions.

search_value = policy_output.search_tree.node_values[:, policy_output.search_tree.ROOT_INDEX]

A better target for the value network would be the Q-value of the selected action:

search_value = policy_output.search_tree.qvalues(policy_output.action)

Problems with Haiku

I install Haiku through this command:

pip install git+https://github.com/deepmind/dm-haiku

But I got this error:

Traceback (most recent call last):
  File "basic_tree_search.py", line 2, in <module>
    import haiku as hk
  File "/home/percyp/anaconda3/envs/isaac/lib/python3.8/site-packages/haiku/__init__.py", line 19, in <module>
    from haiku import data_structures
  File "/home/percyp/anaconda3/envs/isaac/lib/python3.8/site-packages/haiku/data_structures.py", line 18, in <module>
    from haiku._src.data_structures import to_haiku_dict
  File "/home/percyp/anaconda3/envs/isaac/lib/python3.8/site-packages/haiku/_src/data_structures.py", line 30, in <module>
    from haiku._src import utils
  File "/home/percyp/anaconda3/envs/isaac/lib/python3.8/site-packages/haiku/_src/utils.py", line 42, in <module>
    def auto_repr(cls: type[Any], *args, **kwargs) -> str:
TypeError: 'type' object is not subscriptable

Am I installing from the wrong place? Could you help me solve this problem?

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.