Hi, I’m trying to export GAT in TF 2.1.0 SavedModel format, I was previously able to do so, but after trying to transition it to a more concise code the following error appeared:
`~/anaconda3/envs/recom/lib/python3.7/site-packages/tensorflow_core/python/framework/func_graph.py in _get_defun_inputs(args, names, structure, flat_shapes)
1189 specified_names = [arg.name for arg in tensor_specs if arg.name]
1190 if specified_names and len(specified_names) < len(tensor_specs):
-> 1191 raise ValueError("If specifying TensorSpec names for nested structures, "
1192 “either zero or all names have to be specified.”)
ValueError: If specifying TensorSpec names for nested structures, either zero or all names have to be specified.`
To reproduce simply create a python 3.7 env, install stellargraph and its dependencies with pip and after training the model in the GAT demo, try to export it in the next cell with:
tf.saved_model.save( model, export_dir)
I’m running on macOs Catalina 10.15 and Anaconda.
Any guidance would be appreciated!