Giter Site home page Giter Site logo

naorl's People

Contributors

andriusbern 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

Watchers

 avatar

naorl's Issues

ArgumentError: wrong type, client_id = None

Hi, thank you for your work. I was going to try it with a Nao robot after the vrep simulation.
When I try to train the model in Vrep at NaoBancing Env with ppo, I got a ArgumentError.

return c_StopSimulation(clientID, operationMode)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: wrong type

I find that the client_id is None. The reset method of Env(NaoBalancing) is called in the work method of Alg.py(A3C, PPO) before the initialzie method(NaoBalancing).

I saw ‘’Connect python client to VREP‘’ at initialize method. The client_id is defined and generated in connect method(VrepEnv/ base.py).

I think we must connect the pyhton client to Vrep and get the client_id before reset. But I am not sure where should I do this job at the right lines. Please help me!

Look forward to your kind reply.
Best wishes!

Currently all IDs must be of the form {}.)'.format(id.encode('utf-8'), env_id_re.pattern)

Hi,I meet a question when I running script "python train.py NaoBalancing a3c 0", so How I can fix this error, thanks!

raise error.Error('Attempted to look up malformed environment ID: {}. (Currently all IDs must be of the form {}.)'.format(id.encode('utf-8'), env_id_re.pattern))
gym.error.Error: Attempted to look up malformed environment ID: NaoBalancing. (Currently all IDs must be of the form ^(?:[\w:-]+/)?([\w:.-]+)-v(\d+)$.)

Erroneous syntax while adding the path to settings.py

The path to Vrep is not added properly as a string to settings.py.
At the end of settings.py we have:
VREP_DIR = /home/mariem/Downloads/V-REP_PRO_EDU_V3_4_0_Linux
so import nao_rl yields the following error:
File "nao_rl/settings.py", line 114 VREP_DIR = /home/mariem/Downloads/V-REP_PRO_EDU_V3_4_0_Linux ^ SyntaxError: invalid syntax
Changing it manually would definitely make it work, but I suppose one is not supposed to manually change settings.py

VrepEnvironment non existing

From the screenshot below, it can be noticed that VrepEnvironment is not implemented yet it is imported and this yields to an error when trying to run the code.
Screenshot from 2020-05-25 11-45-23

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.