Spaces:
Sleeping
Sleeping
Commit ·
a021e24
1
Parent(s): bc55a23
Update main console
Browse files
src/deep_package_detection/main.py
CHANGED
|
@@ -64,7 +64,6 @@ def train(
|
|
| 64 |
)
|
| 65 |
detector.train()
|
| 66 |
_ = detector.validation()
|
| 67 |
-
detector.model_export()
|
| 68 |
|
| 69 |
|
| 70 |
@deep_package_detection_cli.command()
|
|
@@ -85,7 +84,7 @@ def train(
|
|
| 85 |
)
|
| 86 |
def infer(model_path: Path, data_path: str, result_path: str) -> None:
|
| 87 |
"""This the CLI for testing purposes"""
|
| 88 |
-
logger.info("Testing the
|
| 89 |
inferer = PackageDetectorInference(
|
| 90 |
model_path=Path(model_path), result_path=result_path
|
| 91 |
)
|
|
|
|
| 64 |
)
|
| 65 |
detector.train()
|
| 66 |
_ = detector.validation()
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
@deep_package_detection_cli.command()
|
|
|
|
| 84 |
)
|
| 85 |
def infer(model_path: Path, data_path: str, result_path: str) -> None:
|
| 86 |
"""This the CLI for testing purposes"""
|
| 87 |
+
logger.info("Testing the model for package detection...")
|
| 88 |
inferer = PackageDetectorInference(
|
| 89 |
model_path=Path(model_path), result_path=result_path
|
| 90 |
)
|