show_results under MultiTaskRoadExtractor() throws an error

1079
3
02-20-2021 05:52 AM
MariamJamilah
New Contributor III

Hello,

I am running the "Automatic road extraction using Deep Learning" sample notebook which uses the MultiTaskRoadExtractor() model. I get the below error when I try to execute the show_results() method to visualize the output. I have attached a screenshot for reference. Please advice

TypeError: 'AxesSubplot' object is not subscriptable

 

0 Kudos
3 Replies
by Anonymous User
Not applicable

Hi,
Can I know what batch size you used while preparing the data?

0 Kudos
MariamJamilah
New Contributor III

I used a batch size of 1

0 Kudos
by Anonymous User
Not applicable

Hmm, looks like this batch_size=1 is a problem here and needs to be fixed from our side. We will get back to you after the fix. Meanwhile, you can choose some other batch size (other than 1) and let me know if you face this issue.

0 Kudos