-
Notifications
You must be signed in to change notification settings - Fork 5
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
Bug: TypeError: unsupported operand type(s) for +: 'Tensor' and 'str' #1
Comments
I made it work by adapting line 183 in
to
because the output is a tensor (as mentioned in the error message). Now the code runs for a few batches then returns the next error BR, |
This error occurred due to an item not having a description in my dataset. Now I was able to create all text embeddings with the Ducho framework. |
Hi Gwen, Sorry for the delay in the answer, and thank you for the provided feedback. Yes, we are aware of this issue, due to the possible presence of missing multimodal information in the item set. While a simple solution might be to drop those items before running Ducho (as you probably did), we are working towards integrating imputation methods into the framework to make it work even when having items with missing modalities. Compare this recent paper of ours: https://dl.acm.org/doi/10.1145/3627673.3679898. Stay tuned, and thanks again for the feedback! Best, |
Dear all,
first of all, thank you for creating the framework.
I am trying to create feature_embeddings for items descriptions (see an example of my file below):
This is my ducho_config.yaml
And this is the error message I get:
BR,
Gwen
The text was updated successfully, but these errors were encountered: