Hi all,
I am running the arcgis.learn model as below:
yolov3=arcgis.learn.YOLOv3(data)
yolov3.lr_find()
yolov3.fit(20,lr=None,one_cycle=True,checkpoint=False)
However, it has an error: ValueError: 'vertices' must be 2D with shape (M, 2). Your input has shape (0,).
<Figure size 576x576 with 4 Axes>
How can I fix this error?
Thank you so much for your help.
Solved! Go to Solution.
Hi Sandeep,
I have fixed the error. I found out that my training samples polygon has the fields class, classValue, Confidence. When I deleted the field class and confidence, everything is normal.
Cheers,
Lien
how did you prepare your "data" ?
arcgis.learn module — arcgis 1.9 documentation
Hi Dan,
To get the data, I have two raster files and then I merge them into 1 raster file. I got the samples with different bounding box sizes and then run
data=prepare_data(training_deep, chip_size=448, batch_size=4, transforms=None)
Then, the details error was shown in my edited post.
Hi,
Can you paste the full error ?
Thanks,
Sandeep
Hi Sandeep,
I have fixed the error. I found out that my training samples polygon has the fields class, classValue, Confidence. When I deleted the field class and confidence, everything is normal.
Cheers,
Lien