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

Fix wandb logging #730

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Conversation

aliberts
Copy link
Collaborator

@aliberts aliberts commented Feb 14, 2025

What this does

Fix wandb logging when the output_dict from the policy is None (issue on discord)

How it was tested

Ran

python lerobot/scripts/train.py \
    --config_path=lerobot/diffusion_pusht \
    --job_name=fix_train_wandb \
    --log_freq=1 \
    --step=4 \
    --eval_freq=2 \
    --save_freq=2 \
    --eval.n_episodes=1 \
    --eval.batch_size=1 \
    --env.episode_length=10

@aliberts aliberts added the 🐛 Bug Something isn't working label Feb 14, 2025
@aliberts aliberts requested a review from Cadene February 14, 2025 16:10
@Cadene Cadene merged commit b86a2c0 into main Feb 14, 2025
7 checks passed
@Cadene Cadene deleted the user/aliberts/2025_02_14_fix_wandb_logging branch February 14, 2025 17:00
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

Successfully merging this pull request may close these issues.

2 participants