本文主要针对mmdetection在测试代码生成的.pkl文件进行处理。做自动化标注使用!
代码部分:
import os
import pickle
import json
path="result.pkl"
f=open(path,"rb")
data_pkl=pickle.load(f)
save_path="json/"
txt_path="test.txt"
本文主要针对mmdetection在测试代码生成的.pkl文件进行处理。做自动化标注使用!
代码部分:
import os
import pickle
import json
path="result.pkl"
f=open(path,"rb")
data_pkl=pickle.load(f)
save_path="json/"
txt_path="test.txt"