DuyNguDao / Identity-Action

The combination of face identification and action recognition for fall detection (ICT Journal)
https://jst-ud.vn/jst-ud/article/view/8210/5766
43 stars 10 forks source link

How do I switch to using a multi graphics card? #6

Open chenzhizhuan opened 1 year ago

chenzhizhuan commented 1 year ago

My server has two graphics cards, but only the first one is used by default in the code, how to use all the graphics cards? Can modify that location globally? I tried to replace cuda:0,1 or cuda with: cuda in batches, but it didn't take effect. I don't know why?

image image

image image