You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it's not clear to me how could I add validation datasets into training loop, like it was done in previous API. I understand that datasets are quite new in Keras, but maybe there are some examples which could be useful.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi, thanks for answer, however my question was about how to add properly evaluation on validation data when working with tensorflow datasets API, which reads data directly from tfrecords. I mean this. Normally, I read data from e.g. *.tfrecords files and create model which inputs tensors take data from tf dataset. So basically for training data I run:
The workaround for my problem would be to write special callback, which evaluates model after each epoch on other dataset which reads from validation_filenames and then switch back to training_filenames. This works, but maybe there is a simpler one.
Hello,
recently I've started to work with Keras together with tensorflow datasets.
The API I use is following:
target_tensors
model.fit(...)
However, it's not clear to me how could I add validation datasets into training loop, like it was done in previous API. I understand that datasets are quite new in Keras, but maybe there are some examples which could be useful.
Thanks in advance.
The text was updated successfully, but these errors were encountered: