Giter Site home page Giter Site logo

Comments (5)

qgallouedec avatar qgallouedec commented on August 16, 2024

Hello @learningxiaobai,

I don't understand your problem. Can you be a bit more specific and provide at least a description in addition to the title?

Here are some good practices when you will open your future issues:

  • Explain the expected behaviour
  • Explain the actual behaviour,
  • Provide a minimal code to reproduce the bug, and the logs if any,
  • Provide your system specification (package version, python version, OS)

I will be happy to help you once I have this :)

from panda-gym.

learningxiaobai avatar learningxiaobai commented on August 16, 2024

Hello @learningxiaobai,

I don't understand your problem. Can you be a bit more specific and provide at least a description in addition to the title?

Here are some good practices when you will open your future issues:

  • Explain the expected behaviour
  • Explain the actual behaviour,
  • Provide a minimal code to reproduce the bug, and the logs if any,
  • Provide your system specification (package version, python version, OS)

I will be happy to help you once I have this :)

hello,your codes are good and i ran well(no bugs),
1,2:my expected behaviour is that the robot can finish the task(such as push or grasp) through many trainings and the run window will stay until you close it,but the actual behaviour is that the run windows just stay few seconds and it shut down soon,
3.the logs are:
MotionThreadFunc thread started
numActiveThreads = 0
stopping threads
Thread with taskId 0 with handle 00000000000005EC exiting
Thread TERMINATED
finished
numActiveThreads = 0
btShutDownExampleBrowser stopping threads
Thread with taskId 0 with handle 0000000000000364 exiting
Thread TERMINATED
4.package version is 1.1.0,my python version is 3.6.8,windows
Sorry, I replied to you late because of the jet lag,
hope you can solve my problems,thanks,

from panda-gym.

learningxiaobai avatar learningxiaobai commented on August 16, 2024

1
just like this

from panda-gym.

qgallouedec avatar qgallouedec commented on August 16, 2024

The behavior is as expected.

  1. A window opens because rendering is enabled (render=True).
  2. An action is randomly chosen :action = env.action_space.sample().
  3. Then, after 50 timesteps, the environment returns done=True, so the loop stops.
  4. The environment is closed :env.close(), and so is the rendering window.

This directory does not propose any handwritten algorithm for the realization of the different tasks proposed. The whole point is that they are learned by reinforcement. See rl-baselines3-zoo directory, which proposes a well supplied benchmark of algorithm with the panda-gym tasks. You will be able to load pre-trained policies that you will find in the directory rl-trained-agents.

from panda-gym.

learningxiaobai avatar learningxiaobai commented on August 16, 2024

The behavior is as expected.

  1. A window opens because rendering is enabled (render=True).
  2. An action is randomly chosen :action = env.action_space.sample().
  3. Then, after 50 timesteps, the environment returns done=True, so the loop stops.
  4. The environment is closed :env.close(), and so is the rendering window.

This directory does not propose any handwritten algorithm for the realization of the different tasks proposed. The whole point is that they are learned by reinforcement. See rl-baselines3-zoo directory, which proposes a well supplied benchmark of algorithm with the panda-gym tasks. You will be able to load pre-trained policies that you will find in the directory rl-trained-agents.

thanks a lot,best wishes to you

from panda-gym.

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.