Traceback (most recent call last):


 "cifar10_main.py", line 519, in <module>

main(**vars(args))


 "cifar10_main.py", line 387, in main

**hparams))


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/learn_runner.py", line 218, in run

return _execute_schedule(experiment, schedule)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/learn_runner.py", line 46, in _execute_schedule

return task()


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 661, in train_and_evaluate

self.train(delay_secs=0)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 390, in train

saving_listeners=self._saving_listeners)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 868, in _call_train

saving_listeners=saving_listeners)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 314, in train

loss = self._train_model(input_fn, hooks, saving_listeners)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 815, in _train_model

_, loss = mon_sess.run([estimator_spec.train_op, estimator_spec.loss])


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 539, in run

run_metadata=run_metadata)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1013, in run

run_metadata=run_metadata)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1104, in run

raise six.reraise(*original_exc_info)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/six.py", line 693, in reraise

raise value


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1089, in run

return self._sess.run(*args, **kwargs)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1161, in run

run_metadata=run_metadata)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 941, in run

return self._sess.run(*args, **kwargs)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 895, in run

run_metadata_ptr)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1128, in _run

feed_dict_tensor, options, run_metadata)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1344, in _do_run

options, run_metadata)


 "/Users/yaroslav/anaconda/envs/cifar/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1363, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Default AvgPoolingOp only supports NHWC.

Traceback (most recent call last):


 "C:\Python27\Scripts\elastalert-test-rule-script.py", line 11, in <module>

load_entry_point('elastalert==0.1.14', 'console_scripts', 'elastalert-test-rule')()


 "C:\Python27\lib\site-packages\elastalert-0.1.14-py2.7.egg\elastalert\test_rule.py", line 358, in main

test_instance.run_rule_test()


 "C:\Python27\lib\site-packages\elastalert-0.1.14-py2.7.egg\elastalert\test_rule.py", line 339, in run_rule_test

conf = self.load_conf(rule_yaml, args)


 "C:\Python27\lib\site-packages\elastalert-0.1.14-py2.7.egg\elastalert\test_rule.py", line 301, in load_conf

load_options(rules, conf, args.file)


 "C:\Python27\lib\site-packages\elastalert-0.1.14-py2.7.egg\elastalert\config.py", line 243, in load_options

rule['compound_compare_key'] = [rule['compare_key']]
KeyError: 'compare_key''
