Got error when I run CNN Text Classification example.
System.TypeInitializationException: The type initializer for 'Tensorflow.Keras.backend' threw an exception. ---> System.InvalidOperationException: ValueFactory attempted to access the Value property of this instance.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Tensorflow.tensorflow.get_defaultSession() in D:\SciSharp\TensorFlow.NET\src\TensorFlowNET.Core\tensorflow.cs:line 46
at Tensorflow.Keras.backend..cctor() in D:\SciSharp\TensorFlow.NET\src\TensorFlowNET.Core\Keras\backend.cs:line 31
--- End of inner exception stack trace ---
at Tensorflow.Keras.Utils.base_layer_utils.get_default_graph_uid_map() in D:\SciSharp\TensorFlow.NET\src\TensorFlowNET.Core\Keras\Utils\base_layer_utils.cs:line 113
at Tensorflow.Keras.Utils.base_layer_utils.unique_layer_name(String name, Dictionary`2 name_uid_map, String[] avoid_names, String namespace, Boolean zero_based) in D:\SciSharp\TensorFlow.NET\src\TensorFlowNET.Core\Keras\Utils\base_layer_utils.cs:line 78
You can set a break point at public static Dictionary<(string, string), int> get_default_graph_uid_map().
Got error when I run
CNN Text Classificationexample.You can set a break point at
public static Dictionary<(string, string), int> get_default_graph_uid_map().