Git Product home page Git Product logo

Comments (5)

adarob avatar adarob commented on June 25, 2024

can you try changing the flags to:

--gin_param="decode_from_file.input_filename='$DATA_DIR/testdata_pred.tsv'"
--gin_param="decode_from_file.output_filename='$DATA_DIR/testdata_outputs.txt'" 

from text-to-text-transfer-transformer.

Enumaris avatar Enumaris commented on June 25, 2024

It worked and produced an output. But at the end after the outputs were produced the script stalled at:

INFO:tensorflow:Waiting for new checkpoint at $MODEL_DIR

I can use it to produce what I want, but it's kinda odd that the script just stalls since I just told it to predict on that one checkpoint.

Also, FYI, the readme has another error in the instructions for invoking the decoder:
--gin_param == "utils.run.mode='infer'"

Should be changed to:
--gin_param="utils.run.mode='infer'"

This was a relatively easy error to find and fix though.

from text-to-text-transfer-transformer.

adarob avatar adarob commented on June 25, 2024

Thanks, I'll fix the README.

It actually should exit after outputting since you specified a checkpoint number. Can you paste the final command you used?

from text-to-text-transfer-transformer.

adarob avatar adarob commented on June 25, 2024

Can you try

--gin_param="utils.run.eval_checkpoint_step = 1005000"

and see if that fixes the stall?

from text-to-text-transfer-transformer.

Enumaris avatar Enumaris commented on June 25, 2024

Can you try

--gin_param="utils.run.eval_checkpoint_step = 1005000"

and see if that fixes the stall?

Yes, that worked, thanks! Looks like the argparse didn't put the arguments into the right places and it went with a default option?

from text-to-text-transfer-transformer.

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.