`Traceback (most recent call last):


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3296, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-2-fdcb63e6b932>", line 1, in <module>

runfile('C:/Projects/destination-prediction-thesis/src/models/LSTM_reg_min_2_losses.py', wdir='C:/Projects/destination-prediction-thesis/src/models')


 "C:\Program 
s\JetBrains\PyCharm 2019.1.1\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars)
# execute the script


 "C:\Program 
s\JetBrains\PyCharm 2019.1.1\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "C:/Projects/destination-prediction-thesis/src/models/LSTM_reg_min_2_losses.py", line 254, in <module>

round_limit=11)


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\talos\scan\Scan.py", line 196, in __init__

self._runtime()


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\talos\scan\Scan.py", line 201, in _runtime

self = scan_run(self)


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\talos\scan\scan_run.py", line 26, in scan_run

self = scan_round(self)


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\talos\scan\scan_round.py", line 19, in scan_round

self.model_history, self.keras_model = ingest_model(self)


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\talos\model\ingest_model.py", line 10, in ingest_model

self.round_params)


 "C:/Projects/destination-prediction-thesis/src/models/LSTM_reg_min_2_losses.py", line 195, in dest_pred_model

model = compile_model(model, params, static_params)


 "C:/Projects/destination-prediction-thesis/src/models/LSTM_reg_min_2_losses.py", line 102, in compile_model

loss_weights={'pred_weighted': static_params['alpha'], 'auxiliary_output': static_params['beta']})


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\keras\engine\training.py", line 347, in compile

total_loss = loss_weight * output_loss


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\tensorflow\python\ops\variables.py", line 935, in _run_op

return tensor_oper(a.value(), *args, **kwargs)


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\tensorflow\python\ops\math_ops.py", line 810, in binary_op_wrapper

with ops.name_scope(None, op_name, [x, y]) as name:


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\tensorflow\python\framework\ops.py", line 6083, in __enter__

g = _get_graph_from_inputs(self._values)


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\tensorflow\python\framework\ops.py", line 5713, in _get_graph_from_inputs

_assert_same_graph(original_graph_element, graph_element)


 "C:\Projects\destination-prediction-thesis\venv\lib\site-packages\tensorflow\python\framework\ops.py", line 5649, in _assert_same_graph

original_item))
ValueError: Tensor("loss/pred_weighted_loss/Mean_2:0", shape=(), dtype=float32) must be from the same graph as Tensor("Variable/read:0", shape=(), dtype=float32).`

Traceback (most recent call last):


 "test_frozen.py", line 54, in <module>

_ = tf.import_graph_def(graph_def, name='')


 "/home/flyvideo/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/importer.py", line 388, in import_graph_def

node, 'Input tensor %r %s' % (input_name, te)))
ValueError: graph_def is invalid at node u'InceptionResnetV1/Conv2d_1a_3x3/BatchNorm/cond/AssignMovingAvg/Switch': Input tensor 'InceptionResnetV1/Conv2d_1a_3x3/BatchNorm/moving_mean:0' Cannot convert a tensor of type float32 to an input of type float32_ref.
