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
The unsupported syntax for New Config, and these syntaxes will not be supported in the future version
The configuration file name must comply with the naming convention of Python modules, which can only contain letters, numbers, and underscores, and cannot start with a number.
When importing variables from the base configuration file, such as from ._base_.alpha import beta, the alpha here must be the module (module) name, i.e., a Python file, rather than the package (package) name containing __init__.py.
Developing
Sytaxes are not supported now but could be supported in the future.
Functions and classes cannot be defined in the configuration file.
Importing multiple variables simultaneously in an absolute import statement, such as import torch, numpy, os, is not supported. Multiple import statements need to be used instead, such as import torch; import numpy; import os.
Cannot put imported module in a list directly like this
Limitations
The unsupported syntax for New Config, and these syntaxes will not be supported in the future version
from ._base_.alpha import beta
, thealpha
here must be the module (module) name, i.e., a Python file, rather than the package (package) name containing__init__.py
.Developing
Sytaxes are not supported now but could be supported in the future.
Functions and classes cannot be defined in the configuration file.
Importing multiple variables simultaneously in an absolute import statement, such as
import torch, numpy, os
, is not supported. Multiple import statements need to be used instead, such asimport torch; import numpy; import os
.Cannot put imported module in a list directly like this
Dump the class object of Pure Python style config to pure text style, and recover the string back to the class object.
Pure python style config
Dumped cfg
Load the dumped cfg
The text was updated successfully, but these errors were encountered: