Working with PEKAT VISION through CMD in Windows
Create & Launch projects through Command Line [Windows]
In the PEKAT VISION Windows version, it is possible to create, launch projects, and choose a specific GPU to run a project, everything is set through CMD.
Create a Project through CMD
Target Directory Example
C:\Program Files\PEKAT VISION 3.16.0\starter
It is necessary to move to this directory or specify this path before other commands work.
To move to the Target Directory input:
cd C:\Program Files\PEKAT VISION 3.16.0\starter
Create Project - Help Command
.\pekat-vision.exe create -h
Create Project - Usage Example
.\pekat-vision.exe create -d "C:\Users\Pekat\PekatVisionProjects\NewProject35" -n NewProject35
The command above will create a new project in the directory:
C:\Users\Pekat\PekatVisionProjects\NewProject35
Change Pekat
to your current PC user name.
The project name in Projects Manager is defined as NewProject35
.
To display the project in projects manager UI, the user must use 'Open Project' in Projects Manager UI and select the target folder, in order to update Projects Manager UI.
Launch Project through CMD
Target Directory Example
Launch Project - Help Command
Optional Arguments
-l
Shows all logs in the command line. Without this parameter, the logs are only saved in a file.
-g
Starts the project on a specific GPU
Launch Project (without log)
Launch Project (with log written to the CMD)
Example for running 2 projects on 2 different GPUs
While in the PEKAT installation folder, run this command in cmd to start a project on GPU 0
Open another cmd and run this command to start a project on GPU 1
When projects are started, open them in a browser on http://localhost:8000 and http://localhost:8010