forked from dvschultz/ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-stylegan2.sh
65 lines (54 loc) · 1.5 KB
/
install-stylegan2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
# all.sh
#install some libraries
pip install gdown
#install dataset-tools
git clone https://github.com/dvschultz/dataset-tools
cd dataset-tools
pip install -r requirements.txt
cd ../
#set up stylegan2 repos
mkdir dvschultz-stylegan2
mkdir skyflynil-stylegan2
mkdir pbaylies-stylegan2
#install dvschultz
cd dvschultz-stylegan2
git clone https://github.com/dvschultz/stylegan2
cd stylegan2
pip install -r requirements.txt
mkdir pkl
mkdir results
mkdir datasets
cd pkl
gdown --id 1JLqXE5bGZnlu2BkbLPD5_ZxoO3Nz-AvF #inception: https://drive.google.com/open?id=1JLqXE5bGZnlu2BkbLPD5_ZxoO3Nz-AvF
cd ../
mkdir results/00000-pretrained
cd results/00000-pretrained
gdown --id 1UlDmJVLLnBD9SnLSMXeiZRO6g-OMQCA_
mv stylegan2-ffhq-config-f.pkl network-snapshot-10000.pkl
cd ../../
#install skyflynil
cd ../../skyflynil-stylegan2
git clone https://github.com/skyflynil/stylegan2
cd stylegan2
mkdir pkl
mkdir datasets
mkdir results
cd pkl
gdown --id 1JLqXE5bGZnlu2BkbLPD5_ZxoO3Nz-AvF #inception: https://drive.google.com/open?id=1JLqXE5bGZnlu2BkbLPD5_ZxoO3Nz-AvF
cd ../
mkdir results/00000-pretrained
cd results/00000-pretrained
gdown --id 1UlDmJVLLnBD9SnLSMXeiZRO6g-OMQCA_
mv stylegan2-ffhq-config-f.pkl network-snapshot-10000.pkl
cd ../../
#install pbaylies
cd ../../pbaylies-stylegan2
git clone https://github.com/pbaylies/stylegan2
cd stylegan2
mkdir pkl
mkdir datasets
cd pkl
gdown --id 1JLqXE5bGZnlu2BkbLPD5_ZxoO3Nz-AvF #inception: https://drive.google.com/open?id=1JLqXE5bGZnlu2BkbLPD5_ZxoO3Nz-AvF
cd ../
cd ../../