Shortcuts

configs

TrojanVision config path:

config_path: dict[str, str] = {
    'package': os.path.dirname(__file__),   # trojanvision/configs/*/*.yml
    'user': os.path.normpath(os.path.expanduser('~/.trojanzoo/configs/trojanvision')),
    'project': os.path.normpath('./configs/trojanvision'),
}

Config class is defined in trojanzoo.configs.Config.

Warning

There is already a preset config instance trojanvision.configs.config.

NEVER call the class init method to create a new instance (unless you know what you’re doing).

Docs

Access comprehensive developer documentation for TrojanZoo

View Docs