Gabriel Dutra

Results 6 comments of Gabriel Dutra

Try changing the cudnn and cudatoolkit versions. I used: `conda install -c conda-forge cudatoolkit==9.0 cudnn==7.3.1` and it fixed the error.

Are your input images in the .jpg format, and your masks in .png format? I got the same prediction error when using .png images as input.

An alternative to achieve faster inference times with pruning is through structured pruning: https://www.tensorflow.org/model_optimization/guide/pruning/pruning_with_sparsity_2_by_4

As per the readme: >License The model is licensed under the [Apache 2.0 license](https://github.com/facebookresearch/segment-anything/blob/main/LICENSE). Which should mean that the model can be used for commercial purposes.

When I try to execute 'predict.py', it gives me the following error: ` Traceback (most recent call last): File "predict.py", line 91, in main() File "predict.py", line 62, in main...