could not convert string to float: '0,00'

1192
3
07-02-2019 03:18 AM
PhilippZacharias
New Contributor II

On my system, the "Export Training Data for Deep Learning" Tool seems to export label xml files with a comma as decimal separator see image.

However, the ArcGis Python API function prepare_data expects float values to be separeted by a dot.

I'm using python arcgis 1.6.2 and arcgispro 2.3.

My Windows 10 region format is already set to use . as decimal sign:

How do get my system to create these xmls with dots.

I looked for a way to set the decimal separator in the ArcGis Pro Options, but I couldn't find anything.

0 Kudos
3 Replies
AlexandraScott
Occasional Contributor

What is your OS region setting? Some regions use commas instead of periods as decimal points. Maybe it's related to that? You can check in your OS settings. 

0 Kudos
PhilippZacharias
New Contributor II

My Windows 10 region format is already set to use . as decimal sign. See image in main post.

0 Kudos
PhilippZacharias
New Contributor II

So I found out that I have to change my whole windows 10 system language setting from german to english, so that the Export Training Data for Deep Learning" Tool finally creates xml label files with "." float values, instead of using ",".

@ESRI: This should not be neccessary and it descriminates international users!