Traceback (most recent call last):
File "run_ssd_live_demo.py", line 73, in
boxes, labels, probs = predictor.predict(image, 10, 0.4)
File "/home/yajun/github/MobileNetV3-SSD/vision/ssd/predictor.py", line 37, in predict
scores, boxes = self.net.forward(images)
File "/home/yajun/github/MobileNetV3-SSD/vision/ssd/ssd.py", line 100, in forward
locations, self.priors, self.config.center_variance, self.config.size_variance
File "/home/yajun/github/MobileNetV3-SSD/vision/utils/box_utils.py", line 104, in convert_locations_to_boxes
locations[..., :2] center_variance priors[..., 2:] + priors[..., :2],
RuntimeError: expected backend CPU and dtype Float but got backend CUDA and dtype Float
Traceback (most recent call last): File "run_ssd_live_demo.py", line 73, in
boxes, labels, probs = predictor.predict(image, 10, 0.4)
File "/home/yajun/github/MobileNetV3-SSD/vision/ssd/predictor.py", line 37, in predict
scores, boxes = self.net.forward(images)
File "/home/yajun/github/MobileNetV3-SSD/vision/ssd/ssd.py", line 100, in forward
locations, self.priors, self.config.center_variance, self.config.size_variance
File "/home/yajun/github/MobileNetV3-SSD/vision/utils/box_utils.py", line 104, in convert_locations_to_boxes
locations[..., :2] center_variance priors[..., 2:] + priors[..., :2],
RuntimeError: expected backend CPU and dtype Float but got backend CUDA and dtype Float