Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of -1
0 answers
13 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
0 replies
51 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
147 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
66 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
92 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
82 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
143 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
52 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
74 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
4 replies
186 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 ...
Advice
0 votes
1 replies
118 views

I construct two files on Microsoft Excel. One containing Totonaco words with Spanish Meaning and the second one containing Spanish words with Totonaco meaning. I would like to know which is the ...
Advice
0 votes
3 replies
95 views

Running untrusted TensorFlow models and noticed this: import tensorflow as tf import time class TestLayer(tf.keras.layers.Layer): def call(self, inputs): n = tf.cast(inputs[0][0], tf....
Best practices
0 votes
1 replies
72 views

I am training WGAN-GP on Eurosat dataset, splitted into train/val/test sets in counts 18900/4050/4050. Since FID scores are widely used in GANs in image generation, I based my hyperparameter search on ...
Advice
0 votes
2 replies
116 views

Context: I’m predicting 8 music genre families using 114,000 Spotify tracks based only on raw audio DNA (danceability, acousticness, energy, etc.). The Plot Twist: My baseline Neural Network hit 82% ...
Best practices
2 votes
1 replies
107 views

I am someone who is currently Learn Python, especially libary for make machine learn, but i am not have pc/laptop , can i make my own ML & Neural model? I haveI've heard that we can use Google ...

15 30 50 per page
1
2 3 4 5
5474