TensorFlow.NET icon indicating copy to clipboard operation
TensorFlow.NET copied to clipboard

Missing gradient function Conv2DBackpropInput

Open digital-synapse opened this issue 4 years ago • 0 comments

System.Collections.Generic.KeyNotFoundException HResult=0x80131577 Message=The given key 'Conv2DBackpropInput' was not present in the dictionary. Source=System.Private.CoreLib StackTrace: at System.ThrowHelper.ThrowKeyNotFoundException[T](T key) at System.Collections.Generic.Dictionary2.get_Item(TKey key) at Tensorflow.Eager.EagerRunner.<>c__DisplayClass5_0.<GetGradientFunction>b__0(Tensor[] out_grads, Int64[] unneeded_gradients) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Core\Eager\EagerRunner.RecordGradient.cs:line 73 at Tensorflow.Gradients.Tape.ComputeGradient(Tensor[] target_tensor_ids, Tensor[] source_tensor_ids, UnorderedMap2 sources_that_are_targets, Tensor[] output_gradients) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Core\Gradients\Tape.ComputeGradient.cs:line 92 at Tensorflow.Eager.EagerRunner.TFE_TapeGradient(ITape tape, Tensor[] target, Tensor[] sources, Tensor[] output_gradients) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Core\Eager\EagerRunner.TFE_TapeGradient.cs:line 40 at Tensorflow.Gradients.GradientTape.gradient(Tensor target, IEnumerable1 sources) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Core\Gradients\GradientTape.cs:line 100 at Tensorflow.Keras.Engine.Model._minimize(GradientTape tape, OptimizerV2 optimizer, Tensor loss, List1 trainable_variables) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Keras\Engine\Model.Train.cs:line 45 at Tensorflow.Keras.Engine.Model.train_step(Tensor x, Tensor y) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Keras\Engine\Model.Train.cs:line 37 at Tensorflow.Keras.Engine.Model.train_step_function(OwnedIterator iterator) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Keras\Engine\Model.Train.cs:line 14 at Tensorflow.Keras.Engine.Model.FitInternal(Int32 epochs, Int32 verbose) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Keras\Engine\Model.Fit.cs:line 98 at Tensorflow.Keras.Engine.Model.fit(NDArray x, NDArray y, Int32 batch_size, Int32 epochs, Int32 verbose, Single validation_split, Boolean shuffle, Int32 initial_epoch, Int32 max_queue_size, Int32 workers, Boolean use_multiprocessing) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\lib\TensorFlow.NET\src\TensorFlowNET.Keras\Engine\Model.Fit.cs:line 54 at dotnet_tensorflow_test.Program.Main(String[] args) in C:\Users\camos\OneDrive\dev\dotnet-tensorflow-test\Program.cs:line 50

digital-synapse avatar Dec 25 '21 03:12 digital-synapse