Spaces:
Runtime error
Runtime error
| from dataclasses import dataclass | |
| from pathlib import Path | |
| class DataConfig: | |
| root_dir: Path | |
| class TrainingConfig: | |
| trained_model_path: Path | |
| training_data: Path | |
| params_epochs: int | |
| params_n_classes: int | |
| params_n_freeze_epochs: int | |
| params_patience: int | |
| params_model_name: str |