mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-09 16:59:33 +01:00
Fix API after module name change
This commit is contained in:
parent
8727edf466
commit
49ec1916ce
@ -37,7 +37,7 @@ def evaluate_command(
|
||||
run_name: Optional[str] = None,
|
||||
verbose: int = 0,
|
||||
):
|
||||
from batdetect2.api.base import BatDetect2API
|
||||
from batdetect2.api_v2 import BatDetect2API
|
||||
from batdetect2.config import load_full_config
|
||||
from batdetect2.data import load_dataset_from_config
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ def train_command(
|
||||
run_name: Optional[str] = None,
|
||||
verbose: int = 0,
|
||||
):
|
||||
from batdetect2.api.base import BatDetect2API
|
||||
from batdetect2.api_v2 import BatDetect2API
|
||||
from batdetect2.config import (
|
||||
BatDetect2Config,
|
||||
load_full_config,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user