Skip to content

Why did you use model.fit for training?  #2

@hana9090

Description

@hana9090

To train a model in Tensorflow I checked other sources they use sessions in loop in order to train model.

with tf.Session() as sess:
   init.run()
   for ep in range(epochs):
         sess.run(training_op, feed_dict={X: x_batches, y:y_batches})
         mse = loss.eval(feed_dict={X: x_batches, y:y_batches})

Why did you use model.fit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions