Download ultralytics/nn/__init__.py from Agri-Tech/Testing-Pipeline-API: direct link, hf CLI and curl.
- Browser
- Download file 644 Bytes
-
https://huggingface.co/spaces/Agri-Tech/Testing-Pipeline-API/resolve/main/ultralytics/nn/__init__.py
- Command line
-
hf download hf://spaces/Agri-Tech/Testing-Pipeline-API/ultralytics/nn/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Agri-Tech/Testing-Pipeline-API/resolve/main/ultralytics/nn/__init__.py
644 Bytes
| # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license | |
| from .tasks import ( | |
| BaseModel, | |
| ClassificationModel, | |
| DetectionModel, | |
| SegmentationModel, | |
| attempt_load_one_weight, | |
| attempt_load_weights, | |
| guess_model_scale, | |
| guess_model_task, | |
| parse_model, | |
| torch_safe_load, | |
| yaml_model_load, | |
| ) | |
| __all__ = ( | |
| "attempt_load_one_weight", | |
| "attempt_load_weights", | |
| "parse_model", | |
| "yaml_model_load", | |
| "guess_model_task", | |
| "guess_model_scale", | |
| "torch_safe_load", | |
| "DetectionModel", | |
| "SegmentationModel", | |
| "ClassificationModel", | |
| "BaseModel", | |
| ) | |