I am generating patches from high resolution images. Below script worked fine in my local PC but when i shifted all images to server and generate patches it gives error in betwe