Skip to content

Fix wandb handling of functions in arguement#1402

Open
Pragalbhv wants to merge 1 commit intoACEsuit:mainfrom
Pragalbhv:main
Open

Fix wandb handling of functions in arguement#1402
Pragalbhv wants to merge 1 commit intoACEsuit:mainfrom
Pragalbhv:main

Conversation

@Pragalbhv
Copy link
Copy Markdown

MACE is trying to log the full args to wandb as JSON. If args contains at least one function, JSON cannot represent it.

FIx proposed: Filter out non-serializable args before JSON encoding.

Fixes #1401

 MACE is trying to log the full args to wandb as JSON. If args contains at least one function, JSON cannot represent.
Filter out non-serializable args before JSON encoding
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

Successfully merging this pull request may close these issues.

Setup_wandb() fails with "Object of type function is not JSON serializable" when logging args

1 participant