Giter Club home page Giter Club logo

vita-group / diffses Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 1.0 68.67 MB

๐Ÿ“œ [Under Review] "Symbolic Visual Reinforcement Learning: A Scalable Framework with Object-Level Abstraction and Differentiable Expression Search", Wenqing Zheng*, S P Sharan*, Zhiwen Fan, Kevin Wang, Yihan Xi, Atlas Wang

Home Page: https://vita-group.github.io/DiffSES/

Python 100.00%
interpretable-machine-learning neurosymbolic reinforcement-learning symbolic-regression

diffses's Issues

AttributeError: module 'numpy' has no attribute 'int'.

when I run gplearn_optuna.py,then
AttributeError: module 'numpy' has no attribute 'int'.
np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

No module named 'space'

when I use :python main.py --task train --config configs/atari_spaceinvaders.yaml resume True device 'cuda:0'
then the following error happened:
Traceback (most recent call last):
File "main.py", line 1, in
from engine.utils import get_config
File "/home/l/Downloads/DiffSES/space/engine/utils.py", line 4, in
from space.config import cfg
ModuleNotFoundError: No module named 'space'

Missing code for extracting position and velocity using OD module

This is a wonderful code repository with many impressive capabilities. I sincerely appreciate you sharing it.

When testing the code, I noticed the section for utilizing the OD module to extract velocity and position in[save_offline_dataset.py]&[symbolic_finetuning_guided.py] does not seem to be included, so do as the "save teacher dataset" code. If it's not too much trouble, adding that code would significantly improve the functionality. Please let me know if you would be willing to add it at your convenience.

Thank you again for providing this great resource. Your work is incredibly valuable to the community. I look forward to seeing future updates!

ValueError: supplied function logical does not return a numpy array.

when I run distill_teacher.py, then
Traceback (most recent call last):
File "/home/l/Downloads/DiffSES/distill_teacher.py", line 63, in
logical = make_function(function=_logical, name="logical", arity=2)
File "/home/l/Downloads/DiffSES/gplearn/functions.py", line 99, in make_function
raise ValueError("supplied function %s does not return a numpy array." % name)
ValueError: supplied function logical does not return a numpy array.

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.