Skip to end of metadata
Go to start of metadata
You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 11
Next »
Installing the Necessary Programs
Windows Subsystem for Linux (WSL)
notes from google doc
NOTE: When you enable WSL and install a Linux distribution, you are installing a new file system, separated from the Windows NTFS C:\ drive on your machine. Aka installing Git on WSL does not install Git in Windows and vise versa
Accessing Windows PowerShell
Google Chrome
Docker Desktop
notes from google docs
Install Docker Desktop
Use winget again
winget install Docker.DockerDesktop
Or install using this link: https://docs.docker.com/desktop/setup/install/windows-install/
Once installed, open Docker Desktop and click on the cog wheel to access settings
Click on Resources in the sidebar
Click on WSL Integration on the sidebar
Ensure that the box next to “Enable integration with my default WSL distro” is checked
Click the toggle for “Enable integration with additional distros:” to turn it on as well for good measure
Click “Apply and Restart”
Note: for some unknown reason quitting docker desktop does not actually end the program and tasks, you have to end the tasks in task manager to fully shut it down or you need to quit docker from the hidden icons in the taskbar
Git
Windows Terminal
notes from google docs
Install Terminal (Optional)
Install Windows Terminal (nice interface, very customizable, can run PowerShell, WSL, and Ubuntu all at the same time because its a shell emulator)
Windows Terminal is installed by default in Windows 11
Note: for silent install use msiexec, see more at https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec t
Note to obtain computer specifications
In PowerShell on Windows
command Get-ComputerInfo -Property “os*”
Or command
Get-ComputerInfo -Property “osname”
Installing CVAT
notes from google docs
Windows
Run the Linux distribution that was installed (Ubuntu) by searching Ubuntu in the start menu and running it
Or search for Terminal in the start menu and right click on it and Select Ubuntu in the dropdown
In the window that opens type the following to clone the CVAT source code from the github repository
git clone https://github.com/cvat-ai/cvat
Change to the cvat directory you just made
Run docker containers
Create a superuser
sudo docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser'
Input the administrator password when prompted
Create a username (default is django)
Input your email when prompted
Create a password for your user
Re-input the password
Opening CVAT
Installing the Segment Anything Model (SAM)
Running CVAT and SAM
notes from google docs
Starting up CVAT with SAM
Open docker
Open ubuntu
Open Chrome
Go to localhost:8080
Login
You have now opened CVAT
If SAM is installed
If SAM is not installed
Shutting Everything Down
Stopping CVAT
Stopping Docker
notes from google docs
To stop docker containers
In ubuntu type
or
docker compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml down
Add Comment