Serverless Setup for CVAT
Note: These are instructions on how to set up a serverless (aka offline) setup for CVAT. We usually stick with the web-based app app.cvat.ai which does not require any of these steps.
Installing the Necessary Programs
Windows Subsystem for Linux (WSL)
Accessing Windows PowerShell
Using the search bar located on the bottom of the screen, search for “PowerShell”
Open the Windows PowerShell application by either double clicking the application name or by clicking
Open
Installing Windows Subsystem for Linux (WSL)
In the PowerShell terminal, type
wsl --install
and then hit the
Enter
key
The
--install
command performs the following actions:Enables the optional WSL and Virtual Machine Platform components
Downloads and installs the latest Linux kernel
Sets WSL 2 as the default
Downloads and installs the Ubuntu Linux distribution
After the installation is complete you will need to Reboot your machine.
Google Chrome
Install Google Chrome
There are multiple methods of installing Google Chrome to your machine but in this guide we will only cover two: installing using winget
and installing from a link
Installing using winget
In Windows PowerShell type the following into the terminal
winget install google.chrome
and then press
Enter
To see details about the program before you install, run the command winget show google.chrome
first
The terminal may then prompt you with the following:
Type
Y
to continue
Google Chrome will install to your machine.
Installing from a link
Open the following link in a web browser of your choosing.
https://www.google.com/chrome/
Click on the
Download Chrome
buttonSave the file to your computer
Open the file and follow the prompts
Docker Desktop
Git
Windows Terminal
Installing CVAT
Opening CVAT
Installing the Segment Anything Model (SAM)
Running CVAT and SAM
If SAM is installed
If SAM is not installed
Shutting Everything Down
Stopping CVAT
Stopping Docker