You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: