Thanks; due to the suggestion in this post for using loaded_image.copy(), I was able to continue with training my AI!