asbroad / koopman_operator_model_learning Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, I was trying to implement the Koopman operator after reading the corresponding paper but came to encounter some issues.
First, I followed every step in the instruction: creating a ROS workspace, downloading the repositories (Koopman Operator and modified Gym), compiling the scripts, and running the launch files. Then I got errors popped up showing everything of the Gym was missing.
After that, I tried installing the original Gym first, did the same things above, and got this error log.
from Box2D.b2 import (edgeShape, circleShape, fixtureDef, polygonShape, revoluteJointDef, contactListener)
ImportError: No module named b2
Shutting down
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/core.py", line 466, in signal_shutdown
h()
File "/home/ray/ros_ws/src/koopman_operator_model_learning/scripts/collect_observations.py", line 157, in shutdown_hook
self.history = np.zeros((17, self.total_steps))
AttributeError: LunarLander instance has no attribute 'total_steps'
I checked the Python library and found that only Python 3.5 has the b2 module in Box2D, but Python 2.7 doesn't have. However, I am using ROS Kinetic, whose default python version is 2.7.
Appreciate it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.