What is the solution to the mask-rcnn benchmark error 'List' object has no attribute' resize'
This article is to share with you about the mask-rcnn benchmark error 'List' object has no attribute' resize' solution, the editor feels very practical, so share with you to learn, I hope you can learn something after reading this article, say no more, follow the editor to have a look.
First of all, this problem is caused by the fact that the GitHub source code I downloaded is someone else's, not Facebook official. If you downloaded it from someone else, there is a good chance that someone else changed the code to cause this bug.
Solution:
Positioning: maskrcnn_benchmark/data/datasets/coco.py
Line:66, 95, 96
Change self.transform to self._transform
If your code is self._transform, then the situation here may not apply to you, you need to find other reasons.
Another problem:
'Image' object has no atrrribute 'shape'
It may be caused by self.transform in line: 95 Magazine 95.
The above is the solution to the mask-rcnn benchmark error 'List' object has no attribute' resize'. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.