Skip to content

AttributeError: 'Namespace' object has no attribute 'train_datasets' #92

@ForawardStar

Description

@ForawardStar

When I launched the 2nd stage training using :

horovodrun -np 4 python pretrain_vcr.py --config config/pretrain-vcr-base-4gpu.json \
    --output_dir $PRETRAIN_VCR_EXP

An error occured, which is:

Traceback (most recent call last):

File "pretrain_vcr.py", line 560, in <module>

main(args)

File "pretrain_vcr.py", line 205, in main

all_dbs = [db for datasets in [opts.train_datasets, opts.val_datasets]

AttributeError: 'Namespace' object has no attribute 'train_datasets'

How to fix this problem? Thanks.

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