google-deepmind / google-deepmind/dm_control

Headless rendering on Mac?

Đang mở
#464 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
4.7k
Fork
764
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I'm currently trying to run something on a headless Mac server that is hanging due to a call to Physics.render()

Relevant code excerpt:
```
from dm_control.suite import base

class MyTask(base.Task):

...

def get_observation(self, physics):
image = physics.render(...)
...

my_task.get_observation(self, physics)

```

I face the same issue if I try to follow the 'getting started' steps outlined here: https://github.com/google-deepmind/dm_control/tree/main/dm_control/mujoco

From a few existing issues and the description on the main readme.md, I can't quite tell if headless rendering on a MacOS system is supported or not - it seems like it might only be supported for Nvidia systems. If so, are there any known workarounds?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.