Hi i am using object detection feature with TuriCreate using 2 class identifiers with 60 images, and i train the data succefully like in the instructions but i'm getting empty predictions when predicting on test data. Installed turicreate-5.0b2 on my MAC OS Mojave 10.14 Beta and XCode version 10.0 Beta 3. This is the code i use:
import turicreate as tc
images = tc.load_images('data/images')
annotations = tc.SFrame('data/imagesannotations.csv')
data = images.join(annotations)
train_data, test_data = data.random_split(0.8)
model = tc.object_detector.create(train_data, max_iterations=10)
predictions = model.predict(test_data)
I get empty prediction output:
Predicting 1/11
Predicting 11/11
>>> predictions
dtype: list
Rows: 11
[[], [], [], [], [], [], [], [], [], [], []]
Please help why i am getting empty prediction. I split the dataset of the images with rate of 0.8 to train and to test on and they are all similar to each other.
It is possible that 10 iterations for this dataset is not sufficient to get a model that can confidently predict anything. As a result, all possible predictions are too low-confidence to meet the IOU threshold, and thus the return value is empty lists.