Hey @thelostscientist, thanks for helping us start down the road towards python3 compatibility (#3) with this and PR #14.
I'm having a little trouble getting this to work on python3, but I think I understand what you are trying to do: get preprocess_image to accept python3 bytes type. Could you post a motivating example of why you made this change, and a working example? Then maybe I can suggest some further modifications to preprocess_image.
Part of the issue, I believe, is that we depend on scikit-image and PIL, which is kind of a mess that I need to clean up.
Hey @thelostscientist, thanks for helping us start down the road towards python3 compatibility (#3) with this and PR #14.
I'm having a little trouble getting this to work on python3, but I think I understand what you are trying to do: get
preprocess_image
to accept python3bytes
type. Could you post a motivating example of why you made this change, and a working example? Then maybe I can suggest some further modifications topreprocess_image
.Part of the issue, I believe, is that we depend on
scikit-image
andPIL
, which is kind of a mess that I need to clean up.