dinglufe / segment-anything-cpp-wrapper

MIT License
221 stars 34 forks source link

Some question about decoder tensor output? #2

Closed OroChippw closed 1 year ago

OroChippw commented 1 year ago

I meet the a problem , when i run the decoder in C++ ,my masks output shape is [1,4,0,0] , Like this https://github.com/facebookresearch/segment-anything/issues/294 masks out shape: 1 4 0 0
iou_predictions out shape: 1 4
low_res_masks out shape: 1 4 256 256 Do you know how to solve it? Thanks