YOLO / config /config.py
henry000's picture
🎨 [Update] pre-commit module, add isort
31cab2b
raw
history blame
312 Bytes
from dataclasses import dataclass
from typing import Dict, List, Union
@dataclass
class Model:
anchor: List[List[int]]
model: Dict[str, List[Dict[str, Union[Dict, List, int]]]]
@dataclass
class Download:
auto: bool
path: str
@dataclass
class Config:
model: Model
download: Download