When defining a model training scheme in tf.estimator, should I use tf.reduce_mean(per_example_loss), or tf.reduce_sum(per_example_loss) * (1 / GLOBAL_BATCH_SIZE) ?
Hi Pavithra,
any update on the writting of the guide or some blog post or Colab on how to build custom estimator with Tensorflow 2.0 ?
I am still having issue to get a full and complete example working.
For example:
- not using tf.compat.v1 (for example tf.keras.optimizers.Adam,
optimizer.minimize ..)
https://stackoverflow.com/questions/57134808/tf-keras-optimizers-adam-with-tf-estimator-model-in-tensorflow-2-0-beta-is-crash
- export the model:
https://github.com/tensorflow/tensorflow/issues/27345
it seems that I am almost there but I need to adapt the
tf.estimator.export.ServingInputReceiver
Having an complete example in the documenation will be great, so
far it only cover basic things (still use tf.compat.v1, no model
exporter, no tf.summary.scalar, ...)
I tested again this morning with the lastest nightly. I don't know
if some part of my code are still wrong or if some component of
estimator are still not fully ready.
Thanks a lot
Cheers
Fabien
--
To unsubscribe from this group and stop receiving emails from it, send an email to testing+u...@tensorflow.org.