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

TypeError: Object of type Tensor is not JSON serializable #16

Open
MyMiracles opened this issue Sep 15, 2022 · 1 comment
Open

TypeError: Object of type Tensor is not JSON serializable #16

MyMiracles opened this issue Sep 15, 2022 · 1 comment

Comments

@MyMiracles
Copy link

MyMiracles commented Sep 15, 2022

配置好环境后运行,在bootstrap/lib/logger.py里的json.dump()报TypeError: Object of type Tensor is not JSON serializable,请问作者有遇到这个问题吗?不解决是否可以,把logger.flush()注释掉后train和eval的结果都有了。

@yangxingrui
Copy link

请问朋友你解决这个问题了吗

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