Replies: 5 comments
-
@G-ecs Thanks for filing the bug. Just for clarity, I am assuming you added |
Beta Was this translation helpful? Give feedback.
-
I've been able to produce an exception that looks like the one you've posted using
Investigating. |
Beta Was this translation helpful? Give feedback.
-
@metrizable Yes, I added With Note that the training jobs work just fine. I will try with the |
Beta Was this translation helpful? Give feedback.
-
Here's a notebook with MNIST and iris datasets using 3 methods: https://gist.github.com/G-ecs/0676671003765aeaec016bc3b273db12 |
Beta Was this translation helpful? Give feedback.
-
For me it wasn't a 'crash issue but that a float field (using exponential notation) was interpreted as a string. Here's the dataset I was using when I came across the issue:
Using Pandas to save a local CSV (as described above) was a work around for the issue:
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Model monitor baseline processing job crashes on CSV files.
To reproduce
From a SageMaker notebook following the SageMaker tutorial training XGBoost on mnist, and I adding the model monitor tutorial to the notebook.
Download mnist
:create dataset
:create baseline
:Expected behavior
Successful Processing job with float inferred type in Model Monitor.
Screenshots or logs
format='%f'
is not set processing job successful but inferred type isstring
because of the scientific notation. See results in screenshot:
2. If `format='%f'` is set the processing job fails:Note that dumping the dataset to CSV using pandas.DataFrame.to_csv() produces the same error.
System information
A description of your system. Please provide:
ml.m4.10xlarge
Additional context
I ran through the SageMaker tutorial training XGBoost on mnist, and I added the model monitor tutorial to the notebook.
create dataset
:.csv
extension to filenameformat='%f'
to np.savetxt to avoid writing in scientific notation otherwise inferred type isstring
in model monitor.Beta Was this translation helpful? Give feedback.
All reactions