pylabel
pylabel copied to clipboard
Python library for computer vision labeling tasks. The core functionality is to translate bounding box annotations between different formats-for example, from coco to yolo.
Code: ```python #Specify path to the coco.json file path_to_annotations = "data/coco.json" #Specify the path to the images (if they are in a different folder than the annotations) path_to_images = "data/image_patches/"...
``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ~\Anaconda3\envs\yolov5\lib\site-packages\pandas\core\ops\array_ops.py in na_arithmetic_op(left, right, op, is_cmp) 142 try: --> 143 result = expressions.evaluate(op, left, right) 144 except TypeError: ~\Anaconda3\envs\yolov5\lib\site-packages\pandas\core\computation\expressions.py in evaluate(op, a,...
My Yolov5 dataset has got multiple image extensions files such as jpg, jpeg, png, etc. What is the best way to handle these cases? ``` dataset = importer.ImportYoloV5(path=path_to_annotations, path_to_images=path_to_images, cat_names=yoloclasses,...
Instead of changing the category Ids, it might be a nice feature to add a "background" category at category_id = 0, that is how other libraries do it.
Fix #143
Fixes #143 In case cat_name isn't provided, cat_id will be converted to string and used as cat_name. If this gets merged, this behavior should probably be documented though. Next, specifying...
Cat_names is optional, but ShowClassSplits() have to use cat_names. This makes ShowClassSplits return empty dataframe  It should just use cat_id if cat_names is not provided. I'll try fixing
I have get the annotated yolo images and txt files. And I haved loaded data in notebook. How do I **only** `edit `bboxes without the need of pretrained models?
I tried code: ```python ds.splitter.GroupShuffleSplit(train_pct=0.7,val_pct=0.2,test_pct=0.0) ``` get > ValueError: train_size=0.0 should be either positive and smaller than the number of samples 376 or a float in the (0, 1) range...
Greetings, When working with this package, I had two issues in importing a VOC dataset and exporting it to YoloV5 with images. When importing a VOC dataset in pylabel, the...