-
Notifications
You must be signed in to change notification settings - Fork 84
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 visualize the test result ? #14
Comments
Hi! Here is my codes to visualize the estimated density map:
|
The visualization code is right, but in the paper, we normalize output by its max value for better visualization. |
你好,这样可视化是否正确? dm_normalized = dm / np.max(dm) plt.imshow(dm_normalized, cmap=cm.jet, vmin=0, vmax=1) i += 1 plt.savefig("./image/{}.png".format(i)) |
你好!请问这段代码是加在test.py后面吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have downloaded your pre-trained model and im running test.py :
python3 test.py --data-dir processed_data --save-dir logs
In output I get
My question is where is the visualization (heatmap) image saved ?
The text was updated successfully, but these errors were encountered: