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

lscd_compare task #34

Open
kuan-yu-lin opened this issue May 17, 2023 · 0 comments
Open

lscd_compare task #34

kuan-yu-lin opened this issue May 17, 2023 · 0 comments
Assignees

Comments

@kuan-yu-lin
Copy link
Contributor

kuan-yu-lin commented May 17, 2023

Here is the command lines:

python main.py \
    dataset=dwug_de_210 \
    dataset/split=dev \
    dataset/spelling_normalization=german \
    dataset/preprocessing=raw \
    evaluation=none \
    task=lscd_compare \
    task/[email protected]=cluster_jsd \
    task/[email protected]=cluster_correlation \
    task/[email protected]=contextual_embedder \
    task/wic/[email protected]_metric=cosine \
    task.model.wsi.wic.ckpt=bert-base-german-cased \
    task.model.wsi.wic.gpu=1

Different task/[email protected] setting ended up in different errors.
task/[email protected]=apd_compare_all raised the error:

/mount/arbeitsdaten20/projekte/cik/users/kuan-yu/LSCDBenchmark/.venv/lib64/python3.10/site-packages/hydra/_internal/callbacks.py:26: UserWarning: Callback ResultCollector.on_run_end raised NotImplementedError: 
    warnings.warn(
    Error executing job with overrides: ['dataset=dwug_de_210', 'dataset/split=dev', 'dataset/spelling_normalization=german', 'dataset/preprocessing=raw', 'evaluation=none', 'task=lscd_compare', 'task/[email protected]=apd_compare_all', 'task/[email protected]=contextual_embedder', 'task/wic/[email protected]_metric=cosine', 'task.model.wic.ckpt=bert-base-german-cased', 'task.model.wic.gpu=1']
    Error locating target 'src.lscd.ApdCompareAll', see chained exception above.
    full_key: task.model

task/[email protected]=cos raised the error:

/mount/arbeitsdaten20/projekte/cik/users/kuan-yu/LSCDBenchmark/.venv/lib64/python3.10/site-packages/hydra/_internal/callbacks.py:26: UserWarning: Callback ResultCollector.on_run_end raised NotImplementedError: 
    warnings.warn(

task/[email protected]=cluster_jsd raised the error:

/mount/arbeitsdaten20/projekte/cik/users/kuan-yu/LSCDBenchmark/.venv/lib64/python3.10/site-packages/hydra/_internal/callbacks.py:26: UserWarning: Callback ResultCollector.on_run_end raised NotImplementedError: 
    warnings.warn(
    Error executing job with overrides: ['dataset=dwug_de_210', 'dataset/split=dev', 'dataset/spelling_normalization=german', 'dataset/preprocessing=raw', 'evaluation=none', 'task=lscd_compare', 'task/[email protected]=cluster_jsd', 'task/[email protected]=cluster_correlation', 'task/[email protected]=contextual_embedder', 'task/wic/[email protected]_metric=cosine', 'task.model.wsi.wic.ckpt=bert-base-german-cased', 'task.model.wsi.wic.gpu=1']
    Error in call to target 'src.lscd.cluster_jsd.ClusterJSD':
    TypeError("Can't instantiate abstract class ClusterJSD with abstract method predict_all")
    full_key: task.model
@sachinn12 sachinn12 self-assigned this Jan 8, 2025
@sachinn12 sachinn12 mentioned this issue Jan 8, 2025
15 tasks
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

2 participants