usnistgov / dioptra

Test Software for the Characterization of AI Technologies
https://pages.nist.gov/dioptra/
Other
220 stars 33 forks source link

[BUG] Entrypoint parameters are not converted properly from strings to their correct type #607

Open jtsextonMITRE opened 2 months ago

jtsextonMITRE commented 2 months ago

Currently the entrypoint endpoint only allows strings to be uploaded for the default parameters (as it should). However, by the time it gets passed to the task engine, these values haven't been converted to their proper types the task engine throws an error for anything not typed as a string.

For example '[28,28,1]' -> [28, 28, 1].