Antonio Serrano Muñoz commited on
Commit
b73be70
1 Parent(s): 3a26b16

Update README

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -38,23 +38,23 @@ Note: Visit the skrl [Examples](https://skrl.readthedocs.io/en/latest/intro/exam
38
 
39
  * PyTorch
40
 
41
- ```python
42
- from skrl.utils.huggingface import download_model_from_huggingface
43
 
44
- # assuming that there is an agent named `agent`
45
- path = download_model_from_huggingface("skrl/IsaacGymEnvs-Cartpole-PPO", filename="agent.pt")
46
- agent.load(path)
47
- ```
48
 
49
  * JAX
50
 
51
- ```python
52
- from skrl.utils.huggingface import download_model_from_huggingface
53
 
54
- # assuming that there is an agent named `agent`
55
- path = download_model_from_huggingface("skrl/IsaacGymEnvs-Cartpole-PPO", filename="agent.pickle")
56
- agent.load(path)
57
- ```
58
 
59
  # Hyperparameters
60
 
 
38
 
39
  * PyTorch
40
 
41
+ ```python
42
+ from skrl.utils.huggingface import download_model_from_huggingface
43
 
44
+ # assuming that there is an agent named `agent`
45
+ path = download_model_from_huggingface("skrl/IsaacGymEnvs-Cartpole-PPO", filename="agent.pt")
46
+ agent.load(path)
47
+ ```
48
 
49
  * JAX
50
 
51
+ ```python
52
+ from skrl.utils.huggingface import download_model_from_huggingface
53
 
54
+ # assuming that there is an agent named `agent`
55
+ path = download_model_from_huggingface("skrl/IsaacGymEnvs-Cartpole-PPO", filename="agent.pickle")
56
+ agent.load(path)
57
+ ```
58
 
59
  # Hyperparameters
60