-
I have been working on a project where I am trying to scan satellite imagery for presence of a specific object type (corrals). I have two files TIF images that I am using for training and validation, with associated AOIs and bounding boxes for each image in geoJSON format. I believe I have done everything properly for attaching my AOIs and bounding boxes to original imagery as well as the creation of my test and validation datasets. All of my code is listed below:
When I attempt to actually run the model however, I am presented with the following error stack:
As I have tried to track this down, I think that my error is with how I am either loading in the model or how I am setting up the model to run. I have tried a few different models and methods of loading, and this error keeps coming up. For what its worth - I am running this in an .ipynb markdown file. (based on my understanding - since rastervision 0.20, this should not make a difference) Any clarity is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Looks like you are trying to use DeepLab, which is a semantic segmentation model, for object detection. Try using one of the object detection models in TorchVision e.g. FasterRCNN.
That's right. |
Beta Was this translation helpful? Give feedback.
Looks like you are trying to use DeepLab, which is a semantic segmentation model, for object detection. Try using one of the object detection models in TorchVision e.g. FasterRCNN.
That's right.