Skip to main content

Question list filters

Filter by
Sorted by
Tagged with
Score of 1
1 answer
143 views

I am passing two equivalent RaggedTensor objects to a function: import tensorflow as tf @tf.function(reduce_retracing=True) def row_sum(x): print("Tracing") return tf.reduce_sum(x, ...
Score of -3
1 answer
89 views

I am building a Transformer-based model in TensorFlow/Keras to predict river discharge multiple steps ahead using historical climate data (precipitation, temperature). Since it’s a multi-step ...
Score of 0
1 answer
65 views

I'm compiling on a Seeed studio XIAO SAMD21 and trying to reproduce something like what is being done here: https://wiki.seeedstudio.com/XIAO-BLE-Sense-TFLite-Getting-Started/ TL;DR (training a small ...
Score of 0
2 answers
119 views

I trained a CNN on MNIST for digit recognition that gets ~98% accuracy during local testing (Jupyter/Colab). After deploying it behind a Flask API (React frontend sends canvas-drawn digit images), ...
Advice
0 votes
1 replies
102 views

I'm currently taking Andrew Ng's Machine Learning course and have completed the supervised machine learning section. I want to build a strong understanding of machine learning concepts, but I'm also ...
Score of 0
1 answer
95 views

I am training a tensorflow model and want to use class_weight for evaluating both the training batches and the validation batches. However, I am only able to use the weights with the training data. ...
Best practices
0 votes
1 replies
75 views

I am working on an image classification project for plant disease detection using transfer learning models such as MobileNetV2 and EfficientNetLite. My datasets include 11 classes for maize diseases ...
Score of 0
0 answers
178 views

Problem: I have two outputs, out_buffers.size() == 2 but when I read the data in the second tensor output_buffers[1] the data is rubbish. The first tensor, output_buffers[0] gives the same output as ...
Tooling
0 votes
0 replies
80 views

I'm building a web app with FastAPI + async/await Python backend. Users upload leaf photos via API and the server should return: 1) plant species, 2) disease label or "healthy". Constraints: ...
Advice
0 votes
1 replies
98 views

I'm trying to train a GAN model, but its results are very bad. The Generator doesn't seem to work. Can someone suggest how this can be improved? What is the best way to remember the code? Can this ...
Advice
1 vote
0 replies
89 views

While working on a CNN model, I got confused. My questions are: Is visualizing RGB convolution filters by permuting from (out,in,h,w) to (h,w,in) the correct approach? Is normalizing all filters ...
Score of 1
2 answers
155 views

I am using tf.data.Dataset to pre-process data. When I use TensorFlow operations inside map(), the pipeline runs fast. But, after adding a small custom Python function inside map(), training becomes ...
Advice
0 votes
1 replies
54 views

I'm building a Flutter app for rice leaf disease detection using CNN as my thesis project. I'm confused about the best architecture: Option 1: Deploy CNN model as REST API (Python Flask/FastAPI), ...
Score of 0
1 answer
84 views

I am doing some NLP exercises. I am unable to use a saved model with a hub.KerasLayer layer :( Here are the steps I done: Create the model - OK Compile the model - OK Fit/Train the model - OK ...
Advice
3 votes
6 replies
255 views

I recently started learning Python and machine learning. I noticed that many developers use libraries like TensorFlow and Scikit-learn for predictive modeling. What are the main advantages of using ...

15 30 50 per page
1
2 3 4 5
5474