Traceback (most recent call last):


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

results = model.detect([image])


 "/phd/pytorch-mask-rcnn/model.py", line 1598, in detect

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


 "/phd/pytorch-mask-rcnn/model.py", line 1673, in predict

detections = detection_layer(self.config, rpn_rois, mrcnn_class, mrcnn_bbox, image_metas)


 "/phd/pytorch-mask-rcnn/model.py", line 841, in detection_layer

detections = refine_detections(rois, mrcnn_class, mrcnn_bbox, window, config)


 "/phd/pytorch-mask-rcnn/model.py", line 786, in refine_detections

keep = torch.nonzero(keep_bool)[:,0]


 "/home/xyc/anaconda3/envs/map-seg-py35/lib/python3.5/site-packages/torch/autograd/variable.py", line 78, in __getitem__

return Index.apply(self, key)


 "/home/xyc/anaconda3/envs/map-seg-py35/lib/python3.5/site-packages/torch/autograd/_functions/tensor.py", line 89, in forward

result = i.index(ctx.index)
IndexError: trying to index 2 dimensions of a 0 dimensional tensor

Traceback (most recent call last):


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\youtube.py", line 1383, in _decrypt_signature

func = self._extract_signature_function(


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\youtube.py", line 1297, in _extract_signature_function

cache_res = res(test_string)


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\youtube.py", line 1360, in <lambda>

return lambda s: initial_function([s])


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\jsinterp.py", line 258, in resf

res, abort = self.interpret_statement(stmt, local_vars)


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\jsinterp.py", line 56, in interpret_statement

v = self.interpret_expression(expr, local_vars, allow_recursion)


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\jsinterp.py", line 91, in interpret_expression

right_val = self.interpret_expression(


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\jsinterp.py", line 188, in interpret_expression

x, abort = self.interpret_statement(


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\jsinterp.py", line 56, in interpret_statement

v = self.interpret_expression(expr, local_vars, allow_recursion)


 "c:\users\jnbra\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\jsinterp.py", line 211, in interpret_expression

raise ExtractorError('Unsupported JS expression %r' % expr)
youtube_dl.utils.ExtractorError: Unsupported JS expression '[1596180896,'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see
https://yt-dl.org/update
on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
