python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
TensorFlow "TypeError: Target data is missing" though dataset with 2 dimension tuple was supplied
I'm trying to use a generator- based data set:
def gen():
return zip(samples,feature)
ds = tf.data.Dataset.from_generator(gen,output_types=tf.dtypes.float32)
model.fit(ds,
epochs=150,
...
material bug
Votes: 0
Answers: 1
how to replace the command tfds.load for imdb reviews with download dataset file?
tfds.load(name="imdb_reviews", data_dir=direc, split="train", with_info=True, as_supervised=True)
i have download the dataset , it has downloads and imdb_reviews directories, in th...
lucky
Votes: 0
Answers: 1
TFRecords in a custom DataGenerator
I am doing an LSTM model in which samples have different number of time steps. I want to optimise my code and performance so I do not want to use masking, but I want to write a generator that will gro...
Mark
Votes: 0
Answers: 0
I'm getting error (Inputs to a layer should be tensors) when using tf.data.Dataset and the Window creation function
The problem I'm stuck with is an error in the fit method when trying to train a neural network based on a dataset generated using the tf.data.Dataset.Window window creation function.
My training datas...
Tradeandgain
Votes: 0
Answers: 1