-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pnsuau
committed
Mar 28, 2022
1 parent
cb24c47
commit 1b08f92
Showing
5 changed files
with
56 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: GitHub Actions Demo | ||
on: | ||
push: | ||
branches: [master] | ||
jobs: | ||
Explore-GitHub-Actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 #install the python needed | ||
- name : checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name: Update submodules | ||
run: git submodule update --init --recursive | ||
- name : install req | ||
run: pip install -r ./.github/workflows/requirements_github_actions.txt | ||
- name : update | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name : run script | ||
run: python ./scripts/generate_doc.py | ||
- name : push | ||
run : | | ||
git config user.name github-actions-jg | ||
git config user.email [email protected] | ||
git add . | ||
git diff-index --quiet HEAD || (git commit -m "doc: options auto update" && git push) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-f https://download.pytorch.org/whl/cu113/torch_stable.html | ||
torch==1.10.1+cu113 | ||
numpy==1.19.5 | ||
Pillow==8.4.0 | ||
torchvision==0.11.2+cu113 | ||
timm==0.5.4 | ||
visdom==0.1.8.9 | ||
torchviz | ||
imgaug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters