"references/vscode:/vscode.git/clone" did not exist on "d0d7058a36fb4ea702dcb6c92c03d90ca91d8281"
Commit 570ac4c4 authored by Igor's avatar Igor Committed by GitHub
Browse files

Update cifar10_main.py

Trying to remove the +1.
parent d0269919
......@@ -345,11 +345,8 @@ def get_experiment_fn(data_dir,
train_steps = hparams.train_steps
eval_steps = num_eval_examples // hparams.eval_batch_size
if run_config.num_worker_replicas:
num_workers = run_config.num_worker_replicas + 1
else:
num_workers = 1
num_workers = run_config.num_worker_replicas
classifier = tf.estimator.Estimator(
model_fn=get_model_fn(num_gpus, variable_strategy, num_workers),
config=run_config,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment