You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the !include tag first resolves references in the included document (turning objects into anchors like *id001) the names of which collide with any references in the original document.
The issue @weiwei-ww has brought up is actually a separate issue. In this case, what is desired is the dereference to happen before the include. In fact, the !include was designed to take place before the dereference so that items in the included file can also be referenced.
The issue @weiwei-ww has brought up is actually a separate issue. In this case, what is desired is the dereference to happen before the include. In fact, the !include was designed to take place before the dereference so that items in the included file can also be referenced.
Yes, that is exactly what I was proposing. I wish to have a single code entrance (e.g. train.py), with model names (e.g. CTC) given by command line arguments. Then the corresponding yaml file for that model (e.g. models/CTC/hparams/train.yaml) will be loaded automatically.
Activity
weiwei-ww commentedon Nov 9, 2021
Same here. I wish to !include a yaml file based on the dataset name but it is not working.
mravanelli commentedon Nov 9, 2021
@pplantinga, is there a fix for that?
pplantinga commentedon Nov 9, 2021
The issue @weiwei-ww has brought up is actually a separate issue. In this case, what is desired is the dereference to happen before the include. In fact, the
!includewas designed to take place before the dereference so that items in the included file can also be referenced.weiwei-ww commentedon Nov 9, 2021
Yes, that is exactly what I was proposing. I wish to have a single code entrance (e.g. train.py), with model names (e.g. CTC) given by command line arguments. Then the corresponding yaml file for that model (e.g. models/CTC/hparams/train.yaml) will be loaded automatically.