Upload folder using huggingface_hub
Browse files
miner.py
CHANGED
|
@@ -25,7 +25,7 @@ class TVFrameResult(BaseModel):
|
|
| 25 |
|
| 26 |
class Miner:
|
| 27 |
def __init__(self, path_hf_repo: Path) -> None:
|
| 28 |
-
model_path = path_hf_repo / "
|
| 29 |
self.class_names = ['person']
|
| 30 |
print("ORT version:", ort.__version__)
|
| 31 |
|
|
|
|
| 25 |
|
| 26 |
class Miner:
|
| 27 |
def __init__(self, path_hf_repo: Path) -> None:
|
| 28 |
+
model_path = path_hf_repo / "weights.onnx"
|
| 29 |
self.class_names = ['person']
|
| 30 |
print("ORT version:", ort.__version__)
|
| 31 |
|