Closed drmeerkat closed 1 year ago
Hi guys,
I'm trying to render rgb_screen on my mac. But when I try to run the pysc2/tests/render_test.py, the error message is like this,
pysc2/tests/render_test.py
Traceback (most recent call last): File "/Applications/anaconda3/envs/tf/lib/python3.7/site-packages/pysc2/tests/render_test.py", line 96, in test_render self.assertEqual(rgb_screen.shape, (256, 256, 3)) AssertionError: Tuples differ: (480, 400, 3) != (256, 256, 3)
First differing element 0: 480 256
Ran 1 test in 32.925s
FAILED (failures=1)`
It seems that if I change the window size manually, the (480, 400) will also change and nothing is rendered.
I'm in pysc 3.0.
I suspect the mac SC2 build doesn't support rgb rendering?
Hi guys,
I'm trying to render rgb_screen on my mac. But when I try to run the
pysc2/tests/render_test.py
, the error message is like this,`[ FAILED ] TestRender.test_render
FAIL: test_render (main.TestRender) test_render (main.TestRender)
Traceback (most recent call last): File "/Applications/anaconda3/envs/tf/lib/python3.7/site-packages/pysc2/tests/render_test.py", line 96, in test_render self.assertEqual(rgb_screen.shape, (256, 256, 3)) AssertionError: Tuples differ: (480, 400, 3) != (256, 256, 3)
First differing element 0: 480 256
Ran 1 test in 32.925s
FAILED (failures=1)`
It seems that if I change the window size manually, the (480, 400) will also change and nothing is rendered.
I'm in pysc 3.0.