Update README.md
This commit is contained in:
parent
09c5595ca9
commit
4a501e6819
|
|
@ -172,14 +172,14 @@ We welcome the community to help expand and improve our framework! This guide ou
|
||||||
cfg.model.num_nodes = 0
|
cfg.model.num_nodes = 0
|
||||||
cfg.model.rnn_units = 64
|
cfg.model.rnn_units = 64
|
||||||
cfg.model.dropout = 0.1
|
cfg.model.dropout = 0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Add Nested Parameters**
|
3. **Add Nested Parameters**
|
||||||
If needed, create nested parameters using `CN()`:
|
If needed, create nested parameters using `CN()`:
|
||||||
```python
|
```python
|
||||||
cfg.model.next = CN()
|
cfg.model.next = CN()
|
||||||
cfg.model.next.default = 1
|
cfg.model.next.default = 1
|
||||||
```
|
```
|
||||||
|
|
||||||
4. **Sync Parameters Across Configs**
|
4. **Sync Parameters Across Configs**
|
||||||
Ensure the parameters in `cfg_model` align with those in other configs (e.g., `cfg_trafficflow`) to avoid compatibility issues across systems (Windows, Linux, etc.).
|
Ensure the parameters in `cfg_model` align with those in other configs (e.g., `cfg_trafficflow`) to avoid compatibility issues across systems (Windows, Linux, etc.).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue