IMPORTANT POINTS |
---|
An NVIDIA 3090 or 4090 GPU with 24GB VRAM is highly recommended and will get the best performance and highest resolution outputs. |
An NVIDIA 20xx GPU with 8GB VRAM would be the bare minimum hardware spec and is not recommended. Most of the machine learning modes in Visions of Chaos will not work with an 8GB GPU. |
If you have an older GPU or one with less than 8GB VRAM, do not continue. You will only be disappointed and complain "it doesn't work". |
You MUST have an NVIDIA GPU for the Machine Learning related modes to work in Visions of Chaos. If you do not have an NVIDIA GPU stop now and do not continue with the rest of this page. |
The required programs, Python libraries and machine learning models are large and do need a lot of disk space to install. If you do not have the patience for long large downloads then machine learning is not for you. Due to the rapid pace of advancements in these systems there will be frequent updates that break previous libraries needing new Python enviropnments to be created. Again, if the thought of having to wait for some downloads and updates after a new release bothers you, then do not go any further. |
If you do not have reliable and fast Internet then I do not recommend you continue. Machine learning requires many huge files that need to be downloaded and large updates happen frequently as new systems emerge. Having bad Internet is only going to frustrate you. |
Version numbers are important. If these instructions specify an exact version number make sure you download and install that version. Some versions listed may not be exact, but if you see an exact version, download and install that version. |
These steps only work on Windows 10 or Windows 11 64-bit versions. |
Update Your GPU Drivers |
---|
Why is this needed? Latest drivers are always fixing bugs and issues. These machine learning systems can perform poorly or even crash with older drivers. Update now and stay up to date. |
Select Help->Update Graphics Card Drivers from Visions of Chaos. That will show you which model GPU you have and open the NVIDIA download page. |
Once the download page opens, select your model GPU and click Search. The recommended driver will appear. Download it, install it, reboot. |
CUDA |
---|
Why is this needed? CUDA is required for all of the machine learning Python code to run on your GPU. |
Download CUDA v11.8 and install it. |
NOTE: by default the Nvidia installer wants to install extra drivers etc, you only need the compiler and libraries options checked, ie |
![]() |
cuDNN |
---|
Why is this needed? cuDNN improves the speed of certain machine learning systems. |
1. Download cuDNN v8.6.0 from here. |
2. Extract the cuDNN.rar file to a temp folder. |
3. Copy the 7 DLLs files from the RAR file into the C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\ folder. |
Visual Studio Community Edition |
---|
Why is this needed? Some of these systems need to be compiled to install them. Visual Studio does the required compiling. Without it you will not be able to setup the various Python environments. |
Download Visual Studio 2022 Community Edition from here. |
Start the installer and check "Desktop development with C++" on the first tab |
![]() |
Click the "Individual Components" tab, scroll down and check the most recent "C++/CLI support" checkbox |
![]() |
Click Install. |
Once the install is finished, you do not have to start Visual Studio or create an account to sign in. Just close it. |
CMake |
---|
Why is this needed? Like Visual Studio, CMake is another compiler required to setup some of the Python packages and libraries. |
Download the latest Windows x64 Installer of CMake from here. |
Install CMake making sure you check the "Add CMake to the system PATH for the current user" checkbox. |
![]() |
All other settings can be left at the defaults. |
Git |
---|
Why is this needed? Git is needed to automatically update source code from GitHub repositories. |
Download the latest 64 bit installer of Git for Windows from here. |
Install Git accepting all the numerous default settings. |
Python |
---|
Why is this needed? Python is the language all of these machine learning systems are written in. Without Python nothing will work. |
Download Python v3.10.8 from here. |
Click "Customize installation" and install Python outside the "Program Files" directory (eg to C:\Python\ or D:\Python\). This saves potential security rights problems in the pip install stages later on. |
Make sure you check the "Add Python to PATH" checkbox. |
![]() |
Check and Enable Machine Learning in Visions of Chaos |
---|
1. Start Visions of Chaos (if you already have Visions of Chaos open, close it and restart to ensure all path updates are seen) |
2. Click the Options menu and then select Options to open the Options dialog |
3. Under the Machine Learning tab, click the "Check Machine Learning" button |
At this point you should get a message that Python, nvcc, cl and cmake have been detected. If not, go back up and fix the installation for the error. |
You should now have a bunch of sub menus under Mode->Machine Learning to explore. |
As you start the various machine learning related modes for the first time you may be prompted to download model files or setup virtual environments. Let these processes run to ensure you have all the required machine learning related files. |