arshiasobhan commited on
Commit
0394bed
·
verified ·
1 Parent(s): 3ea5d69

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +107 -1
README.md CHANGED
@@ -7,4 +7,110 @@ sdk: static
7
  pinned: false
8
  ---
9
 
10
- Edit this `README.md` markdown file to author your organization card.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  pinned: false
8
  ---
9
 
10
+ # Autolume
11
+
12
+ Autolume-Live is a tool for real-time visual performances using StyleGAN2.
13
+
14
+ For detailed documentation and demos look at the [Metacreation Lab Website](https://www.metacreation.net/autolume).
15
+
16
+ ![Autolume-live Screen](images/autolume-screen.png)
17
+
18
+ ## Getting started
19
+ ### Ubuntu Autolume Installer Guide
20
+ To successfully run this program, your system must have a 64-bit Linux operating system, and you must download and install the following prerequisites:
21
+ - [Python 3.10](https://www.python.org/downloads/)
22
+ - [Git](https://git-scm.com/)
23
+
24
+ #### Installation Steps
25
+
26
+ 1. Open a terminal.
27
+ 2. Clone this repository using the following command:
28
+ ```bash
29
+ git clone git@github.com:Metacreation-Lab/autolume.git
30
+ ```
31
+ 3. `cd` into the cloned repository
32
+ 4. Run the installer with `sh installer.sh`
33
+
34
+ #### Adding ffmpeg
35
+
36
+ 1. Update and upgrade the system packages to get the ffmpeg version currently available in the repository. Execute the following command:
37
+ ```bash
38
+ sudo apt update && sudo apt upgrade
39
+ ```
40
+ 2. After upgrading the repository, install ffmpeg by running the following command:
41
+ ```bash
42
+ sudo apt install ffmpeg
43
+ ```
44
+ 3. Confirm that ffmpeg has been installed with:
45
+ ```bash
46
+ ffmpeg -version
47
+ ```
48
+
49
+ ### Windows Autolume Installer Guide
50
+
51
+ To successfully run this program, your system must have a 64-bit Windows (Windows 10 & 11 compatible) operating system, and you must download and install the following prerequisites:
52
+
53
+ - **[Autolume Installer](sinstaller.ps1)** (download this file)
54
+ - **[Cuda-Toolkit](https://developer.nvidia.com/cuda-11-7-0-download-archive)**
55
+ - **[Python 3.10](https://www.python.org/downloads/release/python-3100/)** (scroll down to files and select a compatible version to your system)
56
+
57
+ *While installing Python, make sure to select "Add Python to PATH" as shown below:*
58
+
59
+ ![Add Python to PATH](images/python-install.png)
60
+
61
+ #### Installation Steps
62
+
63
+ 1. Open Command Prompt (`windows+R` > `cmd`)
64
+ 2. Run the following command: `where python`
65
+ - Ctrl+C the result. It should look like this:
66
+ ```
67
+ C:\Users\Metacreation Lab>where python
68
+ C:\Users\Metacreation Lab\AppData\Local\Programs\Python\Python310\python.exe
69
+ C:\Users\Metacreation Lab\AppData\Local\Microsoft\WindowsApps\python.exe
70
+ ```
71
+ - If more than one result is thrown, copy Python 3.10.
72
+
73
+ 3. Click on the `sinstaller.ps1` file and open it (located in your Downloads folder).
74
+ 4. Paste the outcome of step 2 to the `systemPython` variable under `#Define python path` in the script:
75
+ ```powershell
76
+ # Define python path
77
+ $systemPython = "C:\Users\Metacreation Lab\AppData\Local\Programs\Python\Python310\python.exe"
78
+ ```
79
+
80
+ 5. If this is the first time running a script in Windows, you have to enable that functionality first. Detailed instructions to do so, can be found **[here](https://medium.com/@dfarkhod/how-to-enable-powershell-script-execution-in-windows-10-49f2b182649d)**
81
+
82
+ 6. Go to Downloads and type PowerShell in the address bar and hit Enter.
83
+ 7. Run the following command inside PowerShell: `.\sinstaller.ps1`
84
+ 8. Next time you want to run Autolume, simply click the AutolumeLiveColab shortcut on your Desktop.
85
+
86
+ Place your StyleGAN2 checkpoints (https://github.com/NVlabs/stylegan2-ada-pytorch) in the `models` folder.
87
+ Click the AutolumeLiveColab desktop shortcut and get going!
88
+
89
+ ## Examples
90
+
91
+ Showcase of current state: https://www.dropbox.com/s/e8yfdtdw3x3s7h0/autolume.mp4?dl=0 \
92
+ Trial runs:\
93
+ https://www.instagram.com/p/ChsrxkCjJNu/ \
94
+ https://www.instagram.com/p/Cg5aMrqjgIM/ \
95
+ Artworks: \
96
+ https://metacreation.net/autolume-mzton/ \
97
+ https://www.metacreation.net/projects/dreamscape/ \
98
+ https://metacreation.net/autolume-acedia/
99
+
100
+ ## Credits
101
+ Philippe Pasquier: Director of Metacreation Lab for Creative AI \
102
+ Arshia Sobhan: Project management \
103
+ Jonas Kraasch: Project initiation and first-phase development \
104
+ Arthur Deleu: Project development \
105
+ Mahshid Jabari: DevOps \
106
+ Peter Chen: Contributions to the super-resolution module \
107
+ Manuel Bolduc: User testing
108
+
109
+ ## Acknowledgment
110
+ PyTorch StyleGAN2-ada: https://github.com/NVlabs/stylegan2-ada-pytorch \
111
+ Underlying GUI code: https://github.com/NVlabs/stylegan3 \
112
+ GAN compression: https://github.com/lychenyoko/content-aware-gan-compression \
113
+ GANSpace: https://github.com/harskish/ganspace
114
+
115
+ ## License
116
+ Some of the dependencies fall under the [Nvidia Source Code License](https://github.com/NVlabs/stylegan2-ada-pytorch/blob/main/LICENSE.txt).