HumanSignal / labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
https://youtu.be/p0nR2YsCY_U
MIT License
22.83k stars 6.32k forks source link

Open directory issue #1007

Open ITSAIDI opened 1 year ago

ITSAIDI commented 1 year ago

C:\Users\hp>cd C:\Users\hp\AI\DL formation\Projects\Object recognition.CV\Sign launguage detection\RealTimeObjectDetection\Tensorflow\labelImg

C:\Users\hp\AI\DL formation\Projects\Object recognition.CV\Sign launguage detection\RealTimeObjectDetection\Tensorflow\labelImg>python labelImg.py Traceback (most recent call last): File "C:\Users\hp\AI\DL formation\Projects\Object recognition.CV\Sign launguage detection\RealTimeObjectDetection\Tensorflow\labelImg\labelImg.py", line 1359, in open_dir_dialog self.import_dir_images(target_dir_path) File "C:\Users\hp\AI\DL formation\Projects\Object recognition.CV\Sign launguage detection\RealTimeObjectDetection\Tensorflow\labelImg\labelImg.py", line 1374, in import_dir_images self.open_next_image() File "C:\Users\hp\AI\DL formation\Projects\Object recognition.CV\Sign launguage detection\RealTimeObjectDetection\Tensorflow\labelImg\labelImg.py", line 1429, in open_next_image self.change_save_dir_dialog() File "C:\Users\hp\AI\DL formation\Projects\Object recognition.CV\Sign launguage detection\RealTimeObjectDetection\Tensorflow\labelImg\labelImg.py", line 1309, in change_save_dir_dialog self.show_bounding_box_from_annotation_file(self.file_path) File "C:\Users\hp\AI\DL formation\Projects\Object recognition.CV\Sign launguage detection\RealTimeObjectDetection\Tensorflow\labelImg\labelImg.py", line 1182, in show_bounding_box_from_annotation_file basename = os.path.basename(str(os.path.splitext(file_path))[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 232, in splitext TypeError: expected str, bytes or os.PathLike object, not NoneType

ITSAIDI commented 1 year ago

just restart the labelImg from restart option inside of it

TrinhNhatTuyen commented 1 year ago

"File -> Reset All", thank you.