Closed ehsanmok closed 4 years ago
I've tested this for PyTorch entry_point=“train.sh”
and the bash script handling is wrong actually with error
"Error while finding module specification”. wants to run like python -m scripts/train.sh
@laurenyu has pointed to the faulty logic here and here.
In my case, I have a python package with setup.py
then so it becomes a PYTHON_PACKAGE
but it should check for the entry_point
file ext first then decides how to run it not the other way around.
It'd be very useful to have
entry_point
across the estimators handling bash scripts where cmd args are passed as hyperparameters in an*Estimator
. It seems TF supports bash script mode but no such support for PyTorch, MXNet.