Git Product home page Git Product logo

Comments (3)

JunjieHu avatar JunjieHu commented on July 30, 2024

Hi @keratin7 , Thanks for posting the detail information here!

I notice that the error is due to empty examples in the data. You can see the output from your provided error message:

example.langs [] [] 0 ex_index 1 10634

I've updated the preprocessing script to remove some empty examples from the original file. You probably used an out-dated version of the code. I just check that the correct number of English examples should be 10004 rather than 10634 in your above log, and the correct number of German examples should be 10000.

Please use the current download script to process the panx data, and run the prediction by setting only "--do_prediction" in the script again.

from xtreme.

rn-v avatar rn-v commented on July 30, 2024

Thanks for getting back to me @JunjieHu!

I'm using the latest version of the code.
I couldn't find the AmazonPhotos.zip file on the shared cloud drive so I manually downloaded the en and de datasets and proprocessed them using this script before running the training and prediction.

Is the link provided in the download script as intended?

from xtreme.

rn-v avatar rn-v commented on July 30, 2024

Aah. I see that when the whole folder is downloaded, it saves as AmazonPhotos.zip, my bad. In any case, I downloaded individual en and de folders and preprocessed them using the same scripts. I still get the same error. Could you elaborate on what example.langs is supposed to have?

from xtreme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.