Skip to content

Commit 948b44d

Browse files
committed
change: add TF migration documentation to error message
1 parent e25c158 commit 948b44d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/tensorflow/estimator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ def _validate_args(self, py_version):
160160
self.py_version,
161161
)
162162

163-
# TODO: add link to docs to explain how to use legacy mode with v2
164163
msg = (
165164
"TF {} supports only legacy mode. Please supply the image URI directly with "
166165
"'image_name={}' and set 'model_dir=False'. If you are using any legacy parameters "
167166
"(training_steps, evaluation_steps, checkpoint_path, requirements_file), "
168-
"make sure to pass them directly as hyperparameters instead."
167+
"make sure to pass them directly as hyperparameters instead. For more, see "
168+
"https://sagemaker.readthedocs.io/en/v2.0.0.rc0/frameworks/tensorflow/upgrade_from_legacy.html."
169169
).format(self.framework_version, legacy_image_uri)
170170

171171
raise ValueError(msg)

0 commit comments

Comments
 (0)