正规365体育投注

Questions tagged [tensorflow]

正规365体育投注 TensorFlow is an open source library and API for machine learning and machine intelligence originated by Google. Use this tag with a language specific tag ([python], [c++], [javascript], [r], etc.) for questions about using the API to solve machine learning problems. The programming languages that can be used with TensorFlow API vary so you must specify the programming language. Specify the application area such as [object-detection] as well.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Can a LeNet-5 joblib file made for tensorflow 1 work with tensorflow 2?

I have a LeNet-5 joblib file I interact with using tensorflow 1 API. I would like to convert my code towards tensorflow 2. Can I just open the LeNet-5 joblib file with tensorflow 2 functions? If yes,...
0
votes
0answers
11 views

list of Numpy arrays that you are passing to your model is not the size the model expected

I've implemented a Keras model using the functional API: x_inp, x_out = graphsage_model.in_out_tensors() prediction = layers.Dense(units=train_targets.shape[1], activation="softmax")(x_out) model = ...
0
votes
0answers
7 views

Tensorflow use pretrained model in offline

I'm using mobilenet from Tensorflow with below code. When I run this code from my local pc, it downloads the weight file. However, I can not download this online when is uploaded to server. Is there ...
0
votes
0answers
4 views

Unable Custom Model Conversion to tflite Error

While converting my frozen graph to .tflite format, i'm getting the following error. 2020-03-30 14:29:12.686181: F tensorflow/lite/toco/tooling_util.cc:849] Check failed: input_array.name() != ...
0
votes
0answers
9 views

Set up data pipeline for video processing

I am newbie to Tensorflow so I would appriciate any costructive help. I am trying to build a feature extraction and data pipilne for tensorflow for video procesing, but kind of stuck. I have videos in ...
0
votes
0answers
7 views

Tensorflow, sess.run() does not always return outputs in same order

I have developped a Python webserver that loads two tensorflow models at startup, and then will use these models to generate predictions. I am using the pretrained object detection models from ...
0
votes
0answers
9 views

ERROR: Could not find a version that satisfies the requirement tensorflow==2.1.0 and No matching distribution found for tensorflow==2.1.0

I am trying to use 'pipenv' on Windows Subsystem for Linux (ubuntu 18.04) When I run $ pipenv sync I am getting this error : [pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that ...
-1
votes
0answers
7 views

TensorFlow dll import?

I got this problem with TensorFlow: File "C:\Users\%USER%\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\__init__.py", line 101, in <module> from tensorflow_core import ...
1
vote
2answers
14 views

How constant is tf.constant?

According to other StackOverFlow questions, you cannot change tf.constant, but when I do this it runs perfectly: >>>c = tf.constant([2]) >>>c += 1 >>>print(c) [3] Why is ...
0
votes
0answers
6 views

get_or_create_global_step() throws “ValueError: Variable global_step already exists”

I am using tf.train.get_or_create_global_step() inside a method that is being used for a tf.data.Dataset#filter like this: def get_dataset(..) -> tf.data.Dataset: # .. def limit_subtokens_(...
-2
votes
0answers
7 views

How to increase Tensorflow Lite accuracy?

I am a beginner of machine learning. I used Resnet50 to classify three class with 80 percent accuracy. I predict using an image, it shows a correct result. But when I predicted it with Tensorflow Lite ...
0
votes
0answers
13 views

Tensorflow saving subclass model which has multiple arguments to call() method

I am following the tensorflow neural machine translation tutorial: http://www.tensorflow.org/tutorials/text/nmt_with_attention I am trying to save the Encoder and Decoder models which are subclasses ...
0
votes
0answers
4 views

Resave Tensorflow model with fixed input shape

I want to convert the HFNet (http://github.com/ethz-asl/hfnet) model that can be loaded with class HFNet: def __init__(self, model_path, outputs): self.session = tf.Session() ...
0
votes
0answers
14 views

How can i save/load tensorflow model using pickle or any other small in size lib?

First question: I wanna save already trained tensorflow model using pickle and not using tensorflow's model.save() method. I've tried doing it like this: def save(self, filename): with open(f'{...
0
votes
0answers
7 views

java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [2] and a Java object with shape [1, 2]

I've trained my own model for image classification model in keras and i converted it into tflite then i want to use that model in android through tensorflow lite. for this i used a github project to ...

15 30 50 per page
1
2 3 4 5
3625