Error when running data.batch_show in argis.learn

823
2
Jump to solution
08-24-2021 04:23 PM
lienpham83
New Contributor III

Hi all,

I did export data training for deep learning and had a resulted folder(C:\Data\Deep_Learning\test_25Aug\esri_training_2).

My training bounding boxes have different size as figured

community.PNG

When I run the script:

data=prepare_data(training_deep, chip_size=448, batch_size=2, transforms=False)
data.show_batch()

It has an error as below. Could you please help me to fix it? Thank you. 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
lienpham83
New Contributor III

Hi Sandeep,

I have fixed the error. I found out that my training polygon has the fields class, classValue, Confidence. When I deleted the field class and confidence, everything is normal.

Cheers,

Lien

 

 

 

View solution in original post

0 Kudos
2 Replies
by Anonymous User
Not applicable

Hi,

Can you paste the full error ?

Thanks,

Sandeep

0 Kudos
lienpham83
New Contributor III

Hi Sandeep,

I have fixed the error. I found out that my training polygon has the fields class, classValue, Confidence. When I deleted the field class and confidence, everything is normal.

Cheers,

Lien

 

 

 

0 Kudos