We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taskonomy/taskbank/tools/run_img_task.py
Line 95 in 3cab64f
Is that intentional? If not, how about saving the cropped image file in a temp folder to use later?
# save the cropped image in temp folder to prevent overwriting img_name = os.path.basename(args.im_name) name, ext = os.path.splitext(img_name) args.im_name = os.path.join('/tmp/', name + '_cropped' + ext) scipy.misc.toimage(np.squeeze(img), cmin=0.0, cmax=1.0).save(args.im_name)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
taskonomy/taskbank/tools/run_img_task.py
Line 95 in 3cab64f
Is that intentional? If not, how about saving the cropped image file in a temp folder to use later?
The text was updated successfully, but these errors were encountered: