Skip to content

Adding WordNet, CLIP annotator, advanced configuration, Docker image, improved README #101

Adding WordNet, CLIP annotator, advanced configuration, Docker image, improved README

Adding WordNet, CLIP annotator, advanced configuration, Docker image, improved README #101

GitHub Actions / Test Results failed Apr 4, 2024 in 0s

2 errors in 25s

 6 files  6 suites   25s ⏱️
 2 tests 0 ✅ 0 💤 0 ❌  2 🔥
12 runs  0 ✅ 0 💤 0 ❌ 12 🔥

Results for commit ba59e31.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.unittests.test_annotators

artifacts/Test Results [macOS-latest] (Python 3.10)/pytest.xml [took 0s]
artifacts/Test Results [macOS-latest] (Python 3.11)/pytest.xml [took 0s]
artifacts/Test Results [ubuntu-latest] (Python 3.10)/pytest.xml [took 0s]
artifacts/Test Results [ubuntu-latest] (Python 3.11)/pytest.xml [took 0s]
artifacts/Test Results [windows-latest] (Python 3.10)/pytest.xml [took 0s]
artifacts/Test Results [windows-latest] (Python 3.11)/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/_pytest/python.py:520: in importtestmodule
    mod = import_path(
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/_pytest/pathlib.py:584: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/unittests/test_annotators.py:10: in <module>
    from datadreamer.dataset_annotation.clip_annotator import CLIPAnnotator
datadreamer/dataset_annotation/__init__.py:5: in <module>
    from .owlv2_annotator import OWLv2Annotator
E     File "/home/runner/work/datadreamer/datadreamer/datadreamer/dataset_annotation/owlv2_annotator.py", line 77
E       "google/owlv2-base-patch16-ensemble", do_pad=False, do_resize=False
E                                                                     
E   SyntaxError: invalid syntax. Perhaps you forgot a comma?

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.unittests.test_prompt_generation

artifacts/Test Results [macOS-latest] (Python 3.10)/pytest.xml [took 0s]
artifacts/Test Results [macOS-latest] (Python 3.11)/pytest.xml [took 0s]
artifacts/Test Results [ubuntu-latest] (Python 3.10)/pytest.xml [took 0s]
artifacts/Test Results [ubuntu-latest] (Python 3.11)/pytest.xml [took 0s]
artifacts/Test Results [windows-latest] (Python 3.10)/pytest.xml [took 0s]
artifacts/Test Results [windows-latest] (Python 3.11)/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/_pytest/python.py:520: in importtestmodule
    mod = import_path(
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/_pytest/pathlib.py:584: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/unittests/test_prompt_generation.py:7: in <module>
    from datadreamer.prompt_generation.lm_prompt_generator import LMPromptGenerator
datadreamer/prompt_generation/__init__.py:6: in <module>
    from .tinyllama_lm_prompt_generator import TinyLlamaLMPromptGenerator
E     File "/home/runner/work/datadreamer/datadreamer/datadreamer/prompt_generation/tinyllama_lm_prompt_generator.py", line 70
E       """Initializes the language model, tokenizer and pipeline for prompt generation.
E          ^^^^^^^^^^^
E   SyntaxError: invalid syntax