Comments (3)
Hi, I'm one of the maintainers of tensorflow.net. However I'm sorry that none of the main maintainers of this repo is available at this time. We won't reject PRs but we don't have enough time to fix BUG or add features now. I feel sorry for that.
I've once met the same problem during the development. Generally, this BUG is because of wrong traced graph structure info or invalid backward ops in your model.
Tape
works as below: it records the information of nodes and edges of the graph, which is traced during the model running. When it's required to compute gradients, it pops the nodes at topological order, begging from the output node(s).
If you want debug it, please at first narrow the scope for debugging, finding a smallest model structure which could reproduce this problem. Then, run it with the source code and see the records in the Tape
. You'll finally find which number of the operation is missed in the tape informations. After that, you could try to fix it. Good luck!
from tensorflow.net.
Hello,
I wish to report that I am also experiencing the issue described here, namely Tensorflow.RuntimeError: Invalid tape state
.
Here are some details about my environment:
- TensorFlow.NET Version: 0.150.0
- Operating System: Windows 10
- IDE: Visual Studio 2022
- Usage Scenario: Training a U-Net model for image segmentation.
I am interested in any suggestions or solutions that may have been found since this issue was created. Moreover, if additional information from my side could help resolve this issue, I would be happy to provide it.
Thank you very much for your attention and for any effort aimed at resolving this issue. It is very important to me and my project.
Kind regards,
Aymane.
from tensorflow.net.
Thank you for your advice
from tensorflow.net.
Related Issues (20)
- [Question]: Loading Python EfficientNetV2B0 model HOT 1
- [Question]: How can I create a model with multiple outputs?
- [Question]: System.NotImplementedException in Tensorflow.Checkpoint.CheckpointPosition._queue_slot_variables
- [BUG Report]: Model.fit verbose is always set to 1. HOT 2
- [BUG Report]: Normalization layer, must call .adapt after load and save
- Breadth-first traversal of augmented graph view causes collection modification exception
- tensorflow.keras is missing NuGet package README file
- [BUG Report]: Cannot find backend on Apple Silicon mac HOT 2
- [Question]: How to use regularizer ?
- Error when running model.fit after upgrade tensorflow.net to v0.150 HOT 1
- [BUG Report]: EarlyStopping Callback Stops Training Prematurely Regardless of Performance Improvement
- [Feature Request]: TimeDistributed and Dot
- [Performance Issue]: 125x performance difference between Python and TensorFlow.NET HOT 5
- [Question]: How to achieve glass breakage detection
- System.Collections.Generic.KeyNotFoundException: The given key '1' was not present in the dictionary. HOT 1
- There is no method jacobian() in tf.GradientTape class?
- [Performance Issue]: Model Convergence issue in Keras with Parallel Execution of the fit() Method ? HOT 7
- Error when saving model using model.save HOT 12
- Deserialization exception thrown when loading a Keras SavedModel HOT 18
- [BUG Report]: Tensorflow.RuntimeError: Tensorflow.NET cannot find a backend despite having installed SciSharp.TensorFlow.Redist on macOS M1 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.net.