Skip to content

Commit 88b7ca6

Browse files
Merge pull request #70 from darsnack/darsnack/vision-refactor
Refactor repo with more complete models and documentation
2 parents 23df74c + 07925ea commit 88b7ca6

35 files changed

+1418
-52775
lines changed

.github/workflows/CompatHelper.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,13 @@ on:
77
types: [opened, reopened]
88

99
jobs:
10-
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
julia-version: [1.2.0]
15-
julia-arch: [x86]
16-
os: [ubuntu-latest]
10+
CompatHelper:
11+
runs-on: ubuntu-latest
1712
steps:
18-
- uses: julia-actions/setup-julia@latest
19-
with:
20-
version: ${{ matrix.julia-version }}
2113
- name: Pkg.add("CompatHelper")
2214
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
2315
- name: CompatHelper.main()
2416
env:
2517
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
run: julia -e 'using CompatHelper; CompatHelper.main()'
18+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
19+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/Publish.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Adapted from https://github.com/MichaelHatherly/Publish.jl
2+
name: Publish
3+
4+
on:
5+
push:
6+
branches: ['main']
7+
8+
jobs:
9+
publish:
10+
name: "Publish Documentation (dev)"
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v2
15+
with:
16+
ref: gh-pages
17+
path: gh-pages
18+
- uses: julia-actions/setup-julia@latest
19+
with:
20+
version: '1.5'
21+
- name: Install dependencies
22+
run: |
23+
julia --color=yes --project=. -e 'using Pkg; Pkg.instantiate()'
24+
- name: Build and deploy
25+
run: |
26+
cd gh-pages
27+
julia --color=yes --project=../docs -e "using Pkg; Pkg.instantiate()"
28+
julia --color=yes --project=../docs -e 'using Pkg; Pkg.develop(path="..")'
29+
julia --color=yes --project=../docs ../docs/make.jl
30+
git config user.name github-actions
31+
git config user.email github-actions@github.com
32+
git add .
33+
git commit -m "(dev) Built by Publish.jl."
34+
git push

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
*.jl.*.cov
33
*.jl.mem
44
*.bson
5+
6+
# manifests
7+
docs/Manifest.toml
8+
Manifest.toml

Artifacts.toml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[densenet121]
2+
git-tree-sha1 = "ffc7f7ed1e7f67baca4b76f6c100e0d5042ff063"
3+
lazy = true
4+
5+
[[densenet121.download]]
6+
sha256 = "3fd10f0be70cf072fa7f1358f1fbbe01138440dbcaec1b7c8e007084382c1557"
7+
url = "https://github.com/FluxML/MetalheadWeights/releases/download/v0.1.1/densenet121-0.1.1.tar.gz"
8+
9+
[googlenet]
10+
git-tree-sha1 = "56cc81845fcca30508fe81da18c7ba0d96d72cdd"
11+
lazy = true
12+
13+
[[googlenet.download]]
14+
sha256 = "8ab8d60cc26e81451473badc9dc749b5ffc170a11bc00fb4b203da34fbfdc996"
15+
url = "https://github.com/FluxML/MetalheadWeights/releases/download/v0.1.1/googlenet-0.1.1.tar.gz"
16+
17+
[resnet50]
18+
git-tree-sha1 = "ea3effeaf1ea3969ed5c609f5db5cd0e456ce799"
19+
lazy = true
20+
21+
[[resnet50.download]]
22+
sha256 = "17760ae50e3d59ed7d74c3dfcdb9f0eeaccec1e2ccd095663955c9fed4f318a8"
23+
url = "https://github.com/FluxML/MetalheadWeights/releases/download/v0.1.1/resnet50-0.1.1.tar.gz"
24+
25+
[squeezenet]
26+
git-tree-sha1 = "e0e53eb402efe4693417db8cbcc31519e74c8c74"
27+
lazy = true
28+
29+
[[squeezenet.download]]
30+
sha256 = "a3e60f2731296cdf0f32b79badd227eb8dad88a9bee8c828dbe60382869c50f0"
31+
url = "https://github.com/FluxML/MetalheadWeights/releases/download/v0.1.1/squeezenet-0.1.1.tar.gz"
32+
33+
[vgg19]
34+
git-tree-sha1 = "072056ec63bf7308cf89885e91852666e191e80a"
35+
lazy = true
36+
37+
[[vgg19.download]]
38+
sha256 = "0fa000609965604b9d249e84190c30d067d443d73e6c8e340ef09bd013d0bc90"
39+
url = "https://github.com/FluxML/MetalheadWeights/releases/download/v0.1.1/vgg19-0.1.1.tar.gz"

0 commit comments

Comments
 (0)