Giter Site home page Giter Site logo

alexandresajus / quadcopter-ai Goto Github PK

View Code? Open in Web Editor NEW
148.0 148.0 32.0 279.47 MB

Controlling a Rigidbody Quadcopter using Control Theory and Reinforcement Learning

License: GNU General Public License v3.0

Python 100.00%
control-theory game physics python reinforcement-learning rigidbody-physics

quadcopter-ai's People

Contributors

alexandresajus 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

quadcopter-ai's Issues

Compatibility Issues in train_SAC.py

๐Ÿ‘‹

I'm experiencing library compatibility issues when attempting to run train_SAC.py.

Specifically, the problem(s) arises with the following libraries: gym, gymnasium, wandb, stable-baselines3.

AssertionError: The algorithm only supports (<class 'gymnasium.spaces.box.Box'>,) as action spaces but Box(-1.0, 1.0, (2,), float32) was provided.

I've tried downgrading to older versions of some of these libraries, but the incompatibility issues persist. Maybe you should specify versions in requirements.txt ?

Can't install

$ pip3 install --upgrade setuptools
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: setuptools in /opt/anaconda3/envs/dev/lib/python3.10/site-packages (68.0.0)
Collecting setuptools
  Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
  Downloading setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
Downloading setuptools-68.2.2-py3-none-any.whl (807 kB)
   โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 807.9/807.9 kB 11.6 MB/s eta 0:00:00
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 68.0.0
    Uninstalling setuptools-68.0.0:
      Successfully uninstalled setuptools-68.0.0
Successfully installed setuptools-68.2.2
pip3 install git+https://github.com/AlexandreSajus/Quadcopter-AI.git
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting git+https://github.com/AlexandreSajus/Quadcopter-AI.git
  Cloning https://github.com/AlexandreSajus/Quadcopter-AI.git to /private/var/folders/yl/nwbv85dx7_vb01s5f597y_hc0000gn/T/pip-req-build-3fwymr_2
  Running command git clone --filter=blob:none --quiet https://github.com/AlexandreSajus/Quadcopter-AI.git /private/var/folders/yl/nwbv85dx7_vb01s5f597y_hc0000gn/T/pip-req-build-3fwymr_2
  Resolved https://github.com/AlexandreSajus/Quadcopter-AI.git to commit 1dcca4d610a17a44b3e6fe0e9bf50c4c7e725185
  Preparing metadata (setup.py) ... done
Collecting stable-baselines3==1.7.0 (from quadai==0.0.0)
  Downloading stable_baselines3-1.7.0-py3-none-any.whl (171 kB)
     โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 171.8/171.8 kB 4.6 MB/s eta 0:00:00
Collecting gym==0.21.0 (from quadai==0.0.0)
  Downloading gym-0.21.0.tar.gz (1.5 MB)
     โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 1.5/1.5 MB 20.8 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  ร— python setup.py egg_info did not run successfully.
  โ”‚ exit code: 1
  โ•ฐโ”€> [1 lines of output]
      error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

ร— Encountered error while generating package metadata.
โ•ฐโ”€> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(dev) [nickp@m2 (main โœ—)]$ pip3 --version
pip 23.2.1 from /opt/anaconda3/envs/dev/lib/python3.10/site-packages/pip (python 3.10)
(dev) [nickp@m2(main โœ—)]$ python3 --version
Python 3.10.6

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.