tensorflow / tensorflow/models

PermissionDeniedError

Open
#9,467 1 comment 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Nov 20, 2020.

models:research:odapi type:build/install
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

I followed the Docker installation from https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf1.md. To run a local training job from https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf1_training_and_evaluation.md:

tensorflow@_:~/models/research$ python object_detection/model_main.py
--pipeline_config_path=./models/detection_model/pipeline.config
--model_dir=./models/detection_model/
--num_train_steps=50000
--sample_1_of_n_eval_examples=1
--alsologtostderr

Also tried:

tensorflow@_:~/models/research$ python object_detection/model_main.py
--pipeline_config_path=models/detection_model/pipeline.config
--model_dir=models/detection_model/
--num_train_steps=50000
--sample_1_of_n_eval_examples=1
--alsologtostderr

Paths in the pipeline.config file were changed in line with the changes above. For either command, the training job raises:

tensorflow.python.framework.errors_impl.PermissionDeniedError: models/detection_model/graph.pbtxt.tmp9f_; Permission denied.

Is there a workaround?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.