haosulab / ManiSkill

SAPIEN Manipulation Skill Framework, a GPU parallelized robotics simulator and benchmark
https://maniskill.ai/
Apache License 2.0
928 stars 168 forks source link

AttributeError: 'Viewer' object has no attribute 'cpu' #696

Open fengjungui opened 1 week ago

fengjungui commented 1 week ago

When I use demo_manual_control.py,I meet this problem: **render_frame = env.render().cpu().numpy()[0]

if after_reset: after_reset = False

Re-focus on opencv viewer

  if args.enable_sapien_viewer:
      renderer.close()
      renderer = visualization.ImageRenderer()
      pass

--------------------------------------------------------------------------

Interaction

--------------------------------------------------------------------------

Input

renderer(render_frame)**

StoneT2000 commented 1 week ago

What script did you run on the command line?

fengjungui commented 1 week ago

demo manual control

---Original--- From: "Stone @.> Date: Fri, Nov 15, 2024 06:40 AM To: @.>; Cc: @.**@.>; Subject: Re: [haosulab/ManiSkill] AttributeError: 'Viewer' object has noattribute 'cpu' (Issue #696)

What script did you run on the command line?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

StoneT2000 commented 1 week ago

I can't understand what you sent?