Instructions to use bestak/uav-navigation-hasp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use bestak/uav-navigation-hasp with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="bestak/uav-navigation-hasp", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
Upload model 1nt3s4ta (group=exp1.3-dqn_2)
Browse files
README.md
CHANGED
|
@@ -94,10 +94,6 @@ model = DQN.load(
|
|
| 94 |
hf_hub_download(REPO_ID, "best_model.zip"),
|
| 95 |
custom_objects={
|
| 96 |
"features_extractor_class": mod.LanduseFeaturesExtractor,
|
| 97 |
-
# schedule lambdas may fail to unpickle across Python versions; supply
|
| 98 |
-
# constant fallbacks (values are irrelevant for inference)
|
| 99 |
-
"lr_schedule": lambda _: 3e-4,
|
| 100 |
-
"clip_range": lambda _: 0.2,
|
| 101 |
},
|
| 102 |
device="cpu",
|
| 103 |
)
|
|
|
|
| 94 |
hf_hub_download(REPO_ID, "best_model.zip"),
|
| 95 |
custom_objects={
|
| 96 |
"features_extractor_class": mod.LanduseFeaturesExtractor,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
},
|
| 98 |
device="cpu",
|
| 99 |
)
|