Object Detector add batch_size and train_data to get_steps_per_epoch.
PiperOrigin-RevId: 522149938
This commit is contained in:
parent
5615c1e459
commit
6605f551e7
|
@ -105,7 +105,9 @@ class ObjectDetector(classifier.Classifier):
|
||||||
"""
|
"""
|
||||||
self._optimizer = self._create_optimizer(
|
self._optimizer = self._create_optimizer(
|
||||||
model_util.get_steps_per_epoch(
|
model_util.get_steps_per_epoch(
|
||||||
self._hparams.steps_per_epoch,
|
steps_per_epoch=self._hparams.steps_per_epoch,
|
||||||
|
batch_size=self._hparams.batch_size,
|
||||||
|
train_data=train_data,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
self._create_model()
|
self._create_model()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user