Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D DeepPavlov
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DeepPavlov
  • DeepPavlov
  • Issues
  • #844
Closed
Open
Issue created May 15, 2019 by Andrei Glinskii@glinskii.avDeveloper

Setting `DP_MODELS_PATH` and `DP_DOWNLOADS_PATH` variables doesn't really work

Created by: my-master

All configs in DeepPavlov library have their own way of what is written in MODELS_PATH:

  • some configs have just {ROOT_PATH}/models
  • some configs have one more folder, ex. {ROOT_PATH}/models/kbqa_mix_lowercase
  • some configs have a lot of additional folders, ex. {ROOT_PATH}/models/classifiers/insults_kaggle_v3

This makes pointless setting DP_MODELS_PATH environment variable because it will overwrite MODELS_PATH and all paths that have additional folders cannot be found then.

I think it could be fixed by standardizing MODELS_PATH in all configs as {ROOT_PATH}/models, and all additional folders should be in a different variable ( MY_FOLDER = {MODELS_PATH/whatever/folders}).

Assignee
Assign to
Time tracking