-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'float' object is not iterable #43
Comments
Hmm, not directly sure. Didn't see this locally. |
@mehdidc do you have some more information here? When did this error exactly happen? Was it on the public data or on the private backend data? |
I'm using nan's for saying that for that particular instance there is no prediction. E.g. when we do CV bagging, some points are never in the test set. It of course must be different from an empty list. This should be handled in the https://github.com/paris-saclay-cds/ramp-workflow/blob/detection_error/rampwf/score_types/base.py We just need to add it to |
@kegl sorry, I don't understand. This checking of |
Is there anything I can do to help debug this? Can maybe the submission be ran again with the latest ramp-workflow to see if it still happens? |
@mehdidc can you still reproduce the error ? |
@aboucaud @jorisvandenbossche Yes still the same error with the new ramp-workflow. Again trains successfully but breaks during the scoring: DEBUG: lzma module is not available |
According to your log |
There was a problem with the submission that failed even the starting kit, once cv bagging was introduced, namely that predict should return an np.array of objects, not a multi-d np.array. I fixed it in this PR on mars_craters: #53. Yesterday I retrained this new submission using ramp_test_submission, both on the starting kit data and the backend data. The scores sucked :) but it went through, including cv_bagging. That may have not solved this crash, but we should try. Now, these errors should be caught in the init of the detection prediction type to enforce early that the predict function returns the right format (np.array of objects). |
@jorisvandenbossche your submission "keras_ssd7_basic" trained successfully but broke during the scoring :
Any idea?
The text was updated successfully, but these errors were encountered: