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

Training is done with a warning message from the Scikit-Learn library #79

Open
LittleFay2 opened this issue Dec 26, 2023 · 1 comment
Open

Comments

@LittleFay2
Copy link

/home/ssf/.conda/envs/geotransformer/lib/python3.8/site-packages/sklearn/metrics/_classification.py:1245: UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 due to no predicted samples. Use zero_division parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))

Will this warning have an effect on training results?

@LJX16
Copy link

LJX16 commented Dec 28, 2024

/home/ssf/.conda/envs/geotransformer/lib/python3.8/site-packages/sklearn/metrics/_classification.py:1245: UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 due to no predicted samples. Use zero_division parameter to control this behavior./home/ssf/.conda/envs/geotransformer/lib/python3.8/site-packages/sklearn/metrics/_classification.py:1245:UndefinedMetricWarning:精度和 F 分数定义不明确,由于没有预测样本,因此设置为 0.0。使用 zero_division 参数来控制此行为。 _warn_prf(average, modifier, msg_start, len(result))_warn_prf(平均值、修饰符、msg_start、len(结果))

Will this warning have an effect on training results?此警告是否会影响训练结果?

Hi, I'm also experiencing this problem and my training loss stays at 0. Have you solved it yet?

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