experiencor / keras-yolo2

Easy training on custom dataset. Various backends (MobileNet and SqueezeNet) supported. A YOLO demo to detect raccoon run entirely in brower is accessible at https://git.io/vF7vI (not on Windows).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run on GPU

harshitazilen opened this issue · comments

I tried configuring below parameters but it still does not use GPU. Please guide:

os.environ["CUDA_DEVICE_ORDER"] = "PCI:1:0:0"
os.environ["CUDA_VISIBLE_DEVICES"] = "0"

Thanks

if you installed tensorflow correctly, it will use GPU by default

Install cuda 10
Install cudnn for cuda-10
Install tensorflow- GPU.
Then it will work.

Thanks. I tried by creating new virtual environment and re-configured everything and it is working now.