yyvhang/IAGNet

could you offer the code of getting the" B = {Bsub, Bobj }"?

JohnSnow-QY opened this issue · 4 comments

could you offer the code of getting the" B = {Bsub, Bobj }"?

No description provided.

Please refer to the functions "get_crop"、"random_crop_with_points"、"get_resize_box" in dataset_PIAD.py

sorry ,I can't express clearly , what I want is how generate the 'Json file" that include the "Box" parameters.
It includ B={Bsub,Bobj}, how can I generate it ?
thank you for response

sorry ,I can't express clearly , what I want is how generate the 'Json file" that include the "Box" parameters. It includ B={Bsub,Bobj}, how can I generate it ? thank you for response

Please use the "Labelme" software to annotate the box and just store the annotated box in JSON format, here is an example to save JSON file, you could refer to it.

thanks for response , very helpful