Skip to content

Commit

Permalink
[docs] Pictures for all the Examples (ray-project#5859)
Browse files Browse the repository at this point in the history
* image

* plot resnet

* hyperparam

* fixup_pictures

* custom_direct
  • Loading branch information
richardliaw authored Oct 14, 2019
1 parent 8fd23c0 commit 7f4141d
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 803 deletions.
8 changes: 4 additions & 4 deletions doc/examples/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@ Examples Overview

.. customgalleryitem::
:tooltip: Build a simple parameter server using Ray.
:figure: /images/param_actor.png
:description: :doc:`/auto_examples/plot_parameter_server`

.. customgalleryitem::
:tooltip: Asynchronous Advantage Actor Critic agent using Ray.
:figure: /images/a3c.png
:description: :doc:`/auto_examples/plot_example-a3c`

.. customgalleryitem::
:tooltip: Simple parallel asynchronous hyperparameter evaluation.
:figure: /images/hyperparameter.png
:description: :doc:`/auto_examples/plot_hyperparameter`

.. customgalleryitem::
:tooltip: Parallelizing a policy gradient calculation on OpenAI Gym Pong.
:figure: /images/pong.png
:description: :doc:`/auto_examples/plot_pong_example`

.. customgalleryitem::
Expand All @@ -25,10 +29,6 @@ Examples Overview
:tooltip: Implementing a simple news reader using Ray.
:description: :doc:`/auto_examples/plot_newsreader`

.. customgalleryitem::
:tooltip: Using Ray to train ResNet across multiple GPUs.
:description: :doc:`/auto_examples/plot_resnet`

.. customgalleryitem::
:tooltip: Implement a simple streaming application using Ray’s actors.
:description: :doc:`/auto_examples/plot_streaming`
4 changes: 4 additions & 0 deletions doc/examples/plot_example-a3c.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ To run the application, first install **ray** and then some dependencies:
pip install opencv-python-headless
pip install scipy
.. image:: ../images/a3c.png
:align: center

You can run the code with

.. code-block:: bash
Expand Down
3 changes: 3 additions & 0 deletions doc/examples/plot_hyperparameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
using ``ray.remote`` to define remote functions and ``ray.wait`` to wait for
their results to be ready.
.. image:: ../images/hyperparameter.png
:align: center
.. important:: For a production-grade implementation of distributed
hyperparameter tuning, use `Tune`_, a scalable hyperparameter
tuning library built using Ray's Actor API.
Expand Down
4 changes: 4 additions & 0 deletions doc/examples/plot_pong_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
This application is adapted, with minimal modifications, from
Andrej Karpathy's `source code`_ (see the accompanying `blog post`_).
.. image:: ../images/pong-arch.svg
:align: center
To run the application, first install some dependencies.
.. code-block:: bash
Expand Down
103 changes: 0 additions & 103 deletions doc/examples/plot_resnet.rst

This file was deleted.

116 changes: 0 additions & 116 deletions doc/examples/resnet/cifar_input.py

This file was deleted.

Loading

0 comments on commit 7f4141d

Please sign in to comment.