Skip to content

config_tree.log cuts-out part of the configs due to maximum column width #661

@NaimSS

Description

@NaimSS

The file config_tree.log cuts part of the configs if the width was large. For example, this is a part of the config_tree.log file:

CONFIG
├── data
│   └── _target_: data.doublecls_module.CLSDataModule         
│       data_dir: /storage8T/dataset/pad//                    
│       data_list: /home/naim/mae_facespoofing/preparation/dou
│       batch_size: 384                                       
│       train_val_split:                                      
│       - 0.7                                                 
│       - 0.3                                                 
│       num_workers: 9                                        
│       pin_memory: false

But the data_list argument actually is /home/naim/mae_facespoofing/preparation/double_cls_train.csv. I also notice a similar behavior in other rows, and all cut at the same point so it should be some maximum-width behavior.

Looking at the code print_config_tree is the function that does this, but I don´t know exactly the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions