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
Got 'InvalidArgumentError: indices[0] = 1875 is not in [0, 1795)' in running RSGAN #196
Comments
My Azure machine is using the miniconda with python=2.7 and tensorflow=1.14 |
I cannot reproduce this problem. I suggest you run this lib in your local experimental environments. You can also change the evaluation setting '-cv 5' to '-ap 0.2' in the config file to see if this problem is related to multi-processing. |
The problem is not related to multi-processing. Both my machine and the remote server have the same error like below. My procedures are:
|
I have downloaded the project and deployed it on my server. The algorithm works well. |
If you still can not solve it, I suggest you try other algorithms to see whether the same problem would happen. Anyway, I have tried my best and there are no others who had reported the same problem. |
Thank you for your help! I am trying to debug the codes on my CPU ver. tensorflow. I would ask my group member to try the algorithm on GPU ver. tensorflow. Thanks again! |
To be more specific, I found that when I used the lastFM dataset, the output of algorithm is: |
I have tried other algorithms (i.e. IRGAN) and the error above did not show up. I also notice that [0, 1790) should be the user count in the training set, however, 1795 might be the userID that sampled from testing set. |
I have refactored some code segments and found out the possible mistake which could lead to such an error. Though I cannot reproduce the error, I guess the problem has been solved. You could try the new version. |
Thank you very much! Problem solved! I can successfully run RSGAN on my CPU ver. tensorflow now ;-) |
When running the RSGAN algorithm, this error below appears frequently that I can hardly get the predicting process completed. I was wondering whether the "Process Process-2" is right or not. Is it the problem of multi-process?
The text was updated successfully, but these errors were encountered: