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

root_package_dir instead of project_dir #1

Open
lyksdu opened this issue May 2, 2020 · 1 comment
Open

root_package_dir instead of project_dir #1

lyksdu opened this issue May 2, 2020 · 1 comment

Comments

@lyksdu
Copy link

lyksdu commented May 2, 2020

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

@lyksdu
Copy link
Author

lyksdu commented May 2, 2020

I got it, data is in the main folder and this is not the installation things.....

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