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
Compile time distribution strategy issue
i have following code- which tries to implement simple Reinforcement learning environment with keras
import gym
from gym import Env
import numpy as np
from gym.spaces import Discrete,Box
import random...

user466534
Votes: 0
Answers: 1
Concatenate multiple features from Keras multiple layers
I am obtaining the following error
ValueError: as_list() is not defined on an unknown TensorShape.
My code looks like this
# define input
X_input = Input(shape=(n_features, n_channels))
# define ...
Marina Ciocîrlan
Votes: 0
Answers: 1
Accuracy resolution in 3D convolutional neural networks using Keras
I am currently using 3D convolutional neural networks to classify EEG signals. I have 4080 images for training and 120 images for validation with a 10x45x6 shape.
The model is:
def cnn_3d(input_shape)...
Alejandro Alvarez
Votes: 0
Answers: 0