Skip to content

Commit

Permalink
Enable test for graph stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoOinonen committed Nov 24, 2023
1 parent cce2956 commit ccdd441
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import shutil
import torch
import pytest
import numpy as np
Expand Down Expand Up @@ -434,7 +435,9 @@ def test_GraphSeqStats():
seq_stats = GraphStats(classes=classes, bin_size=1)
seq_stats.add_batch(pred, ref)

# seq_stats.plot('./seq_stats')
# seq_stats.report('./seq_stats')
outdir = './test_stats'
seq_stats.plot(outdir)
seq_stats.report(outdir)
shutil.rmtree(outdir)

# fmt:on

0 comments on commit ccdd441

Please sign in to comment.