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

TypeError: can only concatenate str (not "int") to str #21

Open
manu-chauhan opened this issue Oct 11, 2023 · 1 comment
Open

TypeError: can only concatenate str (not "int") to str #21

manu-chauhan opened this issue Oct 11, 2023 · 1 comment

Comments

@manu-chauhan
Copy link

manu-chauhan commented Oct 11, 2023

Hi,

I am getting this issue when I try to run pred = model(x_categ, x_cont)

One more question, we are supposed to give exact number of unique values for each categorical column in the order they appear in data (categories) and the total number of continuous columns (num_continuous)... is there anything else I am missing out?

model = TabTransformer(categories = tuple(cat_list), num_continuous = len(continuous_cols), dim = 32, dim_out = 61, depth = 6, heads = 8, attn_dropout = 0.1, ff_dropout = 0.1, mlp_hidden_mults = (4, 2), mlp_act = nn.ReLU())

@minjun-tilda
Copy link

There is only variable name.. We need to know about exact value.

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