Problem with rllib configuration by command line

I have problem with rllib in ray container. I try to run container with the command line:

docker run --name ray-server -it --gpus all rayproject/ray:a90150-py38-gpu rllib train --run DQN --env CartPole-v0 --config ‘{“framework”: “tf2”, “eager_tracing”: true, “num_workers”: 7, “num_gpus”: 1}’

The error is:
JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
I think there is some problem with single and double quotas ’ or " in the command.
I will be grateful for any suggestions.

You can resolve this issue by appending --stop ‘{}’ for now because you are missing a (possibly empty) stop condition. Sorry for the error lacking verbosity and thanks a lot for reporting this! Doing a PR right now…

@Peter_Pirog incase you want to track this:

@arturn Thank you for the link :+1:

1 Like