IBM watson rank and retrieve training the ranker getting Value error: No JSON could be decoded

54 Views Asked by At

I am trying to use the IBM Watson Rank and Retrieve service and I am following the tutorial with the sample data present in the portal i.e cranfield-data. However when I am trying to train the ranker using train.py I am getting the following error:

note: 1) I have uploaded the required JSON files 2) I am running the code in python2 environment.

Any help?

Value Error: No JSON object could be decoded

1

There are 1 best solutions below

0
chakravr On

Which file from the tutorial are you passing in as the -i {relevance_file} parameter? Is it this one: https://watson-developer-cloud.github.io/doc-tutorial-downloads/retrieve-and-rank/cranfield-gt.csv?

Other things to check: