Giter Club home page Giter Club logo

usdp's People

Contributors

isvy08 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

s-zx

usdp's Issues

Fail to run run_generation.py

@isVy08
Hello, I want to reproduce USDP-Base on English data, so I runpython run_generation.py evaluation/config_en_base.json,
but I got two problems.

  1. name 'Namespace' is not defined

Traceback (most recent call last):
File "run_generation.py", line 48, in
config = get_params()
File "run_generation.py", line 13, in get_params
n = Namespace()
NameError: name 'Namespace' is not defined

After I change the line 13 to n = argparse.Namespace(), there was no error anymore, but I got another problem. I am not sure if the another error is caused by my change to the line 13. I don't actually know how to fix this problem, so if someone knows please tell me.

  1. _pickle.PickleError: Incompatible checksums (0x417ddeb vs (0x61fbab5, 0x27e6ee8, 0xbe56bc9) = (cfg, model, name, scorer, vocab))

Traceback (most recent call last):
File "run_generation.py", line 48, in
config = get_params()
File "run_generation.py", line 13, in get_params
n = Namespace()
NameError: name 'Namespace' is not defined

I think this error may be caused by package version differences(probably with spacy), because I find https://github.com/automl/auto-sklearn/issues/640 also have the similar problem and the problem was solved by changing the pakage version.
I have tried to change my spacy version but it doesn't work, so can you please give me the specific package version running
run_generation.py?That would be of great help.

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.