Did you try this after upgrading torch to 1.2.0:
pip install --upgrade torchvision

Related issue:

  
      github.com/pytorch/vision
  
  
    



Issue: Importing Mask RCNN in Torchvision 0.2.2 10


	
	opened by goyalsaransh97
	on 2019-06-04
	
	
	closed by fmassa
	on 2019-06-04
	


On running "model = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True)", I get the error
"AttributeError: module 'torchvision.models' has no attribute 'detection' ". How can I solve this?
I'm...


 	module: models
 	question
 	topic: object detection