/usr/local/lib/python3.10/dist-packages/imageio/plugins/pillow.py:304: UserWarning: Loading 16-bit (uint16) PNG as int32 due to limitations in pillow's PNG decoder. This will be fixed in a future version of pillow which will make this warning dissapear.
warnings.warn(
AttributeError Traceback (most recent call last)
in <cell line: 4>()
2 gt = imageio.imread("image_data/test/000_masks.png")
3
----> 4 pred = predictor.predict_label(image.astype("float32"))
5
6 # the default model outputs are JAX arrays. It is more convenient
AttributeError: 'Predictor' object has no attribute 'predict_label'
/usr/local/lib/python3.10/dist-packages/imageio/plugins/pillow.py:304: UserWarning: Loading 16-bit (uint16) PNG as int32 due to limitations in pillow's PNG decoder. This will be fixed in a future version of pillow which will make this warning dissapear. warnings.warn(
AttributeError Traceback (most recent call last) in <cell line: 4>()
2 gt = imageio.imread("image_data/test/000_masks.png")
3
----> 4 pred = predictor.predict_label(image.astype("float32"))
5
6 # the default model outputs are JAX arrays. It is more convenient
AttributeError: 'Predictor' object has no attribute 'predict_label'