82,560 questions
0
votes
1
answer
11
views
how to load a tensorflow model using tensorflowjs
i was building a simple demo that would load a model that i have converted a JSON and binary using tensorfjs. The model is utilizing the following architecture
model = Sequential([
Flatten(...
0
votes
0
answers
18
views
MobileNet dynamic range quantization breaks model accuracy
I've been working on building a binary fire detection model based on TF keras MobileNet v2 and transfer trained from ImageNet weights. After training the model and inferencing it works well with about ...
0
votes
0
answers
19
views
Tensorflow - Trained model always wrong, on image it trained on
I'm currently learning Tensorflow.
And the best way to do so is to get hands dirty right.
As an exercise Im training a model with some pokemon data found on kaggle.
After the model has been created ...
0
votes
0
answers
12
views
Why does ML.NET Image Classification with Ampere Gpu return fixed results when it otherwise works with CPU and Turing Gpu support?
We currently have a trained ResnetV250 image classification model that performs as expected on CPU and with GPU support on Turing based cards with CUDA 10.1 and cudnn 7.6.4.
When transferring this to ...
0
votes
0
answers
14
views
Compilation of the model using tflite micro
I am trying to build a model using tflite micro but it is not working. All the files I have added but linking is not working. Can anyone help in this?
Makebuild files. txt
GNU nano 7.2 ...
-2
votes
0
answers
23
views
Looking for Deployment Advice: MERN + TensorFlow.js FYP [closed]
I'm currently working on my FYP, which is built using MERN and TensorFlow.js. I'm at the stage where I need to deploy the full-stack web application and would appreciate some advice.
I'm looking for a ...
0
votes
0
answers
28
views
Trouble loading tensorflow when running cloned repo
So, I'm trying to get the code from this repo https://github.com/amin20/GBM_WSSM working but I'm running into a persistent error.
Using TensorFlow backend.
Traceback (most recent call last):
File &...
0
votes
0
answers
37
views
model.predict hangs in celery/uwsgi
import numpy as np
import tensorflow as tf
import tensorflow_hub as hub
from apps.common.utils.error_handling import suppress_callable_to_sentry
from django.conf import settings
from threading import ...
1
vote
0
answers
67
views
my clasification A.I. model cant surpass a certain validation precision threshold
I've recently getting started with A.I. and for a project i wanted to create a model that can classify what kind of disease you have based on a chest x-ray, After writing the model and using the ...
0
votes
0
answers
25
views
Why does TimeDistributed(Flatten()) raise an InvalidArgumentError when reshaping works?
I'm building a lip-reading model using tensorflow.keras and getting an error when applying TimeDistributed(Flatten()) after my Conv3D layers. Here's a simplified version of my model architecture:
CODE
...
-3
votes
0
answers
103
views
xor example tensorflow C api
Simple xor functions. How load model using https://www.tensorflow.org/install/lang_c .
#!/usr/bin/env python
import numpy as np
import tensorflow as tf
X = np.array([[0, 0], [0, 1], [1, 0], [1, 1]], ...
0
votes
0
answers
27
views
Make my Tensorflow dataset generator more efficient in training
I have built a Tensorflow Dataset from a generator but it seems to be very slow when training. In testing I cut the size of the dataset greatly and the training is much faster when uploaded as a ...
0
votes
0
answers
29
views
How to properly save and load model of 3D-CNN from tensorflow tutorial
I have been training a 3D-CNN model for video classification using my own dataset and following the step by step and their code in tensorflow tutorial
class Conv2Plus1D(keras.layers.Layer):
def ...
0
votes
0
answers
19
views
libtensorflow not installing on Mac Sillicon chip laptops
I am trying to install face-api.js. When running npm install I get the error - npm error Error: Unsupported system: cpu-darwin-arm64. Full logs:
npm error command sh -c node scripts/install.js
npm ...
0
votes
0
answers
14
views
Tensorflow variables.index file structure, parsing, altering problems
I am trying to understand how tensorflow stores variables.index files to parse it and manipulate. I see that pb file could be parsed with protobuf parser, .data file could be loaded as checkpoint and ...