dinglufe / segment-anything-cpp-wrapper

MIT License
221 stars 34 forks source link

Loading data takes too long. #8

Closed Ntccsa closed 1 year ago

Ntccsa commented 1 year ago

It takes too long to load pictures in sam.loadImage(image). Is there any way to solve it? At present, it takes 1-2 seconds. Can it be reduced? image

dinglufe commented 1 year ago

Converting to a TensorRT model and then loading may be faster, but I haven't tested it.