mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-10 17:19:34 +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,
|
run_name: Optional[str] = None,
|
||||||
verbose: int = 0,
|
verbose: int = 0,
|
||||||
):
|
):
|
||||||
from batdetect2.api.base import BatDetect2API
|
from batdetect2.api_v2 import BatDetect2API
|
||||||
from batdetect2.config import load_full_config
|
from batdetect2.config import load_full_config
|
||||||
from batdetect2.data import load_dataset_from_config
|
from batdetect2.data import load_dataset_from_config
|
||||||
|
|
||||||
|
|||||||
@ -46,7 +46,7 @@ def train_command(
|
|||||||
run_name: Optional[str] = None,
|
run_name: Optional[str] = None,
|
||||||
verbose: int = 0,
|
verbose: int = 0,
|
||||||
):
|
):
|
||||||
from batdetect2.api.base import BatDetect2API
|
from batdetect2.api_v2 import BatDetect2API
|
||||||
from batdetect2.config import (
|
from batdetect2.config import (
|
||||||
BatDetect2Config,
|
BatDetect2Config,
|
||||||
load_full_config,
|
load_full_config,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user