Open
Description
What did you find confusing? Please describe.
I find it very counterintuitive that the encoding of the hyperparameters depends on the presence of source_dir
behind the scenes. I wasted a lot of time debugging this issue after I moved to a setup with no source_dir
. Ideally, this should not happen and, in any case, this should not be a detail that's hidden deep inside.
See:
sagemaker-python-sdk/src/sagemaker/estimator.py
Lines 3283 to 3298 in 2f86ad9
Describe how documentation can be improved
This behavior should ideally NOT exist. However, if there are strong reasons for this, at least it should be mentioned in the docstring for source_dir
and/or hyperparameters
.
Additional context
