We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
欢迎您使用PaddleClas并反馈相关问题,非常感谢您对PaddleClas的贡献! 提出issue时,辛苦您提供以下信息,方便我们快速定位问题并及时有效地解决您的问题:
PaddleClas版本以及PaddlePaddle版本:paddlepaddle-gpu==2.6.1.post120,paddleclas==2.5.2
训练环境信息: a. Linux,Ubuntu2404-desktop b. Python3.12 c. CUDA12/cuDNN 8.9.7.29
完整的代码(相比于repo中代码,有改动的地方)、详细的错误信息及相关log /home/paddle/venv-paddleclas/lib/python3.8/site-packages/paddleclas/deploy/python/predict_rec.py:93: RuntimeWarning: invalid value encountered in divide batch_output = np.divide(batch_output, feas_norm)
/home/paddle/venv-paddleclas/lib/python3.8/site-packages/paddleclas/deploy/python/predict_rec.py:93: RuntimeWarning: invalid value encountered in divide batch_output = np.divide(batch_output, feas_norm)
{ "err_no": 0, "err_msg": "", "key": [ "result" ], "value": [ "[]" ], "tensors": [] }
The text was updated successfully, but these errors were encountered:
看起来可能是特征中包含零值,可以断点打印feats_norm的值确认这一点。如果确实如此,建议首先确认模型给出的结果是符合预期的,然后可以考虑在feas_norm的基础上加上一个小偏置以避免除0错误。
feats_norm
feas_norm
Sorry, something went wrong.
Bobholamovic
No branches or pull requests
欢迎您使用PaddleClas并反馈相关问题,非常感谢您对PaddleClas的贡献!
提出issue时,辛苦您提供以下信息,方便我们快速定位问题并及时有效地解决您的问题:
PaddleClas版本以及PaddlePaddle版本:paddlepaddle-gpu==2.6.1.post120,paddleclas==2.5.2
训练环境信息:
a. Linux,Ubuntu2404-desktop
b. Python3.12
c. CUDA12/cuDNN 8.9.7.29
完整的代码(相比于repo中代码,有改动的地方)、详细的错误信息及相关log
/home/paddle/venv-paddleclas/lib/python3.8/site-packages/paddleclas/deploy/python/predict_rec.py:93: RuntimeWarning: invalid value encountered in divide batch_output = np.divide(batch_output, feas_norm)
{ "err_no": 0, "err_msg": "", "key": [ "result" ], "value": [ "[]" ], "tensors": [] }
The text was updated successfully, but these errors were encountered: