Code Monkey home page Code Monkey logo

Comments (14)

nopper avatar nopper commented on July 28, 2024

Hi @panddu15,

Can you provide more context and also paste the command you used, so we can try to reproduce the error from our side?

from tapas.

panddu15 avatar panddu15 commented on July 28, 2024

Hi @panddu15,

Can you provide more context and also paste the command you used, so we can try to reproduce the error from our side?

---> 18 with open(results_path) as csvfile:
19 reader = csv.DictReader(csvfile, delimiter='\t')
20 for row in reader:

FileNotFoundError: [Errno 2] No such file or directory: 'results/sqa/model/test_sequence.tsv'

from tapas.

nopper avatar nopper commented on July 28, 2024

Hi @panddu15,

Can you include the full command line you used that actually triggered the exception? And possibly explain what you are trying to do?

from tapas.

muelletm avatar muelletm commented on July 28, 2024

test_sequence.tsv should be output when you run the prediction for an SQA model.
Can you share how you ran the prediction job?

from tapas.

panddu15 avatar panddu15 commented on July 28, 2024

Hi, I was just trying to run the sample code and i did not do any changes in the code
Note: i am running on it AWS machine where tapas is installed in root and i am accessing jupyter from user.

tapas_error

from tapas.

mdmustafizurrahman avatar mdmustafizurrahman commented on July 28, 2024

One question SQA task does not support COUNT,AVERAGE, MAX etc. For that we need WikiTable Task right. But as I mentioned multiple times, for none of your pretrained model you provided, WikiTable task is not working. Please kindly clarify or kindly provide a model trained on WikiTable.

from tapas.

muelletm avatar muelletm commented on July 28, 2024

@mdmustafizurrahman, yes we currently don't provide a model that supports COUNT or AVERAGE (MAX is implicit so it should work). I'll see if we can release the WTQ or WikiSQL model.

@panddu15, there must be another error before that. The actual prediction job seems to be failing or somehow it's configured to don't run the sequence prediction. Can you check if you are running with CPU or GPU?

from tapas.

mdmustafizurrahman avatar mdmustafizurrahman commented on July 28, 2024

@muelletm I would really appreciate if you could release WTQ

from tapas.

panddu15 avatar panddu15 commented on July 28, 2024

@muelletm I was running on CPU and there is no error prior to this.

from tapas.

sbhttchryy avatar sbhttchryy commented on July 28, 2024

Hello @muelletm I too am facing the same error when trying to run the Colab notebook

from tapas.

 avatar commented on July 28, 2024

The WTQ model was released today. Closing feel free to reopen if there is still an issue with the colab.

from tapas.

sophgit avatar sophgit commented on July 28, 2024

I somehow managed to ruin my installed packages . Now I'm trying to do the tapas installation (Ubuntu 20.04) all over again and received the exact same error as described above (except for WTQ instead of SQA).: FileNotFoundError: [Errno 2] No such file or directory: 'results/wtq/model/test_sequence.tsv'
No GPU. It did not create the test_sequence.tsv file. Any idea how to solve this?

from tapas.

 avatar commented on July 28, 2024

That's odd, there should be no test_sequence.tsv for WTQ just test.tsv.

Can you share how you ran this?
And maybe also a stack trace?

from tapas.

sophgit avatar sophgit commented on July 28, 2024

oh, so sorry, yes, the Error was: FileNotFoundError: [Errno 2] No such file or directory: 'results/wtq/model/test.tsv'

installed tapas with pip install ./tapas/ and there were no errors until the prediction, where it didn't find the test.tsv, because it simply didn't create it.
I managed to "solve" the problem by shutting all notebooks and Ubuntu down and then running the same line pip install ./tapas/ again... not sure what caused or solved the problem, but now it works.
Thank you anyhow!!

from tapas.

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.