"git@developer.sourcefind.cn:OpenDAS/dlib.git" did not exist on "70eecbd6b0cf2808c1e5c5f74eee3a78456d6a2e"
Unverified Commit bca79575 authored by Vasilis Vryniotis's avatar Vasilis Vryniotis Committed by GitHub
Browse files

Mark CircleCI downloads with `source=ci` (#4998)

parent 47281bbf
...@@ -278,8 +278,9 @@ jobs: ...@@ -278,8 +278,9 @@ jobs:
background: true background: true
command: | command: |
sudo apt update -qy && sudo apt install -qy parallel wget sudo apt update -qy && sudo apt install -qy parallel wget
mkdir -p ~/.cache/torch/hub/checkpoints
python scripts/collect_model_urls.py torchvision/prototype/models \ python scripts/collect_model_urls.py torchvision/prototype/models \
| parallel -j0 wget --no-verbose -P ~/.cache/torch/hub/checkpoints {} | parallel -j0 'wget --no-verbose -O ~/.cache/torch/hub/checkpoints/`basename {}` {}\?source=ci'
- run: - run:
name: Install torchvision name: Install torchvision
command: pip install --user --progress-bar off --no-build-isolation . command: pip install --user --progress-bar off --no-build-isolation .
......
...@@ -278,8 +278,9 @@ jobs: ...@@ -278,8 +278,9 @@ jobs:
background: true background: true
command: | command: |
sudo apt update -qy && sudo apt install -qy parallel wget sudo apt update -qy && sudo apt install -qy parallel wget
mkdir -p ~/.cache/torch/hub/checkpoints
python scripts/collect_model_urls.py torchvision/prototype/models \ python scripts/collect_model_urls.py torchvision/prototype/models \
| parallel -j0 wget --no-verbose -P ~/.cache/torch/hub/checkpoints {} | parallel -j0 'wget --no-verbose -O ~/.cache/torch/hub/checkpoints/`basename {}` {}\?source=ci'
- run: - run:
name: Install torchvision name: Install torchvision
command: pip install --user --progress-bar off --no-build-isolation . command: pip install --user --progress-bar off --no-build-isolation .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment