Testing ChildCNN

Now that we have implemented both child_network and controller, it would be great to test the training of ChildCNN via our Controller with custom child network configurations. We would like to make sure that, with a sensible architecture, ChildCNN can learn sufficiently.

To do this, first open up your favorite Terminal and start a Jupyter console:

$ ipythonPython 3.6.4 (default, Jan 6 2018, 11:49:38)Type 'copyright', 'credits' or 'license' for more informationIPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

We first configure our logger so we can see the outputs on the Terminal:

In [1]: import sysIn [2]: import loggingIn [3]: logging.basicConfig(stream=sys.stdout,   ...: level=logging.DEBUG, ...: format='%(asctime)s ...

Get Python Reinforcement Learning Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.