|
@@ -2,7 +2,7 @@ import fastdeploy as fd
|
|
from sx_utils.sxtime import sxtimeit
|
|
from sx_utils.sxtime import sxtimeit
|
|
|
|
|
|
d_option = fd.RuntimeOption()
|
|
d_option = fd.RuntimeOption()
|
|
-d_option.use_gpu()
|
|
|
|
|
|
+d_option.use_cpu()
|
|
|
|
|
|
d_model = fd.vision.detection.YOLOv3('./d_models/model.pdmodel',
|
|
d_model = fd.vision.detection.YOLOv3('./d_models/model.pdmodel',
|
|
"./d_models/model.pdiparams",
|
|
"./d_models/model.pdiparams",
|