This commit is contained in:
Charles Joseph Pierre Beauville 2021-06-28 00:48:27 +02:00
parent 148d3f2843
commit 1a2ec7a0ef
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,3 @@
from .preprocess_kitti import parse_ground_truth, factory_file
from .casr_preprocess import create_dic
from .casr_preprocess_standard import create_dic_std

View File

@ -94,6 +94,7 @@ def create_dic(std=False):
dic_jo[phase]['names'].append(folder+"_frame{}".format(j))
now_time = datetime.datetime.now().strftime("%Y%m%d-%H%M")[2:]
with open("/home/beauvill/joints-casr-" + mode + "-right-" + split[0] + split[1] + "-" + now_time + ".json", 'w') as file:
with open("/home/beauvill/joints-casr-" + mode + "-right-" +
split[0] + split[1] + "-" + now_time + ".json", 'w') as file:
json.dump(dic_jo, file)
return dic_jo