Skip to content

root_package_dir instead of project_dir #1

@lyksdu

Description

@lyksdu

trained_model = load_from_path(os.path.join(project_dir, 'data/models/dev_10k_1_10_190923.132328'))

here is root_package_dir, rather than project_dir

here is an example on my computer.
current_script_location:
anaconda3\envs\gitrepos2k\lib\site-packages\langmodels\init.py
project_dir:
anaconda3\envs\gitrepos2k\lib\site-packages
root_package_dir:
anaconda3\envs\gitrepos2k\lib\site-packages\langmodels

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions