Comments (9)
To my complete confusion, this is the last version that still works:
- allenai/allennlp@11f4307
and this is the first version that doesn't: - allenai/allennlp@26e313b
The only difference is the bump in version from rc3 to rc4.
from allentune.
I changed the testing procedure (I installing from local git repot now) and found out, that the 26e313b version still, works, but the next version doesn't:
allenai/allennlp@4a6023b
I will investigate the differences between these version.
from allentune.
Well, reverting that commit (4a6023b) makes the more recent version (592c65341891ccadec31a624c4e6f062e8455723 from 13th may) of allennlp work properly with allentune. It seems that the problem lays in that commit. Still, I have no idea why changing the logging infrastructure causes the error.
from allentune.
What latest version of allennlp is compatible with allentune? I'm talking about official releases of allennlp, i.e. not a source installation.
from allentune.
@ofersabo I haven't tried it but I suppose it should work with either v0.8.5 or v0.9.0 since these are the commits closest to the commit mentioned in the documentation.
from allentune.
@apohllo on my end the installation isn't functional even in 0.9.0 and. 0.8.5 versions.
I get these error messages:
============================= test session starts ==============================
platform linux -- Python 3.6.10, pytest-5.4.3, py-1.9.0, pluggy-0.13.1 -- /home/nlp//anaconda3/envs/tune/bin/python
cachedir: .pytest_cache
rootdir: /home/nlp//translation/mt_ex_2/allentune, inifile: pytest.ini
plugins: flaky-3.6.1, cov-2.10.0
collected 4 items / 1 error / 3 selected
==================================== ERRORS ====================================
__________________ ERROR collecting tests/test_example_run.py __________________
ImportError while importing test module '/home/nlp//translation/mt_ex_2/allentune/tests/test_example_run.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_example_run.py:1: in
from allentune.modules import AllenNlpRunner, RayExecutor
allentune/modules/init.py:1: in
from allentune.modules.allennlp_runner import AllenNlpRunner
allentune/modules/allennlp_runner.py:14: in
from allennlp.common.util import import_module_and_submodules
E ImportError: cannot import name 'import_module_and_submodules'
=============================== warnings summary ===============================
/home/nlp//anaconda3/envs/tune/lib/python3.6/site-packages/plac_ext.py:6
/home/nlp/____/anaconda3/envs/tune/lib/python3.6/site-packages/plac_ext.py:6: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================== short test summary info ============================
ERROR tests/test_example_run.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 5.73s ==========================
When I'm trying to run a test directly I get this error:
from allennlp.common.util import import_module_and_submodules
ImportError: cannot import name 'import_module_and_submodules'
these errors are in allennlp==0.9.0
from allentune.
I encountered the same error. As far as I remember, commenting out the line with the import fixed it.
from allentune.
OK thanks, so I have to install from source...
from allentune.
Hi all, sorry about the delay on this. This should be fixed by #12. Feel free to re-open if you're still having issues -- make sure you use allennlp 1.0.
from allentune.
Related Issues (12)
- Merge multiple experiments together + plot their results HOT 1
- High cpu usage can slow down experiments
- Tests fail with versions of AllenNLP v0.9.1 onward HOT 1
- AllenNLP updated version HOT 1
- Invalid path in test fixture HOT 1
- Documentation on RayExecutor? HOT 1
- how to use allennlp 1.1.0 with allentune HOT 1
- Ask before trying: Does it support Allennlp 1.2.0rc1? HOT 1
- Issues running allentune on allennlp > 1.0.0
- Expecting stdout.log rather than out.log
- Please update allentune to work with the most up to date dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allentune.