... file_format='json') # 将数据序列化为字符串 json_str = mmcv.dump(data, file_format='json') # 将数据保存至文件(根据文件名后缀反推文件类型) mmcv.dump(data, ...
確定! 回上一頁