mmeval.utils.is_filepath¶ mmeval.utils.is_filepath(x)[源代码]¶ Check if the given object is Path-like. 参数 x (object) – Any object. 返回 Returns True if the given is a str or pathlib.Path. Otherwise, returns False. 返回类型 bool