Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Fix kubeflow#272

Fix kubeflow#272 where the `create-pet-record-job` pod produces this error: `models/research/object_detection/data/pet_label_map.pbtxt; No such file or directory`

* Update create-pet-record-job.jsonnet
  • Loading branch information
Oblynx authored and k8s-ci-robot committed Oct 22, 2018
1 parent 6edf791 commit 5c38c96
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ apiVersion: "batch/v1",
image: params.image,
imagePullPolicy: "IfNotPresent",
command: ["python", "/models/research/object_detection/dataset_tools/create_pet_tf_record.py"],
args: ["--label_map_path=models/research/object_detection/data/pet_label_map.pbtxt",
args: ["--label_map_path=/models/research/object_detection/data/pet_label_map.pbtxt",
"--data_dir=" + params.dataDirPath,
"--output_dir=" + params.outputDirPath],
volumeMounts: [{
Expand All @@ -42,4 +42,4 @@ apiVersion: "batch/v1",
},
};

std.prune(k.core.v1.list.new([createPetRecordJob,]))
std.prune(k.core.v1.list.new([createPetRecordJob,]))

0 comments on commit 5c38c96

Please sign in to comment.