摘要: compile_data: 1)初始化Nuscenes API 2)Segmentation Data类,__getitem__得到traindata和valdata,主要调用NuscData的初始化, a.get_scenes调用create_split_scenes得到train,val的场景I 阅读全文
posted @ 2024-01-02 15:25 jimchen1218 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 1 def img_transform(img, post_rot, post_tran, 2 resize, resize_dims, crop, 3 flip, rotate): 4 # adjust image 5 img = img.resize(resize_dims) # 变形 crop 阅读全文
posted @ 2024-01-02 13:53 jimchen1218 阅读(104) 评论(0) 推荐(0) 编辑