In [1]:
from run import *
%matplotlib inline


---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-1-5dcd5693b03e> in <module>()
----> 1 from run import *
      2 get_ipython().magic(u'matplotlib inline')

/home/frederik/Dokumente/DeepRL/ddpg_working/run.py in <module>()
      1 #!/usr/bin/env python
----> 2 import experiment
      3 import gym
      4 import numpy as np
      5 import filter_env

/home/frederik/Dokumente/DeepRL/ddpg_working/experiment.py in <module>()
      6 import os
      7 import sys
----> 8 import tensorflow as tf
      9 
     10 flags = tf.app.flags

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/__init__.py in <module>()
     21 from __future__ import print_function
     22 
---> 23 from tensorflow.python import *

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/python/__init__.py in <module>()
     63 from tensorflow.core.util.event_pb2 import *
     64 # Import things out of contrib
---> 65 import tensorflow.contrib as contrib
     66 
     67 # Framework

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/__init__.py in <module>()
     24 from tensorflow.contrib import distributions
     25 from tensorflow.contrib import framework
---> 26 from tensorflow.contrib import grid_rnn
     27 from tensorflow.contrib import layers
     28 from tensorflow.contrib import learn

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/grid_rnn/__init__.py in <module>()
     25 
     26 # pylint: disable=unused-import,wildcard-import, line-too-long
---> 27 from tensorflow.contrib.grid_rnn.python.ops.grid_rnn_cell import *

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/grid_rnn/python/ops/grid_rnn_cell.py in <module>()
     26 from tensorflow.python.ops import variable_scope as vs
     27 from tensorflow.python.ops import rnn_cell
---> 28 from tensorflow.contrib import layers
     29 
     30 

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/layers/__init__.py in <module>()
     75 
     76 # pylint: disable=unused-import,wildcard-import
---> 77 from tensorflow.contrib.layers.python.layers import *
     78 from tensorflow.python.util.all_util import make_all
     79 

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/layers/python/layers/__init__.py in <module>()
     23 from tensorflow.contrib.layers.python.layers.feature_column_ops import *
     24 from tensorflow.contrib.layers.python.layers.initializers import *
---> 25 from tensorflow.contrib.layers.python.layers.layers import *
     26 from tensorflow.contrib.layers.python.layers.optimizers import *
     27 from tensorflow.contrib.layers.python.layers.regularizers import *

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/layers/python/layers/layers.py in <module>()
     35 from tensorflow.python.ops import init_ops
     36 from tensorflow.python.ops import nn
---> 37 from tensorflow.python.ops import standard_ops
     38 from tensorflow.python.ops import variable_scope
     39 from tensorflow.python.training import moving_averages

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/standard_ops.py in <module>()
     44 from tensorflow.python.ops.data_flow_ops import *
     45 from tensorflow.python.ops.functional_ops import *
---> 46 from tensorflow.python.ops.gradients import *
     47 from tensorflow.python.ops.histogram_ops import *
     48 from tensorflow.python.ops.init_ops import *

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gradients.py in <module>()
     35 from tensorflow.python.ops import control_flow_grad  # pylint: disable=unused-import
     36 from tensorflow.python.ops import control_flow_ops
---> 37 from tensorflow.python.ops import image_grad  # pylint: disable=unused-import
     38 from tensorflow.python.ops import logging_ops  # pylint: disable=unused-import
     39 from tensorflow.python.ops import linalg_grad  # pylint: disable=unused-import

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/image_grad.py in <module>()
     23 from tensorflow.python.framework import tensor_shape
     24 from tensorflow.python.framework import tensor_util
---> 25 from tensorflow.python.ops import gen_image_ops
     26 
     27 

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_image_ops.py in <module>()
   1397 
   1398 
-> 1399 _op_def_lib = _InitOpDefLibrary()

/home/frederik/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_image_ops.py in _InitOpDefLibrary()
    683 def _InitOpDefLibrary():
    684   op_list = op_def_pb2.OpList()
--> 685   text_format.Merge(_InitOpDefLibrary.op_list_ascii, op_list)
    686   op_def_registry.register_op_list(op_list)
    687   op_def_lib = op_def_library.OpDefLibrary()

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in Merge(text, message, allow_unknown_extension)
    307     ParseError: On text parsing problems.
    308   """
--> 309   return MergeLines(text.split('\n'), message, allow_unknown_extension)
    310 
    311 

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in MergeLines(lines, message, allow_unknown_extension)
    344     ParseError: On text parsing problems.
    345   """
--> 346   _ParseOrMerge(lines, message, True, allow_unknown_extension)
    347   return message
    348 

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in _ParseOrMerge(lines, message, allow_multiple_scalars, allow_unknown_extension)
    369   while not tokenizer.AtEnd():
    370     _MergeField(tokenizer, message, allow_multiple_scalars,
--> 371                 allow_unknown_extension)
    372 
    373 

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in _MergeField(tokenizer, message, allow_multiple_scalars, allow_unknown_extension)
    471         raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token))
    472       _MergeField(tokenizer, sub_message, allow_multiple_scalars,
--> 473                   allow_unknown_extension)
    474 
    475     if is_map_entry:

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in _MergeField(tokenizer, message, allow_multiple_scalars, allow_unknown_extension)
    471         raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token))
    472       _MergeField(tokenizer, sub_message, allow_multiple_scalars,
--> 473                   allow_unknown_extension)
    474 
    475     if is_map_entry:

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in _MergeField(tokenizer, message, allow_multiple_scalars, allow_unknown_extension)
    471         raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token))
    472       _MergeField(tokenizer, sub_message, allow_multiple_scalars,
--> 473                   allow_unknown_extension)
    474 
    475     if is_map_entry:

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in _MergeField(tokenizer, message, allow_multiple_scalars, allow_unknown_extension)
    481         getattr(message, field.name)[sub_message.key] = sub_message.value
    482   elif field:
--> 483     tokenizer.Consume(':')
    484     if (field.label == descriptor.FieldDescriptor.LABEL_REPEATED and
    485         tokenizer.TryConsume('[')):

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in Consume(self, token)
    741       ParseError: If the text couldn't be consumed.
    742     """
--> 743     if not self.TryConsume(token):
    744       raise self._ParseError('Expected "%s".' % token)
    745 

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in TryConsume(self, token)
    728     """
    729     if self.token == token:
--> 730       self.NextToken()
    731       return True
    732     return False

/home/frederik/anaconda2/lib/python2.7/site-packages/google/protobuf/text_format.pyc in NextToken(self)
    985       return
    986 
--> 987     match = self._TOKEN.match(self._current_line, self._column)
    988     if match:
    989       token = match.group(0)

KeyboardInterrupt: 

In [ ]:
e = Experiment()
e.run('MountainCarContinuous-v0')

In [ ]: