mirror of
https://github.com/wassname/ray.git
synced 2026-08-15 12:45:23 +08:00
[sgd] Document and add simple MNIST example (#3236)
This commit is contained in:
@@ -326,14 +326,22 @@ docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
python /ray/python/ray/rllib/examples/custom_metrics_and_callbacks.py --num-iters=2
|
||||
|
||||
docker run -e "RAY_USE_XRAY=1" --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
python /ray/python/ray/experimental/sgd/test_sgd.py --num-iters=2 \
|
||||
--batch-size=1 --strategy=simple
|
||||
|
||||
docker run -e "RAY_USE_XRAY=1" --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
python /ray/python/ray/experimental/sgd/test_sgd.py --num-iters=2 \
|
||||
--batch-size=1 --strategy=ps
|
||||
|
||||
docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
python /ray/python/ray/experimental/sgd/mnist_example.py --num-iters=1 \
|
||||
--num-workers=1 --devices-per-worker=1 --strategy=ps
|
||||
|
||||
docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
python /ray/python/ray/experimental/sgd/mnist_example.py --num-iters=1 \
|
||||
--num-workers=1 --devices-per-worker=1 --strategy=ps --tune
|
||||
|
||||
docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA \
|
||||
python /ray/python/ray/rllib/train.py \
|
||||
--env PongDeterministic-v4 \
|
||||
|
||||
Reference in New Issue
Block a user