Look at the tail end of learn.predict()’s code, specifically at the decode_batch() function. It’ll wind up returning your original X (the image) and the now fully decoded y
For a code example, see the “fastai straight” section here:
Look at the tail end of learn.predict()’s code, specifically at the decode_batch() function. It’ll wind up returning your original X (the image) and the now fully decoded y
For a code example, see the “fastai straight” section here: