Deep Learning prepare_data

2605
10
11-25-2019 10:54 AM
LaurynasGedminas2
Occasional Contributor

Hello,

I am following the example here for pixel classification:

Pixel-based Classification Workflow with | ArcGIS for Developers 

In my case I am exporting data and labels from ArcPro, when i run:

data = prepare_data(data_path, batch_size=16)

I get error:

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'''

What is the parameter settings needed in ArcPro to export data for this example?

API version: 1.7.0

ArcGIS Pro 2.4

Thank you,

Tags (1)
0 Kudos
10 Replies
by Anonymous User
Not applicable

Laurynas Gedminas‌ can you post the full error 

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'''
0 Kudos