Skip to content

Juice-Labs/yolo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Juice Labs PyTorch+yolov5 Example

How do I setup and run the PyTorch yolov5 example with Anaconda?

All of the following steps are run from an Anaconda Prompt from within the directory that you cloned Juice-Labs/yolo to.

Create an Anaconda environment and install PyTorch and yolov5 dependencies by running the following from the cloned repository:

conda env create -n yolo --file environment.yml
conda activate yolo
pip install -r requirements.txt

Run yolov5 with native CUDA from the Anaconda Prompt, or with the Juice GPU if you've run the installer and the path containing python.exe is listed as active in the %LocalAppData%\Juice\juice.cfg:

python yolo.py

Run yolov5 through the Juice GPU from the Anaconda Prompt with the path to juicify.exe (included in JuiceClient.zip) in PATH:

juicify.exe %USERPROFILE%\anaconda3\envs\yolo\python.exe yolo.py

About

Example running ultralytics/yolov5 through the Juice Remote GPU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages