Giter VIP home page Giter VIP logo

Comments (8)

emanjavacas avatar emanjavacas commented on August 27, 2024

what is the script you are using to run this?

from pandora.

Jean-Baptiste-Camps avatar Jean-Baptiste-Camps commented on August 27, 2024

I am using this:

python3 main.py config_chrestien3_keras.txt --train data/chrestien3/train --dev data/chrestien3/dev --test data/chrestien3/test

with the current master version.

from pandora.

Jean-Baptiste-Camps avatar Jean-Baptiste-Camps commented on August 27, 2024

Great, it seems to work now.

from pandora.

emanjavacas avatar emanjavacas commented on August 27, 2024

It looks like the only place where predict(..., batch_size) is being used is here https://github.com/hipster-philology/pandora/blob/master/pandora/tagger.py#L369 and then the value passed is just the default from the tagger class. Therefore, the current use. We might have a use for applying different bacth size during prediction (since then the batch size there doesn't have an influence in performance and it can be as large as the system can afford), so I am leaving the fix as it is.

from pandora.

emanjavacas avatar emanjavacas commented on August 27, 2024

In a side note, what are the reasons for having main.py, unseen.py and train.py as different scripts? The first two are actually the same, as far as I can see.

from pandora.

mikekestemont avatar mikekestemont commented on August 27, 2024

from pandora.

PonteIneptique avatar PonteIneptique commented on August 27, 2024

train.py should be replaced by the content of main.py though

from pandora.

emanjavacas avatar emanjavacas commented on August 27, 2024

I reopened this as a separate issue #52, llet's move the discussion over there!

from pandora.

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.