Skip to content

AttributeError: 'Namespace' object has no attribute 'schedule' #8

Description

@yzl140

when I run train.sh ,there is a problem,can you tell me how to solve it
Traceback (most recent call last):
File "apps/train_dmc.py", line 162, in
train(opt)
File "apps/train_dmc.py", line 153, in train
lr = adjust_learning_rate(optimizerG, epoch, lr, opt.schedule, opt.gamma)
AttributeError: 'Namespace' object has no attribute 'schedule'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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