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

WandB.logの修正 #1

Closed
sql-hkr opened this issue Jan 9, 2023 · 0 comments
Closed

WandB.logの修正 #1

sql-hkr opened this issue Jan 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sql-hkr
Copy link
Owner

sql-hkr commented Jan 9, 2023

修正前

wandb.log(
    {
        "q1_pred": q1_pred.mean(),
        "q_target": q_target.mean(),
        "q1_ood_pred": q1_ood_pred.mean(),
        "pesudo_q_target": pesudo_q_target.mean(),
        "actor_q": q_new_actions.mean(),
        "q1_loss": qf1_loss,
        "q2_loss": qf2_loss,
        "policy_loss": policy_loss,
        "vae_loss": vae_loss,
    },
    step=self._current_epoch,
)

修正後

wandb.log(
    {
        "q1_pred": q1_pred.mean(),
        "q_target": q_target.mean(),
        "q1_ood_pred": q1_ood_pred.mean(),
        "pesudo_q_target": pesudo_q_target.mean(),
        "actor_q": q_new_actions.mean(),
        "loss/q1": qf1_loss,
        "loss/q2": qf2_loss,
        "loss/policy": policy_loss,
        "loss/vae": vae_loss,
    },
    step=self._current_epoch,
)
@sql-hkr sql-hkr added the bug Something isn't working label Jan 9, 2023
@sql-hkr sql-hkr closed this as completed in 766df56 Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant