Skip to content

An error in RepeatableSampler. Series -> numpy #1214

Answered by Wicknight
Jeriousman asked this question in Q&A
Discussion options

You must be logged in to vote

@Jeriousman Hello, thanks for your attention to RecBole!
For this problem, I think there is something wrong with your code.

First, you didn't give the code for how the dataset was created. Judging from the error message, the problem seems to be that the attribute of 'inter_feat' in dataset is not converted from DataFrame to Interaction. I think this is because you didn't call the function of 'dataset.build()' after creating the dataset.

Second, I don't understand why you use ‘data_preparation(config, dataset)’ as the third parameter of create_samplers() function.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Jeriousman
Comment options

@Wicknight
Comment options

@Jeriousman
Comment options

Answer selected by Sherry-XLL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants