carpedm20 / deep-rl-tensorflow

TensorFlow implementation of Deep Reinforcement Learning papers
MIT License
1.59k stars 396 forks source link

SystemError: new style getargs format but argument is not a tuple #2

Closed tigerneil closed 8 years ago

tigerneil commented 8 years ago

@carpedm20 In my mac, when I ran the example, error occurred:

SystemError: new style getargs format but argument is not a tuple

Finally I found the solution for the problem, go to http://stackoverflow.com/questions/26964379/systemerror-new-style-getargs-format-but-argument-is-not-a-tuple-in-ros-camerac for more detailed explanation

in environment/environment.py line 111, the last argument for imresize should be cast to tuple, using tuple(***) for that, like this: y_screen = imresize(y, tuple(self.observation_dims)).

tigerneil commented 8 years ago

solved.