Open johko opened 2 years ago
Hi @johko! Thank you for bringing this to our attention :) This is a known bug that we have and we have a ticket out currently to fix this. I'll increase the priority we have on it and let you know once this has been fixed
Thank you @lesliewandb :) I looked for a similar issue but couldn't find it. Good to know that you are on it.
Describe the bug
When logging bounding boxes for an image and using
int
values as width and height, the library throws an Error:TypeError: Object of type int is not JSON serializable
When casting the values tofloat
it works without a problem.Here is the example in a colab: https://colab.research.google.com/drive/1dyrgGANhitXN8RND8nSDItDvX6OE4-FF?usp=sharing
Additional Files
No response
Environment
WandB version: 0.12.18
OS: Ubuntu 18.04
Python version: 3.9
Versions of relevant libraries: opencv-python==4.6.0.66
Additional Context
No response