Traceback (most recent call last):


 "/usr/local/bin/t2t-trainer", line 83, in <module>

tf.app.run()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "/usr/local/bin/t2t-trainer", line 79, in main

schedule=FLAGS.schedule)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/utils/trainer_utils.py", line 240, in run

run_locally(exp_fn(output_dir))


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/utils/trainer_utils.py", line 126, in experiment_fn

eval_steps=eval_steps)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/utils/trainer_utils.py", line 138, in create_experiment

model_name=model_name)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor/utils/trainer_utils.py", line 174, in create_experiment_components

keep_checkpoint_max=FLAGS.keep_checkpoint_max))
TypeError: __init__() got an unexpected keyword argument 'session_config'

Traceback (most recent call last):


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner

response = get_response(request)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/django/core/handlers/base.py", line 128, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/sites.py", line 300, in wrapper

return self.admin_view(view, cacheable)(*args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func

response = view_func(request, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/sites.py", line 208, in inner

return view(request, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 282, in view

return handler(request, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func

response = view_func(request, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/dashboard.py", line 593, in get

return self.template_response('xadmin/views/dashboard.html', self.get_context())


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 80, in method

return filter_chain(filters, len(filters) - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 63, in filter_chain

return filter_chain(filters, token - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 63, in filter_chain

return filter_chain(filters, token - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 63, in filter_chain

return filter_chain(filters, token - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 49, in filter_chain

return func()


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 62, in _inner_method

return fm(func if fargs[1] == '__' else func(), *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 62, in _inner_method

return fm(func if fargs[1] == '__' else func(), *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 62, in _inner_method

return fm(func if fargs[1] == '__' else func(), *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 74, in _inner_method

return func(self, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/dashboard.py", line 586, in get_context

context = super(Dashboard, self).get_context()


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 80, in method

return filter_chain(filters, len(filters) - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 63, in filter_chain

return filter_chain(filters, token - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 63, in filter_chain

return filter_chain(filters, token - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 63, in filter_chain

return filter_chain(filters, token - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 49, in filter_chain

return func()


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 62, in _inner_method

return fm(func if fargs[1] == '__' else func(), *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 62, in _inner_method

return fm(func if fargs[1] == '__' else func(), *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 62, in _inner_method

return fm(func if fargs[1] == '__' else func(), *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 74, in _inner_method

return func(self, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 410, in get_context

menus = copy.copy(self.get_nav_menu())


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 80, in method

return filter_chain(filters, len(filters) - 1, _inner_method, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 49, in filter_chain

return func()


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 74, in _inner_method

return func(self, *args, **kwargs)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 345, in get_nav_menu

get_url({'menus': site_menu}, had_urls)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 344, in get_url

get_url(m, had_urls)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 344, in get_url

get_url(m, had_urls)


 "/home/siskinc/py/sczytb/venv/lib/python3.5/site-packages/xadmin/views/base.py", line 341, in get_url

had_urls.append(menu['url'])
TypeError: string indices must be integers
