From 9559c7627841ee9498e6f47d0491fbcdded947cc Mon Sep 17 00:00:00 2001 From: hy395 Date: Fri, 18 Oct 2024 11:25:30 -0700 Subject: [PATCH] move transfer.py out of helper --- src/baskerville/scripts/hound_eval_spec.py | 2 +- src/baskerville/scripts/hound_transfer.py | 2 +- src/baskerville/seqnn.py | 2 +- src/baskerville/{helpers => }/transfer.py | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/baskerville/{helpers => }/transfer.py (100%) diff --git a/src/baskerville/scripts/hound_eval_spec.py b/src/baskerville/scripts/hound_eval_spec.py index 4212a42..1956387 100755 --- a/src/baskerville/scripts/hound_eval_spec.py +++ b/src/baskerville/scripts/hound_eval_spec.py @@ -43,7 +43,7 @@ def main(): parser.add_option( "-c", dest="class_min", - default=80, + default=10, type="int", help="Minimum target class size to consider [Default: %default]", ) diff --git a/src/baskerville/scripts/hound_transfer.py b/src/baskerville/scripts/hound_transfer.py index c4d3a85..88ca008 100755 --- a/src/baskerville/scripts/hound_transfer.py +++ b/src/baskerville/scripts/hound_transfer.py @@ -29,7 +29,7 @@ from baskerville import seqnn from baskerville import trainer from baskerville import layers -from baskerville.helpers import transfer +from baskerville import transfer """ hound_transfer.py diff --git a/src/baskerville/seqnn.py b/src/baskerville/seqnn.py index 35cbea2..8887f50 100644 --- a/src/baskerville/seqnn.py +++ b/src/baskerville/seqnn.py @@ -25,7 +25,7 @@ from baskerville import dataset from baskerville import layers from baskerville import metrics -from baskerville.helpers import transfer +from baskerville import transfer class SeqNN: diff --git a/src/baskerville/helpers/transfer.py b/src/baskerville/transfer.py similarity index 100% rename from src/baskerville/helpers/transfer.py rename to src/baskerville/transfer.py