Closed kei6 closed 5 years ago
You must have changed something. variable rboxes come from dataset.dataReader.restore_roiRotatePara, check there first.
I've already checked that. I found that dataset.dataReader.restore_roiRotatePara
works well.
Having some wrong in brotateParas
hence the issue. I found that brotateParas
is a nested list, and RoiRotate.RoiRotate
cannot work with this nested list.
I've already tried to convert brotateParas
into a flatten list, by using:
import more_itertools
brotateParas = list(more_itertools.flatten(brotateParas))
rois_op, ws_op = RoiRotate.RoiRotate(filter_bsharedFeatures, FLAGS.features_stride)(brotateParas)
but another bug comes out. Test function seems to be not working!
Could you please check it again?
Thanks in advance!
oh! I have found this bug.I forgot to extract the nested list as a single list. You can update the modified code to solve this problem. Thanks, good luck!
Thanks @yu20103983
Hi @yu20103983 , I've faced with this issue, Can you help to fix this?
Thanks a lot ^^!