GoogleCloudPlatform / GoogleCloudPlatform/training-data-analyst
Use --job-dir and not --output-dir
Open
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
Assessment
This issue has not been assessed yet.