UserWarning: train_labels has been renamed targets warnings.warn("train_labels has been renamed targets")
时间: 2024-05-24 08:09:58 浏览: 178
pytorch masked_fill报错的解决
This is a warning message indicating that the name "train_labels" has been renamed to "targets". It usually appears when you are using an older version of a library or framework that has been updated and changed some of its variable names. It is recommended to update your code to use the new variable name to avoid any potential errors or issues in the future.
阅读全文