Skip to content

Commit

Permalink
fix: add dataset name property to pseudo labels (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
tilman151 authored Nov 17, 2023
1 parent c99d1e7 commit 2cf9fd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rul_adapt/approach/pseudo_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ def __init__(
self._inductive = inductive
self._max_rul = max_rul

@property
def dataset_name(self) -> str:
return self._reader.dataset_name

@property
def _patched_split(self) -> str:
return "test" if self._inductive else "dev"
Expand Down

0 comments on commit 2cf9fd0

Please sign in to comment.