GoogleCloudPlatform / GoogleCloudPlatform/training-data-analyst

Use --job-dir and not --output-dir

Open
#140 0 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
Jupyter Notebook
Stars
8.6k
Forks
6.1k
Avg merge
4h 44m
Merged PRs (30d)
2

Description

In Cloud ML models, use the supplied --job-dir as the output dir. This avoids the need to do code like this:

output_dir = os.path.join(
output_dir,
json.loads(
os.environ.get('TF_CONFIG', '{}')
).get('task', {}).get('trial', '')
)

(it's already done for --job-dir)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.