Last answered:

07 Apr 2020

Posted on:

06 Apr 2020

0

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)
Instructor
Posted on:

07 Apr 2020

0
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

Submit an answer