Test images using maskrcnn

Matl: <p>i need to get features for the images with this orders x1,y1,x2,y2,class_id,bbox_score for MaskRCNN … i tried to run test.py by this command<br>
<code>python3 test.py  mask_rcnn_r50_fpn_2x_coco.py mask_rcnn_r50_fpn_2x_coco_bbox_mAP-0.392__segm_mAP-0.354_20200505_003907-3e542a40.pth  --out mask.pkl</code></p>
<p>but got the results as</p>
<p><code>[([array([[3.4650705e+02, 2.2881578e+01, 4.7088867e+02, 2.7276434e+02,         9.9516833e-01],        [4.7185513e+02, 1.7288368e+02, 5.1048703e+02, 2.2014581e+02,         9.6178675e-01],        [4.7159186e+02, 1.7304948e+02, 4.9084933e+02, 2.2020055e+02,         5.5574912e-01],        [4.8723318e+02, 1.7584416e+02, 5.1680920e+02, 2.1309479e+02,         2.7841356e-01],        [4.3487482e+02, 1.4968269e+02, 4.9404181e+02, 3.2228220e+02,         2.7335081e-01],        [5.0296329e+02, 1.7529953e+02, 5.1757251e+02, 1.9548613e+02,         2.1390808e-01],        [5.0067270e+02, 1.7602594e+02, 5.1813263e+02, 2.0841551e+02,         1.2613155e-01],        [3.8200891e+02, 1.3046188e+02, 4.9935736e+02, 3.0350888e+02,         6.8543307e-02]], dtype=float32), array([[4.8935394e+02, 1.8782579e+02, 5.1025159e+02, 2.1978473e+02,         7.1251577e-01],        [4.7984879e+02, 1.8716750e+02, 5.1666296e+02, 2.2345189e+02,         8.4580399e-02]], dtype=float32), array([], shape=(0, 5), dtype=float32), array([[355.02585  , 129.87189  , 480.42114  , 349.0006   ,   0.9950152]],       dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([[3.3826495e+02, 1.9326028e+02, 3.5929178e+02, 2.0606718e+02,         1.1280184e-01],        [4.8627438e+02, 1.8634016e+02, 5.1472314e+02, 2.1928667e+02,         5.5377111e-02]], dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([], shape=(0, 5), dtype=float32), array([[2.9866138e+02, 1.4167873e+02, 3.1682809e+02, 1.5821761e+02,         7.4646607e-02]], dtype=float32), array([[3.8782318e+02, 1.3845358e+02, 4.6248102e+02, 1.8845013e+02,         7.6794922e-02]], dtype=float32), array([], shape=(0, 5), dtype=float32), array([[3.8875848e+02, 1.3862480e+02, 4.6366086e+02, 1.8816422e+02,  , [[{'size': [360, 640], 'counts': b'cYk31S;6eLMYK844XKOZ0aKBg3X1TLlNa31VLhNe3]1gKjMfNQ15X1bK[O\\4h0\\K@\\3TNbL2LAa3TN^L]2MCd3TNZL[2OCg3UNVLX21Fi3UNRLU23Ij3UNnKT27Ik3VNjKQ2&lt;Ii3ZNgKl1b0Ih3T1YLkNi3R1WLjN</code></p>
<p>in which file should i edit to get the structure i want ?</p>

Matl: <aside class="quote no-group" data-username="Matl" data-post="1" data-topic="126385">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/matl/48/29831_2.png" class="avatar"> Matl:</div>
<blockquote>
<p>[</p>
</blockquote>
</aside>
<p>is there any help please ? as i  got the results <code>x1,y1,x2,y2,box-score with mask detection</code> also … which file can i edit to get the structure i want for this model ?</p>