models icon indicating copy to clipboard operation
models copied to clipboard

The replica master 0 exited with a non-zero status of 1 on google cloud

Open Apirom opened this issue 8 years ago • 2 comments

I get this error on cloud The replica master 0 exited with a non-zero status of 1. Termination reason: Error. Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/root/.local/lib/python2.7/site-packages/object_detection/train.py", line 184, in tf.app.run() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 124, in run _sys.exit(main(argv)) File "/root/.local/lib/python2.7/site-packages/object_detection/train.py", line 180, in main graph_hook_fn=graph_rewriter_fn) File "/root/.local/lib/python2.7/site-packages/object_detection/trainer.py", line 399, in train saver=saver) File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/slim/python/slim/learning.py", line 767, in train sess, train_op, global_step, train_step_kwargs) File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/slim/python/slim/learning.py", line 487, in train_step run_metadata=run_metadata) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 895, in run run_metadata_ptr) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1128, in _run feed_dict_tensor, options, run_metadata) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1344, in _do_run options, run_metadata) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1363, in _do_call raise type(e)(node_def, op, message) UnavailableError: Stream removed To find out more about why your job exited please check the logs: https://console.cloud.google.com/logs/viewer?project=160796982362&resource=ml_job%2Fjob_id%2Fapirom_object_detection_201817057&advancedFilter=resource.type%3D%22ml_job%22%0Aresource.labels.job_id%3D%22apirom_object_detection_201817057%22 Expand

Train input { "scaleTier": "CUSTOM", "masterType": "standard_gpu", "workerType": "standard_gpu", "parameterServerType": "standard_gpu", "workerCount": "3", "parameterServerCount": "3", "packageUris": [ "gs://pettraining/train/packages/a81088f482c9a7b93835f59a587675c341610f9c9046ed170655c5994ad2e48d/object_detection-0.1.tar.gz", "gs://pettraining/train/packages/a81088f482c9a7b93835f59a587675c341610f9c9046ed170655c5994ad2e48d/slim-0.1.tar.gz" ], "pythonModule": "object_detection.train", "args": [ "--train_dir=gs://pettraining/train", "--pipeline_config_path=gs://pettraining/data/faster_rcnn_resnet101_pets.config" ], "region": "us-central1", "runtimeVersion": "1.5", "jobDir": "gs://pettraining/train" }

How to fix this error

Apirom avatar May 17 '18 14:05 Apirom

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. What is the top-level directory of the model you are using Have I written custom code OS Platform and Distribution TensorFlow installed from TensorFlow version Bazel version CUDA/cuDNN version GPU model and memory Exact command to reproduce

tensorflowbutler avatar May 18 '18 01:05 tensorflowbutler

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

ymodak avatar Nov 09 '18 22:11 ymodak