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
代码就是demo中的例子,例子中SparseFeat的vocabulary_size大小设置为最大值+1
fixlen_feature_columns = [SparseFeat(feat, data[feat].max() + 1,embedding_dim=4) for feat in sparse_features]
当我将其改为1时代码仍能成功运行
fixlen_feature_columns = [SparseFeat(feat, 1,embedding_dim=4) for feat in sparse_features]
而当我禁用gpu,使用cpu训练模型时tensorflow则会提示我越界错误
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码就是demo中的例子,例子中SparseFeat的vocabulary_size大小设置为最大值+1
当我将其改为1时代码仍能成功运行
而当我禁用gpu,使用cpu训练模型时tensorflow则会提示我越界错误
The text was updated successfully, but these errors were encountered: