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

fix: import issues in metric #29

Merged
merged 1 commit into from
Dec 10, 2024
Merged

fix: import issues in metric #29

merged 1 commit into from
Dec 10, 2024

Conversation

FelixAbrahamsson
Copy link
Contributor

from wire damage:

Traceback (most recent call last):
  File "/home/aiwizo/Documents/trafikverket-wire-damage/.venv/.guild/runs/24ec3178dc0e45ebb4aba6166c75c006/.guild/sourcecode/operations/train_production.py", line 281, in <module>
    train(config)
  File "/home/aiwizo/Documents/trafikverket-wire-damage/.venv/.guild/runs/24ec3178dc0e45ebb4aba6166c75c006/.guild/sourcecode/operations/train_production.py", line 94, in train
    evaluate_metrics = {
  File "/home/aiwizo/Documents/trafikverket-wire-damage/.venv/.guild/runs/24ec3178dc0e45ebb4aba6166c75c006/.guild/sourcecode/operations/train_production.py", line 95, in <dictcomp>
    name: metrics.evaluate_metrics() for name in evaluate_data_loaders
  File "/home/aiwizo/Documents/trafikverket-wire-damage/.venv/.guild/runs/24ec3178dc0e45ebb4aba6166c75c006/.guild/sourcecode/wire_damage/metrics.py", line 28, in evaluate_metrics
    lantern.Metric()
  File "/home/aiwizo/Documents/trafikverket-wire-damage/.venv/lib/python3.8/site-packages/lantern/metric.py", line 142, in starmap
    return self.map(star(fn))
TypeError: 'module' object is not callable

@FelixAbrahamsson FelixAbrahamsson merged commit 96add57 into master Dec 10, 2024
3 checks passed
@FelixAbrahamsson FelixAbrahamsson deleted the fix-metric branch December 10, 2024 15:40
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

Successfully merging this pull request may close these issues.

2 participants