Traceback (most recent call last):


 "demo.py", line 74, in <module>

results = model.detect([image])


 "/home/student/pytorch-mask-rcnn/Projects/pytorch-mask-rcnn-master/model.py", line 1603, in detect

detections, mrcnn_mask = self.predict([molded_images, image_metas], mode='inference')


 "/home/student/pytorch-mask-rcnn/Projects/pytorch-mask-rcnn-master/model.py", line 1669, in predict

config=self.config)


 "/home/student/pytorch-mask-rcnn/Projects/pytorch-mask-rcnn-master/model.py", line 385, in proposal_layer

keep = utils.non_max_suppression(boxes, scores, nms_threshold)


 "/home/student/pytorch-mask-rcnn/Projects/pytorch-mask-rcnn-master/utils.py", line 97, in non_max_suppression

if boxes.dtype.kind != "f":


 "/home/student/anaconda3/lib/python3.5/site-packages/torch/autograd/variable.py", line 67, in __getattr__

return object.__getattribute__(self, name)
AttributeError: 'Variable' object has no attribute 'dtype'

Traceback (most recent call last):


 "/Users/matt/Builds/medusa/medusa/server/api/v1/core.py", line 142, in get

out_dict = _call_dispatcher(args, kwargs)


 "/Users/matt/Builds/medusa/medusa/server/api/v1/core.py", line 212, in call_dispatcher

cur_out_dict = func(cur_args, cur_kwargs).run()
# call function and get response


 "/Users/matt/Builds/medusa/medusa/server/api/v1/core.py", line 1308, in run

failed=self.failed, proc_type=self.type


 "/Users/matt/Builds/medusa/medusa/process_tv.py", line 145, in process

ignore_subs=ignore_subs)


 "/Users/matt/Builds/medusa/medusa/process_tv.py", line 335, in process_files

self.process_media(path, self.video_files, force, is_priority, ignore_subs)


 "/Users/matt/Builds/medusa/medusa/process_tv.py", line 556, in process_media

self.result = processor.process()


 "/Users/matt/Builds/medusa/medusa/post_processor.py", line 1289, in process

notifiers.notify_download(ep_obj)


 "/Users/matt/Builds/medusa/medusa/notifiers/__init__.py", line 100, in notify_download

n.notify_download(ep_obj)


 "/Users/matt/Builds/medusa/medusa/notifiers/kodi.py", line 434, in notify_download

self._notify_kodi(common.notifyStrings[common.NOTIFY_DOWNLOAD], ep_obj.pretty_name_with_quality())


 "/Users/matt/Builds/medusa/medusa/notifiers/kodi.py", line 133, in _notify_kodi

result += cur_host + ':' + notify_result['result'].decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
