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

loss landscape visualization code #11

Open
zzhunan opened this issue Jun 27, 2024 · 1 comment
Open

loss landscape visualization code #11

zzhunan opened this issue Jun 27, 2024 · 1 comment

Comments

@zzhunan
Copy link

zzhunan commented Jun 27, 2024

hi~doctor,Could you please provide the loss landscape visualization code.

@placeforyiming
Copy link
Owner

hi~doctor,Could you please provide the loss landscape visualization code.

It's actually simple, based on the gt transformation, evenly perturb one dimension, then calculate the diff. For example, use translation = gt_translation +delta_translation, where delta_translation = -0.1, -0.09, -0.08...,0.1, then you will have 21 data point. Use this way to collect hundreds data points, then you can draw the landscape

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