Giter Club home page Giter Club logo

Comments (6)

qgallouedec avatar qgallouedec commented on June 18, 2024

Hey, please provide the system info
As far as I remember, the babyai mission is a str right?

from stable-baselines3.

Chainesh avatar Chainesh commented on June 18, 2024

Here is the system info as requested:

  • OS: Linux-6.5.0-28-generic-x86_64-with-glibc2.35 # 29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2
  • Python: 3.11.5
  • Stable-Baselines3: 2.2.1
  • PyTorch: 2.1.0+cu118
  • GPU Enabled: True
  • Numpy: 1.24.3
  • Cloudpickle: 2.2.1
  • Gymnasium: 0.29.1
  • OpenAI Gym: 0.26.2

Yes you're correct it should be a string based on the babyai level, but image and direction key are not causing the issue for sure. Even on simply Using this code

env  = gym.make("BabyAI-PickupLoc-v0")
model = PPO("MlpPolicy", env, seed = 42, verbose=1)
model.learn(50000)
env.close()

throws the same error.

from stable-baselines3.

qgallouedec avatar qgallouedec commented on June 18, 2024

Text observation is not supported. Technically, to make it work, you can convert the text to a discrete value, for example.
That said, depending on what you're trying to do and show, this solution may not be relevant.

from stable-baselines3.

Chainesh avatar Chainesh commented on June 18, 2024

Can I convert text into a vector embedding and them might be able to use it?

from stable-baselines3.

qgallouedec avatar qgallouedec commented on June 18, 2024

it should work yes

from stable-baselines3.

Chainesh avatar Chainesh commented on June 18, 2024

Thanks :)

from stable-baselines3.

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.