Traceback (most recent call last):
File "keras_version/3_situation.py", line 328, in
g_model,loss_model,train_model,meta_model,loss_model_debug = get_Net(style_weight = style_weight,content_weight = content_weight,tv_weight =tv_weight)
File "keras_version/3_situation.py", line 213, in get_Net
content_feature_model = Model(vgg.input,layer_features)
File "D:\installFile\Anaconda3\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper
return func(*args, *kwargs)
File "D:\installFile\Anaconda3\lib\site-packages\keras\engine\network.py", line 93, in init
self._init_graph_network(args, **kwargs)
File "D:\installFile\Anaconda3\lib\site-packages\keras\engine\network.py", line 188, in _init_graph_network
'Found: ' + str(x))
ValueError: Output tensors to a Model must be the output of a Keras Layer (thus holding past layer metadata). Found: <map object at 0x000002872D2EC470>
@ypwhs
Traceback (most recent call last): File "keras_version/3_situation.py", line 328, in
g_model,loss_model,train_model,meta_model,loss_model_debug = get_Net(style_weight = style_weight,content_weight = content_weight,tv_weight =tv_weight)
File "keras_version/3_situation.py", line 213, in get_Net
content_feature_model = Model(vgg.input,layer_features)
File "D:\installFile\Anaconda3\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper
return func(*args, *kwargs)
File "D:\installFile\Anaconda3\lib\site-packages\keras\engine\network.py", line 93, in init
self._init_graph_network(args, **kwargs)
File "D:\installFile\Anaconda3\lib\site-packages\keras\engine\network.py", line 188, in _init_graph_network
'Found: ' + str(x))
ValueError: Output tensors to a Model must be the output of a Keras
Layer
(thus holding past layer metadata). Found: <map object at 0x000002872D2EC470> @ypwhs