ImagePredictor fails if any row contains NaN as its image.
See original GitHub issueImagePredictor currently crashes if a NaN is present in a row for the image (row contains no image)
Ideally, it should either use a dummy image or predict_proba the mean of NaN rows in train during test, or otherwise predict_proba the overall mean of the training data if no NaN rows were in train. NaN rows in train can be dropped.
'mxnet.base.MXNetError: Traceback (most recent call last):\n'
' File "src/io/image_io.cc", line 223\n'
"Imread: Check failed: file.is_open(): '' couldn't open file: "
'No such file or directory\n',
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
[Bug] Tabular + images for regression? · Issue #1546 - GitHub
Another question, if I understand right, the image predictor model for tabular prediction includes only image as input feature, ...
Read more >Ignoring NaNs with str.contains - python - Stack Overflow
3. Over here I had a situation where a was populated from a CSV, and the a column contained the string "nan". ·...
Read more >Built-in Macro Functions - ImageJ
Creates a new lookup table and assigns it to the current image. Three input arrays are required, each containing 256 intensity values. cos(angle)...
Read more >AutoGluon Predictors
AutoGluon TextPredictor predicts values in a column of a tabular dataset that contains text fields (classification or regression).
Read more >Built-in Macro Functions
Use the fromCharCode() function to convert one or more Unicode characters to a string. close() Closes the active image. This function has the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@gradientsky Thanks for the suggestion! How do you usually determine the most frequent image? I can think of two algorithms:
Another option for ensembles: get oof predictions from non-image models, then fill with random image from the same class.