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
After testing,I got results included some .png and .npy
I want to know how to fuse them to show the points in the Chest X-Ray pics.
I used the following code,it didn't work:
import numpy as np
import cv2
import matplotlib.pyplot as plt
image = np.load(r'D:\code-zhangjian\code-space\src\chest\CHNCXR_0032_0_gt.npy')
src = plt.imread(r'D:\code-zhangjian\code-space\src\CHNCXR_0032_0.png')
for i in range(0,image.shape[0]):
plt.imshow(image[i,:,:],cmap='gray')
plt.imshow(src,cmap='gray')
cv2.imwrite(str(i)+".png",image[i,:,:])
plt.show()
The text was updated successfully, but these errors were encountered:
The visualization code is in evaluation.py. You can add -ds arguments at the evaluation stage to generate visualization results. For example, python3 evaluation.py -i ../runs/GU2Net/results/test_epoch067 -ds.
After testing,I got results included some .png and .npy
I want to know how to fuse them to show the points in the Chest X-Ray pics.
I used the following code,it didn't work:
The text was updated successfully, but these errors were encountered: