Skip to content

Commit 561c347

Browse files
committed
allow for tensorflow models forks to be cloned (as for me to use the branch of an open PR)
1 parent a3812d7 commit 561c347

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ansible/roles/tensorflow_models/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22

3-
- name: Clone the TensorFlow Models to '{{ tf_models_repo_name }}' and set branch to '{{ tf_models_repo_branch }}'
3+
- name: Clone the TensorFlow Models from GitHub '{{ tf_models_repo_url }}' to '{{ tf_models_repo_name }}' and set branch to '{{ tf_models_repo_branch }}'
44
git:
5-
repo: https://github.com/tensorflow/models.git
5+
repo: "https://github.com/{{ tf_models_repo_url }}.git"
66
dest: "../../{{ tf_models_repo_name }}"
77
force: yes
88
version: "{{ tf_models_repo_branch }}"

config/config.local.sample.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tf_repo_name: tensorflow
1212
tf_repo_branch: v1.3.1
1313

1414
tf_models_repo_name: tensorflow_models
15+
tf_models_repo_url: tensorflow/models
1516
tf_models_repo_branch: master
1617

1718
## OpenCV

0 commit comments

Comments
 (0)