tensorflow / models

Models and examples built with TensorFlow
Other
76.99k stars 45.78k forks source link

PermissionDeniedError #9467

Open techds opened 3 years ago

techds commented 3 years ago

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/detectionmodel/graph.pbtxt.tmp9f; Permission denied.

Is there a workaround?

PrimeshShamilka commented 3 years ago

Hi, I'm trying to re-create this issue, @techds could you please share the pipeline.config file? I couldn't find any reference to the pipeline.config file in the repo, I believe it's a custom configured pipeline.