Questions tagged [tensorflow.net]
8 questions
2
votes
0 answers
Windows error ucrtbase.dll with Tensorflow on GPU running 3 models
System information
Have I written custom code: No
OS Platform and Distribution: Windows 10 version 21H2 (Windows-10-10.0.19041)
TensorFlow installed from (source or binary): source
TensorFlow version: tag 2.7.1 -…

quintakFR
- 21
- 3
2
votes
0 answers
C# How to pass multiple losses and labels? TensorFlow.NET (TensorFlow.Keras)
I am using C# with TensorFlow.NET (TensorFlow.Keras).
I want to implement alphazero and
I want to create a neural network with multiple outputs.
I could create a model with multiple outputs like:
var model = keras.Model((input), (output1,…

Hanako
- 21
- 2
1
vote
0 answers
My neural network can't solve the maze with tensorflow.net and qlearning
I am practicing neural networks with TensorFlow and QLearning. For my project I work in C# to be able to migrate later my program on the Unity game engine.
I use the TensorFlow.Net library :
https://github.com/SciSharp/TensorFlow.NET
To begin my…

hicham benrhannou
- 11
- 1
1
vote
0 answers
Developing a Tool to use pretrained models for OCR and Text Detection in C#
Im exploring to use pretrained models like OpenCV EAST or CTPN or other to detect text on an image. I want to develop a tool in C# for this purpose. The aim is to develop a tool in which I can pass any pretrained model with test image, and the model…

A.R
- 409
- 8
- 21
0
votes
0 answers
Tensorflow.NET Tensorflow.Exceptions.NotOkStatusException: 'Cast int64 to resource is not supported [[{{node Read/ReadVariableOp/resource}}]]'
`nuget package:
TensorFlow.NET 0.110.2
TensorFlow.Keras 0.11.2
SciSharp.TensorFlow.Redist-Windows-GPU 2.10.3`
var layers = keras.layers;
List layerList = new List()
{
layers.InputLayer(input_shape: new…

YJFu
- 1
- 3
0
votes
0 answers
Loading a model in Tensorflow.NET throws Null Reference
I created a very simple model and saved it to disk, and when I load the model and run the evaluate function I get an error.
This is the code that creates the model and loads it:
using System;
using static Tensorflow.Binding;
using static…

codeDom
- 1,623
- 18
- 54
0
votes
0 answers
Why do I receive an error "If default_name is None then scope is required" if I defined the scope in Tensorflow.Net?
I didn't find an answer anywhere on internet about why my code is returning an error.
I'm trying to make an LSTM model with tensorflow.net by using the example…

Alex892
- 1
0
votes
0 answers
Tensorflow 2 migrating estimators
There are some high level API's in Tensorflow 1 called Estimators. It's a collection of common ML algorithms. However, in the documentation it is stated that Estimators are not recommended for new code.
Where can I find the improved versions of…

Jiren
- 536
- 7
- 24