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
Merlin-PyTorch
batch : ({'userId': tensor([13849, 1743, 35896, ..., 339, 79530, 88722], device='cuda:0'), 'movieId': tensor([ 890, 2922, 780, ..., 9143, 2444, 813], device='cuda:0'), 'genres__values': tensor([ 4, 3, 10, ..., 17, 15, 12], device='cuda:0'), 'genres__offsets': tensor([ 0, 2, 6, ..., 89550, 89555, 89557], device='cuda:0', dtype=torch.int32)}, tensor([1., 1., 0., ..., 1., 1., 1.], device='cuda:0'))
target_columns : ['userId', 'movieId', 'genres']
Why are ‘genres_values‘ and ’genres_offsets‘ in batch instead of ’genres‘?
The text was updated successfully, but these errors were encountered:
@jianhuaz Because genres is a ragged list input feature, and we represent ragged tensors with __values and __offsets.
genres
__values
__offsets
how did you install Merlin libraries? are you using a docker image to run our examples?
Sorry, something went wrong.
This issue is still present. I have installed the Merlin libraries locally and it works up exactly to that point.
I believe this problem could be solved by writing a different transform function rather than the standard one present at https://github.com/NVIDIA-Merlin/NVTabular/blob/main/nvtabular/framework_utils/torch/utils.py
Any update on this?
I am getting the same error using PyTorch container as shown below. I like the framework but this type of error discourage new users from the getgo.
Getting the same error. Did you manage to find a solution?
No branches or pull requests
❓ Questions & Help
Details
Merlin-PyTorch
batch : ({'userId': tensor([13849, 1743, 35896, ..., 339, 79530, 88722], device='cuda:0'), 'movieId': tensor([ 890, 2922, 780, ..., 9143, 2444, 813], device='cuda:0'), 'genres__values': tensor([ 4, 3, 10, ..., 17, 15, 12], device='cuda:0'), 'genres__offsets': tensor([ 0, 2, 6, ..., 89550, 89555, 89557], device='cuda:0',
dtype=torch.int32)}, tensor([1., 1., 0., ..., 1., 1., 1.], device='cuda:0'))
target_columns : ['userId', 'movieId', 'genres']
Why are ‘genres_values‘ and ’genres_offsets‘ in batch instead of ’genres‘?
The text was updated successfully, but these errors were encountered: