在这里插入图片描述
使用pytorch-svgrender 库(https://pytorch-svgrender.readthedocs.io/en/latest/clipfont.html )过程中遇到的 Hydra 库(https://github.com/facebookresearch/hydra)提示的问题

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

解决方案(针对 Linux 系统):

  1. 打开目标环境下的项目路径下的环境变量配置文件:nano ~/.bashrc
  2. 到该文件底部,加入 export HYDRA_FULL_ERROR=1
  3. 保存改变并退出:保存 crtl + X,确认 Y,退出 Enter / 回车
  4. 重启终端后解决该报错。
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐