Giter Site home page Giter Site logo

o2p2's People

Contributors

jannerm 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

Watchers

 avatar  avatar  avatar

o2p2's Issues

Failed to load XML from string. mj_loadXML error: b'XML parse error at line 0, column 0:\nFailed to open file\n'

sorry, when I run

python mujoco/generate.py --drop_steps_max 1001 --render_freq 1000 \
   --num_images 10 --img_dim 64 --min_objects 2 --max_objects 4 --output_path rendered/initial_final/

I got a problem `Traceback (most recent call last):
File "generate.py", line 81, in
sim, xml, drop_name = contacts.sample_settled(asset_path, num_objects, polygons, settle_bounds)
File "G:\python_download\o2p2-master\contacts.py", line 41, in sample_settled
model = mjc.load_model_from_xml(xml_str)
File "cymj.pyx", line 191, in mujoco_py.cymj.load_model_from_xml
Exception:












<compiler angle='radian'/>

<option timestep='0.002'>
    <flag override='enable'/>
</option>

<visual>
  <map znear="0.001"/>
</visual>
  <geom name='wall_left'  type='box' pos='-3 -1 0' euler='0 0 0' size='0.1 2 4' material='wall_invisible'/>
  <geom name='wall_right'  type='box' pos='-3 -1 0' euler='0 0 0' size='0.1 2 4' material='wall_invisible'/>
  <geom name='wall_back'  type='box' pos='0 -4 2' euler='0 0 0' size='4 0.1 4' material='wall_invisible'/>
  <geom name='wall_floor'  type='plane' pos='0 0 -.5' euler='0 0 0' size='5 5 0.1' material='wall_visible'/>


    <body name='horizontal_rectangle_0' pos='-0.17664090441507962 -0.24060823719492286 0' quat='0.998785566023292 0.0492685813022071 0.0 0.0'>
      <joint type='free' name='horizontal_rectangle_0'/>
      <geom name='horizontal_rectangle_0' type='mesh' mesh='horizontal_rectangle_0' pos='0 0 0' quat='1 0 0 0' material='horizontal_rectangle_0'/>
    </body>


    <body name='horizontal_rectangle_1' pos='0.3288149447762283 -0.4461769083189362 1' quat='0.21689552040424742 0.9761948233977533 0.0 0.0'>
      <joint type='free' name='horizontal_rectangle_1'/>
      <geom name='horizontal_rectangle_1' type='mesh' mesh='horizontal_rectangle_1' pos='0 0 0' quat='1 0 0 0' material='horizontal_rectangle_1'/>
    </body>


    <body name='tetrahedron_0' pos='-0.3135027223028398 -0.43081215461710526 2' quat='0.46315121985035296 0.0 0.0 0.8862792717598275'>
      <joint type='free' name='tetrahedron_0'/>
      <geom name='tetrahedron_0' type='mesh' mesh='tetrahedron_0' pos='0 0 0' quat='1 0 0 0' material='tetrahedron_0'/>
    </body>


    <body name='cube_0' pos='0 0 100' quat='1.0 0.0 0.0 0.0'>
      <joint type='free' name='cube_0'/>
      <geom name='cube_0' type='mesh' mesh='cube_0' pos='0 0 0' quat='1 0 0 0' material='cube_0'/>
    </body>

Failed to load XML from string. mj_loadXML error: b'XML parse error at line 0, column 0:\nFailed to open file\n'`

Code of your network

Hi,
Will you publish the code of your network?
Can you share pre-trained models as well?

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.