value error in Deep learning wirh tensorflow
This line is code giving me value error _,batch_loss=sess.run([optimize.mean_loss],feed_dict={inputs: input_batch, targets: target_batch})
1 answers ( 0 marked as helpful)
Hi Amit,
Please try using this code instead:
STEPS = num_validation_samples/BATCH_SIZE
model.fit(train_data, epochs=NUM_EPOCHS, validation_data=(validation_inputs, validation_targets), validation_steps=STEPS, verbose =2)
There has been an update to TF which caused this issue. Sorry for the inconvenience!
Best regards,
Iliya