OlegBaskov / language-learning

OpenCog unsupervised Language Learning project
https://wiki.opencog.org/w/Language_learning
MIT License
0 stars 1 forks source link

Create new `ull-dev` conda environment from scratch with Link Grammar 5.6, Python 3.7, PyTorch... #85

Open OlegBaskov opened 5 years ago

OlegBaskov commented 5 years ago

Link Grammar 5.6 seems much faster than 5.5.1. However, grammar tests consistency needs check. Tests of 2018-03-(25-26) should be repeated with LG 5.6. and compared.

OlegBaskov commented 5 years ago

Failed to create new environment from scratch step-by-step. After creating minimum environment with Python 3.7, sparsesvd, cython, numpy... and installing link-grammar-minisat-bundled:

  1. Can't import sparsesvd
  2. pip install . fails:
    (ull-dev) obaskov@zd:~/py/ULL$ pip install .
    Processing /home/obaskov/py/ULL
    Could not install packages due to an EnvironmentError: [('/home/obaskov/py/ULL/archive/output_2018/ALE_CDS_LG-English-clean_2018-10-26_/CDS-caps-br-text_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules', '/tmp/pip-req-build-syi6v920/archive/output_2018/ALE_CDS_LG-English-clean_2018-10-26_/CDS-caps-br-text_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules', "[Errno 36] File name too long: '/tmp/pip-req-build-syi6v920/archive/output_2018/ALE_CDS_LG-English-clean_2018-10-26_/CDS-caps-br-text_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules/CDS-caps-br-text+brent9mos_LG-English_dALEd_no-LW_no-RW_gen-rules'")]
OlegBaskov commented 5 years ago

New environment ull-560 created on server 94:

$ conda create -n ull-560 --clone ull
$ source activate ull-560
$ conda uninstall link-grammar-minisat-bundled
$ conda update -n base -c defaults conda
$ conda install link-grammar-minisat-bundled -c opencog-ull
obaskov@Ubuntu-1604-xenial-64-minimal:~/94/ULL$ pip uninstall opencog-ull
obaskov@Ubuntu-1604-xenial-64-minimal:~/94/ULL$ pip install .
obaskov@Ubuntu-1604-xenial-64-minimal:~/94/ULL$ pip install --upgrade pip
OlegBaskov commented 5 years ago

Snooze tests with Link Grammar 5.6.0, use 5.5.1...