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

表格类型数据加载时计算输出纬度代码有误 #50

Open
westbrooguan opened this issue Dec 23, 2022 · 0 comments
Open

表格类型数据加载时计算输出纬度代码有误 #50

westbrooguan opened this issue Dec 23, 2022 · 0 comments

Comments

@westbrooguan
Copy link

在autodl/convertor/tabular_to_tfrecords.py 代码55行是先计算纬度再转化标签 但是我直接pip安装下来的autodl-gpu版本是先转化纬度再计算输出纬度 从而会转化为的0-1编码最大纬度为2 从而导致输出纬度计算错误
具体代码 output_dim = int(np.max(label)) + 1

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

1 participant