diff --git a/utils/utils.py b/utils/utils.py index c25d33f..c27d8c8 100644 --- a/utils/utils.py +++ b/utils/utils.py @@ -32,6 +32,8 @@ def get_directory_content(dir_path): content = [] for p in Path(dir_path).iterdir(): file = Path(p) + if file.name.startswith("."): + continue model_type = (Path(file.name).suffix).lstrip('.').lower() is_object_file = True if model_type in OBJECT_TYPES else False item = {