Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
92 views

The model was fuctioinnal with only one output, now I try to use multi output forcasting one timestep, but got this error: Epoch 1/10 2025-11-04 16:20:09.341769: W tensorflow/core/framework/op_kernel....
Jonathan Roy's user avatar
1 vote
2 answers
87 views

I'm learning TensorFlow to build machine learning models in Python. I tried following the official documentation on creating a simple classification model, but I couldn't clearly understand the tf....
Kaue Martins's user avatar
0 votes
0 answers
100 views

I am training a CNN using keras and tensorflow on my NVIDIA RTX 2000 Ada Generation Laptop GPU on Ubuntu 24.04 with recommended nvidia-driver-570. When I train my network on the cpu only version of ...
robo_q's user avatar
  • 1
0 votes
1 answer
65 views

I am trying to pass individual np.arrays of sample_weights for two outputs of my Keras model, one of which is a confidence measure of a binary value and one of which is a continuous output. However, I ...
Sean Cassidy's user avatar
0 votes
0 answers
146 views

[To give context, this capstone project is an ML visual model for real-world and real time classification of wastes, based on their biodegradability. For better desirability, I chose ResNet50 as the ...
PyroShooter's user avatar
0 votes
1 answer
74 views

I'm currently working with an autoencoder in hopes to test its accuracy vs pca. My tutor asked me to add a custom loss function that involves the derivatives of the decoder output with respect to the ...
Jonathan Jesus Calderon Rivera's user avatar
0 votes
0 answers
85 views

When I trained keras tensorflow model, it displayed error message: This optimizer can only be called for the variables it was originally built with. When working with a new set of variables, you ...
doantrongthai's user avatar
1 vote
1 answer
88 views

Masking is a very broad term which normally means ignore part of. However, the docs on masking describe it as: Masking is a way to tell sequence-processing layers that certain timesteps in an input ...
oneloop's user avatar
  • 197
0 votes
1 answer
105 views

I’m trying to use the Adversarial Robustness Toolbox (ART) with a simple Keras model in TensorFlow 2.x, but I’m encountering the following error: AttributeError: module 'tensorflow.keras.backend' has ...
Jonas Kufer's user avatar
0 votes
0 answers
96 views

I'm trying to fine-tune Meta's LLaMA 3.2 3B Instruct model using Keras on TPU v3-8 (Kaggle). While the code runs without errors, the loss remains constant during training. Context: My wife, a history ...
Ronan L.'s user avatar
  • 136
0 votes
0 answers
31 views

I am follwoing the training in the (https://www.bing.com/videos/riverview/relatedvideo?q=deep+learning+with+keras+tensorflow+freecodecamp&&view=riverview&mmscn=mtsc&mid=...
Kawther Hamad's user avatar
1 vote
0 answers
59 views

I want to use EfficientNetB0 (or any other base models) from tensorflow.keras.applications to detect distracted drivers. The given dataset consists of approximately 22.5k training images, roughly ...
Ishan Singh's user avatar
0 votes
0 answers
58 views

I am currently trying to run Tensorflow on a Mac with M1 chip and the program keeps constantly aborting when training the model. The code I have tried is here: import numpy as np import scipy.io as ...
Fraser Campbell's user avatar
0 votes
0 answers
103 views

I am getting a permission denied error when trying to save the model through call-backs. The model appears to initially save as the file is there, but then there is the below error at some point ...
user20397112's user avatar
1 vote
1 answer
175 views

I tried to modify the U-NET model for one-dimensional data by providing an additional branch, attached to the last encoding block, whose purpose is to classify data into eighteen areas of the cortex. (...
Adam Datta's user avatar
0 votes
1 answer
53 views

After changing laptops, the training of my transformer (a simple translator) fails at the end of the first epoch. The code is pretty long but I use model.fit() and overridden train_step(). h = ...
u2gilles's user avatar
  • 7,433
0 votes
1 answer
61 views

I am trying to model an autoencoder of a graph data to best reconstruct the graph but Im facing an issue when trying to do the training. I created the graph tensor as follows: edge_sources = ...
Coder1934's user avatar
2 votes
0 answers
2k views

Problem Statement: I was trying to import Keras components like ModelCheckpoint and EarlyStopping in my TensorFlow project using the following import statements: from tensorflow.keras.callbacks import ...
Mohit Nikhade's user avatar
1 vote
0 answers
358 views

Problem Statement: I encountered several issues when trying to import Keras components in my TensorFlow project. Initially, I used the following import statements: from tensorflow.keras.preprocessing....
Mohit Nikhade's user avatar
0 votes
1 answer
215 views

All the 2880 fits failed. It is very likely that your model is misconfigured. You can try to debug the error by setting error_score='raise'. Below are more details about the failures: 2880 fits failed ...
D.S. Parihar's user avatar
0 votes
0 answers
90 views

I'm trying to implement this VAE in tf/keras and there seems to be something wrong with binary_crossentropy. import tensorflow as tf from tensorflow.keras import backend as K from tensorflow.keras....
BBrooklyn's user avatar
  • 439
0 votes
1 answer
84 views

I am using a fully connected Neural Network as a function approximator in a more complex model. When I set up the model using the functional API I get convergence to a proper solution and the neural ...
OliverK's user avatar
1 vote
1 answer
128 views

I keep running into this error when trying to preprocess my datasets: AttributeError: '_PrefetchDataset' object has no attribute 'shape'. Did you mean: 'save'? I'm currently using ResNet, but I've ...
Lentemern's user avatar
0 votes
1 answer
36 views

I have the following Tensorflow model that I want to quantize: model = Sequential([ Input(shape=input_shape), LSTM(lstm_units_1, return_sequences=True), Dropout(dropout_rate), LSTM(...
ealione's user avatar
  • 1,636
0 votes
1 answer
154 views

I have trained a KERAS model (EfficientNetB5) on an image dataset, and have saved the new model with new layers into a .keras file. However, I keep getting an input error. # Load efficientnet model ...
h2y's user avatar
  • 1

1
2 3 4 5
44