sagemaker-python-sdk icon indicating copy to clipboard operation
sagemaker-python-sdk copied to clipboard

The TensorFlow container saves the exported models in Ascending order

Open chinazm opened this issue 8 years ago • 3 comments

We found that there is a bug in sagemaker to export the model:

sagemaker first exported checkpoints as exported models in the output folder and after training there will be a final model zipped and exported. We found sagemaker exported and zipped the models on ascending order not the most recent model exported.

chinazm avatar Jul 16 '18 19:07 chinazm

Hi @chinazm ,

Thanks for the report! You're right that this isn't the expected behavior -- we'll investigate and comment on this ticket when we have updates.

Thanks again!

andremoeller avatar Jul 18 '18 22:07 andremoeller

Hi @chinazm ,

I tried this out and confirmed that we seem to be exporting the wrong checkpoint. I sent this PR to fix this: https://github.com/aws/sagemaker-tensorflow-container/pull/58

Thanks!

andremoeller avatar Jul 18 '18 22:07 andremoeller

@chinazm

That fix has been merged in. Thanks for the report!

andremoeller avatar Jul 19 '18 21:07 andremoeller