Closed Fluitketel0 closed 3 months ago
'm working in the PyTorch 23.12 Docker image
Is that merlin image? if not can you please use merlin-pytorch:23.08
image.. it comes everything installed. you dont need to install anything.
Is that merlin image?
Thanks for the reply. Yes that is the one I mean, I will try my code with merlin-pytorch:23.08
first thing Monday morning.
Thank you for your suggestion @rnyak, but I still receive the same KeyError: 'item_id-list'
error. Do you have any other ideas?
I had a mistake in my code, I did not correctly apply the categorify_op
:
# Define Groupby Workflow
groupby_feats = userId_op + categ_feats + ...
I added the columns instead of the op. Thanks for your help @rnyak .
❓ Questions & Help
When attempting to configure my model with TabularSequenceFeatures.from_schema(), I encounter an error, which I suspect is related to the setup of the item embedding table. Could anyone point out what I might be doing wrong?
Details
I'm working in the PyTorch 23.12 Docker image and most of my code came from trying to follow the End-to-end session-based recommendation notebook or the Model Architectures page.
Here is my nvt code:
And here is my current model:
Running the code of my model will result in a key error, namely: KeyError: 'item_id-list'. Here is the complete error message:
After executing the command inputs.item_embedding_table, I encounter a KeyError identical to one I've experienced above.