Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model cannot be downloaded #127

Open
egumasa opened this issue Jun 6, 2021 · 0 comments
Open

Model cannot be downloaded #127

egumasa opened this issue Jun 6, 2021 · 0 comments

Comments

@egumasa
Copy link

egumasa commented Jun 6, 2021

Hi I am trying to use the downloaded version because I am interested in Semantic Role labeling.

I use MacOs (BigSur) M1 chip.
I have installed maven through brew, and I have Cython and the package.

The model install command appears working, but there seems to be something going on when it is actually downloading the models.
(base) masakieguchi@eguchiseitakas-Mac-mini ~ % python -m ccg_nlpy download
INFO:ccg_nlpy.download:Starting download
INFO:ccg_nlpy.download:/Users/masakieguchi/.ccg_nlpy/pom.xml
INFO:ccg_nlpy.download:Creating pom file
INFO:ccg_nlpy.download:Root Directory = /Users/masakieguchi/.ccg_nlpy/
INFO:ccg_nlpy.download:Model Directory = /Users/masakieguchi/.ccg_nlpy/model_4.0.12
INFO:ccg_nlpy.download:b'[INFO] Scanning for projects...\n[INFO] \n[INFO] -------------< org.cogcomp:ccg_nlpy-pipeline-dependencies >-------------\n[INFO] Building ccg_nlpy-pipeline-dependencies 1.0-SNAPSHOT\n[INFO] --------------------------------[ jar ]---------------------------------\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD FAILURE\n[INFO] ------------------------------------------------------------------------\n[INFO] Total time: 0.427 s\n[INFO] Finished at: 2021-06-06T00:31:36-07:00\n[INFO] ------------------------------------------------------------------------\n[ERROR] Failed to execute goal on project ccg_nlpy-pipeline-dependencies: Could not resolve dependencies for project org.cogcomp:ccg_nlpy-pipeline-dependencies:jar:1.0-SNAPSHOT: Failed to collect dependencies at edu.illinois.cs.cogcomp:illinois-nlp-pipeline:jar:4.0.12: Failed to read artifact descriptor for edu.illinois.cs.cogcomp:illinois-nlp-pipeline:jar:4.0.12: Could not transfer artifact edu.illinois.cs.cogcomp:illinois-nlp-pipeline:pom:4.0.12 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [CogcompSoftware (http://cogcomp.org/m2repo/, default, releases+snapshots)] -> [Help 1]\n[ERROR] \n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\n[ERROR] \n[ERROR] For more information about the errors and possible solutions, please read the following articles:\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException\n'

The results were now I have .ccg_nlpy and the .cfg file, pom.xml and model_4.0.12, but the last folder does not have any models.

Here is the Apache Maven
Apache Maven 3.8.1
Maven home: /usr/local/Cellar/maven/3.8.1/libexec
Java version: 16.0.1, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk/16.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.3.1", arch: "x86_64", family: "mac"

Thank you for your help in advance!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant