b2a18826659751d9f1f5f7c9b63c9fb9fe8ecfdc,luminoth/tools/cloud/gcloud.py,,train,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,143
Before Change
// We"re only warning instead of forcing it with click.Choice because the
// list of regions is subject to change in the future.
if region not in RECOGNIZED_REGIONS:
tf.logging.warn(""{}" is not a recognized region. Was your region "
"recently added to the GCP?".format(region))
project_id = get_project_id(service_account_json)
if project_id is None:
raise ValueError(
"Missing "project_id" in service_account_json "{}"".format(
After Change
regionrequest = cloudcompute.regions().get(
region=region, project=project_id
)
try:
regionrequest.execute()
except HttpError as err:
tf.logging.error("Couldn"t find region.")
tf.logging.error(err)
training_inputs = {
"scaleTier": scale_tier,
"packageUris": [
"gs://{}/{}".format(bucket_name, package_path)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tryolabs/luminoth
Commit Name: b2a18826659751d9f1f5f7c9b63c9fb9fe8ecfdc
Time: 2017-10-05
Author: iangtayler@gmail.com
File Name: luminoth/tools/cloud/gcloud.py
Class Name:
Method Name: train
Project Name: NervanaSystems/coach
Commit Name: 8f0415b4ccca80c4e6202ba19e37dbe1142e0e11
Time: 2018-11-07
Author: leopd@users.noreply.github.com
File Name: rl_coach/environments/gym_environment.py
Class Name: GymEnvironment
Method Name: __init__
Project Name: uber/ludwig
Commit Name: eb91f3cc51551f7aea71c653b0dcf9b86b2c224a
Time: 2019-08-26
Author: smiryala@uber.com
File Name: ludwig/features/vector_feature.py
Class Name: VectorBaseFeature
Method Name: add_feature_data