-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to view pseudolabels images? #8
Comments
@cchen-cc Can you please help in generating pseudolabels. I am not able to visualize it. |
After reading the data from .npz files, you can then plot it out. |
@cchen-cc I am able to read data from .npz file but I am not able to plot it. import matplotlib.pyplot as plt data = load('/data3/sfd/SFDA-DPL-main/generate_pseudo/pseudolabel_D2.npz', allow_pickle=True) dfile = "/data3/sfd/SFDA-DPL-main/generate_pseudo/pseudolabel_D2.npz" |
You can use plt.imshow() to plot the image. |
@cchen-cc dfile = "/data3/sfd/SFDA-DPL-main/generate_pseudo/pseudolabel_D2.npz" Traceback (most recent call last): |
Pseudolabels are saved in .npz format. How to visualize it ?
The text was updated successfully, but these errors were encountered: