SwanLab icon indicating copy to clipboard operation
SwanLab copied to clipboard

bugfix/config_json_serializable

Open Zeyi-Lin opened this issue 6 months ago • 0 comments

问题发现:在运行fastai测试脚本时,config报错,原因是框架的配置dict中带了很多函数和类。 修复:将json_serializable函数从与列出的类型不匹配就raise错误,改为返回str(obj),若仍出错就rasie TypeError。

Zeyi-Lin avatar Aug 11 '24 09:08 Zeyi-Lin