diff --git a/mmengine/utils/path.py b/mmengine/utils/path.py index c1228f13b1f681821b4b4e364b472b796953e45c..b08feb7d08c9581fdee3d48263151df88f680565 100644 --- a/mmengine/utils/path.py +++ b/mmengine/utils/path.py @@ -110,7 +110,7 @@ def is_abs(path: str) -> bool: Returns: bool: whether path is an absolute path. """ - if osp.isabs(path) or path.startswith(('http', 'https', 's3')): + if osp.isabs(path) or path.startswith(('http://', 'https://', 's3://')): return True else: return False