Skip to content
New issue

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

Killed: 9 #2

Closed
dxlong2000 opened this issue Dec 17, 2020 · 1 comment
Closed

Killed: 9 #2

dxlong2000 opened this issue Dec 17, 2020 · 1 comment

Comments

@dxlong2000
Copy link

Hi author,

When I run the pre_train model as the instruction, why my program raised error:
(base) MacBook-Pro-cua-Do:Contour-Detection-Pytorch-master doxuanlong$ python3 ContourDetector.py a_58_2.jpg
Killed: 9

All the thing I changed is that I want to save the image instead of showing the image, so I changed:
plt.imshow(res)
plt.close()

to become
plt.imsave('test.jpg',res)

Thanks

@captanlevi
Copy link
Owner

Hello , so sorry for the late reply. have you tried saving the image using PIL ?
This might be a mac book issue. Cause i am running it on windows and it works perfectely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants