simple-faster-rcnn-pytorch icon indicating copy to clipboard operation
simple-faster-rcnn-pytorch copied to clipboard

How to run it with CPU only? 可以只用CPU跑么

Open TracyCai-16 opened this issue 5 years ago • 4 comments
trafficstars

Can the model run with CPU on a laptop? (intel i7-10510U) If so, how to modify the code to be compatible with CPU? Thanks in advance!

TracyCai-16 avatar May 11 '20 03:05 TracyCai-16

I think the answer is no...bescause during the code i see .cuda() .Besides the author saids it doesn't have a CPU version

qqqqxxyy avatar Jun 30 '20 08:06 qqqqxxyy

how to modify the code to be compatible with CPU?

ciky-joh avatar Jul 20 '20 08:07 ciky-joh

i face the same problem, hope someone provide a cpu version...

sunlanchang avatar Oct 21 '20 02:10 sunlanchang

change cuda = True to cuda = False

unira-zwj avatar Nov 21 '21 06:11 unira-zwj