Skip to content

Update integ test for checking Python version #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 13, 2019

Conversation

laurenyu
Copy link
Contributor

@laurenyu laurenyu commented May 8, 2019

Description of changes:
Updating one last test (hopefully) to use the SageMaker Python SDK's Local Mode

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@laurenyu laurenyu requested a review from icywang86rui May 8, 2019 19:17

parser = argparse.ArgumentParser()
parser.add_argument('--output-dir', default=os.environ['SM_OUTPUT_DIR'])
parser.add_argument('--model_dir')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are not using --model_dir so you can just use parser.parse_known_args.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually you don't need to parse the args at all here. Just use SM_OUTPUT_DIR directly.

@icywang86rui icywang86rui merged commit 85cded3 into aws:script-mode May 13, 2019
@laurenyu laurenyu deleted the local-mode-test-again branch May 14, 2019 23:35
Elizaaaaa pushed a commit to Elizaaaaa/sagemaker-tensorflow-container that referenced this pull request Nov 4, 2019
* Update integ test for checking Python version

* remove emacs backup file

* remove extraneous code

* Python 2 compatibility
Elizaaaaa pushed a commit to Elizaaaaa/sagemaker-tensorflow-container that referenced this pull request Nov 4, 2019
* Update integ test for checking Python version

* remove emacs backup file

* remove extraneous code

* Python 2 compatibility
Elizaaaaa pushed a commit to Elizaaaaa/sagemaker-tensorflow-container that referenced this pull request Nov 4, 2019
* Update integ test for checking Python version

* remove emacs backup file

* remove extraneous code

* Python 2 compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants