【labelme】Attribute Error: module ‘labelme‘ has no attribute ‘LabelFile‘

introduction

When converting the json file marked by labelme into a format that meets the training requirements of the semantic segmentation model, the following bug occurred:

 Solution:

Enter the following code in the terminal to solve the problem:

 pip install -U labelme

As shown below:

 Re-run the converted code to successfully complete the conversion and resolve the bug.

Guess you like

Origin blog.csdn.net/qq_39149619/article/details/132450120